• Fernando Luis Vazquez Cao's avatar
    vlan: restore ethtool ABI to control VLAN hardware acceleration · 788dfcac
    Fernando Luis Vazquez Cao authored
    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: default avatarFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
    Reviewed-by: default avatarBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    788dfcac
ethtool.c 39.2 KB