Skip to content

Commit 2137aec

Browse files
Shannon NelsonJeff Kirsher
authored andcommitted
ixgbe: no need for ipsec csum feature check
With the patch commit f8aa2696b4af ("esp: check the NETIF_F_HW_ESP_TX_CSUM bit before segmenting") we no longer need to protect ourself from checksum offload requests on IPsec packets, so we can remove the check in our .ndo_features_check callback. Signed-off-by: Shannon Nelson <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 9bf1e20 commit 2137aec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9917,12 +9917,6 @@ ixgbe_features_check(struct sk_buff *skb, struct net_device *dev,
99179917
if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID))
99189918
features &= ~NETIF_F_TSO;
99199919

9920-
#ifdef CONFIG_XFRM_OFFLOAD
9921-
/* IPsec offload doesn't get along well with others *yet* */
9922-
if (skb->sp)
9923-
features &= ~(NETIF_F_TSO | NETIF_F_HW_CSUM);
9924-
#endif
9925-
99269920
return features;
99279921
}
99289922

0 commit comments

Comments
 (0)