Skip to content

Commit 7fb94bd

Browse files
sebastianbasierskiJeff Kirsher
authored andcommitted
ixgbevf: VF2VF TCP RSS
While VF2VF with RSS communication, RSS Type were wrongly recognized and RSS hash was not calculated as it should be. Packets was distributed on various queues by accident. This commit fixes that behaviour and causes proper RSS Type recognition. Signed-off-by: Sebastian Basierski <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 59dd45d commit 7fb94bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3849,6 +3849,10 @@ static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring,
38493849
skb_checksum_help(skb);
38503850
goto no_csum;
38513851
}
3852+
3853+
if (first->protocol == htons(ETH_P_IP))
3854+
type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4;
3855+
38523856
/* update TX checksum flag */
38533857
first->tx_flags |= IXGBE_TX_FLAGS_CSUM;
38543858
vlan_macip_lens = skb_checksum_start_offset(skb) -

0 commit comments

Comments
 (0)