ftgmac100: Support NCSI VLAN filtering when available
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 28 Aug 2017 06:18:43 +0000 (16:18 +1000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 23:49:49 +0000 (16:49 -0700)
commit51564585d8c6de28931ceff51f73eb800147221d
tree5eb1dded898c965087f842c688239da5532ec6a8
parent21acf63013ed3d6fce3176cc34b74064052a31b4
ftgmac100: Support NCSI VLAN filtering when available

Register the ndo_vlan_rx_{add,kill}_vid callbacks and set the
NETIF_F_HW_VLAN_CTAG_FILTER if NCSI is available.
This allows the VLAN core to notify the NCSI driver when changes occur
so that the remote NCSI channel can be properly configured to filter on
the set VLAN tags.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c