|
@@ -2240,20 +2240,25 @@ int i40evf_process_config(struct i40evf_adapter *adapter)
|
|
|
NETIF_F_TSO_ECN |
|
|
|
NETIF_F_TSO6 |
|
|
|
NETIF_F_GSO_GRE |
|
|
|
+ NETIF_F_GSO_GRE_CSUM |
|
|
|
NETIF_F_GSO_IPIP |
|
|
|
NETIF_F_GSO_SIT |
|
|
|
NETIF_F_GSO_UDP_TUNNEL |
|
|
|
NETIF_F_GSO_UDP_TUNNEL_CSUM |
|
|
|
+ NETIF_F_GSO_PARTIAL |
|
|
|
NETIF_F_SCTP_CRC |
|
|
|
NETIF_F_RXHASH |
|
|
|
NETIF_F_RXCSUM |
|
|
|
0;
|
|
|
|
|
|
if (!(adapter->flags & I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE))
|
|
|
- netdev->hw_enc_features ^= NETIF_F_GSO_UDP_TUNNEL_CSUM;
|
|
|
+ netdev->gso_partial_features |= NETIF_F_GSO_UDP_TUNNEL_CSUM;
|
|
|
+
|
|
|
+ netdev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM;
|
|
|
|
|
|
/* record features VLANs can make use of */
|
|
|
- netdev->vlan_features |= netdev->hw_enc_features;
|
|
|
+ netdev->vlan_features |= netdev->hw_enc_features |
|
|
|
+ NETIF_F_TSO_MANGLEID;
|
|
|
|
|
|
/* Write features and hw_features separately to avoid polluting
|
|
|
* with, or dropping, features that are set when we registgered.
|
|
@@ -2261,6 +2266,7 @@ int i40evf_process_config(struct i40evf_adapter *adapter)
|
|
|
netdev->hw_features |= netdev->hw_enc_features;
|
|
|
|
|
|
netdev->features |= netdev->hw_enc_features | I40EVF_VLAN_FEATURES;
|
|
|
+ netdev->hw_enc_features |= NETIF_F_TSO_MANGLEID;
|
|
|
|
|
|
/* disable VLAN features if not supported */
|
|
|
if (!(vfres->vf_offload_flags & I40E_VIRTCHNL_VF_OFFLOAD_VLAN))
|