aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 861b722c2672..59eada31e211 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -4271,6 +4271,14 @@ static int i40e_open(struct net_device *netdev)
4271 if (err) 4271 if (err)
4272 return err; 4272 return err;
4273 4273
4274 /* configure global TSO hardware offload settings */
4275 wr32(&pf->hw, I40E_GLLAN_TSOMSK_F, be32_to_cpu(TCP_FLAG_PSH |
4276 TCP_FLAG_FIN) >> 16);
4277 wr32(&pf->hw, I40E_GLLAN_TSOMSK_M, be32_to_cpu(TCP_FLAG_PSH |
4278 TCP_FLAG_FIN |
4279 TCP_FLAG_CWR) >> 16);
4280 wr32(&pf->hw, I40E_GLLAN_TSOMSK_L, be32_to_cpu(TCP_FLAG_CWR) >> 16);
4281
4274#ifdef CONFIG_I40E_VXLAN 4282#ifdef CONFIG_I40E_VXLAN
4275 vxlan_get_rx_port(netdev); 4283 vxlan_get_rx_port(netdev);
4276#endif 4284#endif
@@ -6712,6 +6720,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)
6712 NETIF_F_HW_VLAN_CTAG_FILTER | 6720 NETIF_F_HW_VLAN_CTAG_FILTER |
6713 NETIF_F_IPV6_CSUM | 6721 NETIF_F_IPV6_CSUM |
6714 NETIF_F_TSO | 6722 NETIF_F_TSO |
6723 NETIF_F_TSO_ECN |
6715 NETIF_F_TSO6 | 6724 NETIF_F_TSO6 |
6716 NETIF_F_RXCSUM | 6725 NETIF_F_RXCSUM |
6717 NETIF_F_NTUPLE | 6726 NETIF_F_NTUPLE |