bnx2: disable toggling of rxvlan if necessary
authorIvan Vecera <ivecera@redhat.com>
Thu, 26 Feb 2015 13:48:07 +0000 (14:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 04:25:51 +0000 (23:25 -0500)
commit26caa3469a2de617d95c29371571a9585603a023
tree7cba05cc5db78e1d90fcf2820d0ff77d4155fb9b
parentea373041bdfa0e580f09a9fbe6633cba62439430
bnx2: disable toggling of rxvlan if necessary

The bnx2 driver uses .ndo_fix_features to force enable of Rx VLAN tag
stripping when the card cannot disable it. The driver should remove
NETIF_F_HW_VLAN_CTAG_RX flag from hw_features instead so it is fixed
for the ethtool.

Cc: Sony Chacko <sony.chacko@qlogic.com>
Cc: Dept-HSGLinuxNICDev@qlogic.com
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c