liquidio: implement vlan filter enable and disable
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>
Sun, 18 Jun 2017 19:41:34 +0000 (12:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jun 2017 03:53:06 +0000 (23:53 -0400)
commit836d57e5c08e13bb206dcd559d96ee9355e8316e
tree07dd1d6783fbc8985598ac1f4a561123adf8500a
parent06d4d450db770a70b29fa0244d50390c85e7e3c7
liquidio: implement vlan filter enable and disable

Add implementation to support ethtool -K ethX rx-vlan-filter on/off.
Rename OCTNET_CMD_ENABLE_VLAN_FILTER command to OCTNET_CMD_VLAN_FILTER_CTL
and add OCTNET_CMD_VLAN_FILTER_ENABLE and OCTNET_CMD_VLAN_FILTER_DISABLE
parameters so that it can be used to enable or disable the filter.

Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@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_core.c
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/liquidio_common.h