]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: restore ethtool ABI to control VLAN hardware acceleration
authorFernando Luis Vazquez Cao <fernando_b1@lab.ntt.co.jp>
Mon, 17 Jun 2013 02:28:03 +0000 (11:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jun 2013 00:09:35 +0000 (17:09 -0700)
commit1dc5ea86b6f9af7c1d93484b55cdb0330a97e724
tree41aa702202bd1d9148f62cfc2d8dbfad82aaa545
parent4d7801bcc1bacabe90eae6775d3a51e606d70b78
vlan: restore ethtool ABI to control VLAN hardware acceleration

As part of the push to add 802.1ad server provider tagging support to the
kernel the VLAN features flags were renamed. Unfortunately the kernel name
for the VLAN hardware acceleration features that the kernel shows user space
was included in the rename, which broke ethtool (txvlan and rxvlan options
do not work). This patch restores the original names, i.e. the original ABI.
If we wanted to make clear to users that we are refering to CTAGs we can
always change ethtool's short_name and long_name for these features (for
example something along the lines of txvlan -> txvlan-ctag, tx-vlan-offload ->
tx-vlan-ctag-offload).

Cc: Patrick McHardy <kaber@trash.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c