diff options
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index bc71a21c1dc2..21c2688d6308 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c | |||
@@ -12249,6 +12249,8 @@ static int i40e_config_netdev(struct i40e_vsi *vsi) | |||
12249 | NETIF_F_GSO_GRE | | 12249 | NETIF_F_GSO_GRE | |
12250 | NETIF_F_GSO_GRE_CSUM | | 12250 | NETIF_F_GSO_GRE_CSUM | |
12251 | NETIF_F_GSO_PARTIAL | | 12251 | NETIF_F_GSO_PARTIAL | |
12252 | NETIF_F_GSO_IPXIP4 | | ||
12253 | NETIF_F_GSO_IPXIP6 | | ||
12252 | NETIF_F_GSO_UDP_TUNNEL | | 12254 | NETIF_F_GSO_UDP_TUNNEL | |
12253 | NETIF_F_GSO_UDP_TUNNEL_CSUM | | 12255 | NETIF_F_GSO_UDP_TUNNEL_CSUM | |
12254 | NETIF_F_SCTP_CRC | | 12256 | NETIF_F_SCTP_CRC | |
@@ -12266,13 +12268,13 @@ static int i40e_config_netdev(struct i40e_vsi *vsi) | |||
12266 | /* record features VLANs can make use of */ | 12268 | /* record features VLANs can make use of */ |
12267 | netdev->vlan_features |= hw_enc_features | NETIF_F_TSO_MANGLEID; | 12269 | netdev->vlan_features |= hw_enc_features | NETIF_F_TSO_MANGLEID; |
12268 | 12270 | ||
12269 | if (!(pf->flags & I40E_FLAG_MFP_ENABLED)) | ||
12270 | netdev->hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; | ||
12271 | |||
12272 | hw_features = hw_enc_features | | 12271 | hw_features = hw_enc_features | |
12273 | NETIF_F_HW_VLAN_CTAG_TX | | 12272 | NETIF_F_HW_VLAN_CTAG_TX | |
12274 | NETIF_F_HW_VLAN_CTAG_RX; | 12273 | NETIF_F_HW_VLAN_CTAG_RX; |
12275 | 12274 | ||
12275 | if (!(pf->flags & I40E_FLAG_MFP_ENABLED)) | ||
12276 | hw_features |= NETIF_F_NTUPLE | NETIF_F_HW_TC; | ||
12277 | |||
12276 | netdev->hw_features |= hw_features; | 12278 | netdev->hw_features |= hw_features; |
12277 | 12279 | ||
12278 | netdev->features |= hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; | 12280 | netdev->features |= hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; |