]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio VF: indicate that disabling rx vlan offload is not allowed
authorRaghu Vatsavayi <raghu.vatsavayi@cavium.com>
Tue, 1 May 2018 17:32:10 +0000 (10:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 15:07:22 +0000 (11:07 -0400)
commit848d0f3f5d398a95ddb8d8bb2d14037c258a680d
treed4e16b77856c79309bfac4692791a4db023ab384
parent4e7ecf8c67b4a20f437280391c270bd4bfccde9b
liquidio VF: indicate that disabling rx vlan offload is not allowed

NIC firmware does not support disabling rx vlan offload, but the VF driver
incorrectly indicates that it is supported.  The PF driver already does the
correct indication by clearing the NETIF_F_HW_VLAN_CTAG_RX bit in its
netdev->hw_features.  So just do the same thing in the VF.

Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Acked-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c