/[packages]/cauldron/kernel/current/PATCHES/patches/0078-ixgbevf-VF2VF-TCP-RSS.patch
ViewVC logotype

Contents of /cauldron/kernel/current/PATCHES/patches/0078-ixgbevf-VF2VF-TCP-RSS.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1329221 - (show annotations) (download)
Fri Nov 9 22:05:45 2018 UTC (5 years, 10 months ago) by tmb
File size: 1471 byte(s)
add fixes from sashas autosel queue
1 From 9fbb4e5bde385650fbcf0a2c268f5aa800b07955 Mon Sep 17 00:00:00 2001
2 From: Sebastian Basierski <sebastianx.basierski@intel.com>
3 Date: Thu, 9 Aug 2018 11:45:40 +0200
4 Subject: [PATCH 078/145] ixgbevf: VF2VF TCP RSS
5
6 [ Upstream commit 7fb94bd58dd6650a0158e68d414e185077d8b57a ]
7
8 While VF2VF with RSS communication, RSS Type were wrongly recognized
9 and RSS hash was not calculated as it should be. Packets was
10 distributed on various queues by accident.
11 This commit fixes that behaviour and causes proper RSS Type recognition.
12
13 Signed-off-by: Sebastian Basierski <sebastianx.basierski@intel.com>
14 Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
15 Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
16 Signed-off-by: Sasha Levin <sashal@kernel.org>
17 ---
18 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 ++++
19 1 file changed, 4 insertions(+)
20
21 diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
22 index 5a228582423b..4093a9c52c18 100644
23 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
24 +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
25 @@ -3849,6 +3849,10 @@ static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring,
26 skb_checksum_help(skb);
27 goto no_csum;
28 }
29 +
30 + if (first->protocol == htons(ETH_P_IP))
31 + type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4;
32 +
33 /* update TX checksum flag */
34 first->tx_flags |= IXGBE_TX_FLAGS_CSUM;
35 vlan_macip_lens = skb_checksum_start_offset(skb) -
36 --
37 2.19.1
38

  ViewVC Help
Powered by ViewVC 1.1.30