net/mlx5e: Add ethtool support for rxvlan-offload (vlan stripping)
authorGal Pressman <galp@mellanox.com>
Sun, 24 Apr 2016 19:51:55 +0000 (22:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:58:02 +0000 (15:58 -0400)
commit363501145e3faa650193722fe7047b767ed87172
treec0ade5333f48185e3d74589778978257394d5230
parentbb64143eee8c036a89b31daa4e9bf8360a8bded1
net/mlx5e: Add ethtool support for rxvlan-offload (vlan stripping)

Use ethtool -K <interface> rxvlan <on/off> to enable/disable
C-TAG vlan stripping by hardware.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
include/linux/mlx5/driver.h