diff options
author | Achiad Shochat | 2015-11-03 07:07:23 +0100 |
---|---|---|
committer | David S. Miller | 2015-11-03 16:41:51 +0100 |
commit | e4cf27bd9ce64d048df52a21cf162ce8b1a99362 (patch) | |
tree | e7b5ca95b2a468c9eff772058f284067f65cfdd7 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5e: Return error in case mlx5e_set_features() fails (diff) | |
download | kernel-qcow2-linux-e4cf27bd9ce64d048df52a21cf162ce8b1a99362.tar.gz kernel-qcow2-linux-e4cf27bd9ce64d048df52a21cf162ce8b1a99362.tar.xz kernel-qcow2-linux-e4cf27bd9ce64d048df52a21cf162ce8b1a99362.zip |
net/mlx5e: Re-eanble client vlan TX acceleration
This reverts commit cd58c714acb9 "net/mlx5e: Disable client vlan TX acceleration".
Bring back client vlan insertion offload, the original
performance issue was found and fixed in the next patch.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 28eaed572ec4..5fc4d2d78cdf 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -2004,6 +2004,7 @@ static void mlx5e_build_netdev(struct net_device *netdev) netdev->vlan_features |= NETIF_F_LRO; netdev->hw_features = netdev->vlan_features; + netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX; netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER; |