]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb5bfd216b3f53eb074c4602a6cbdc1b5fb31dbe
tree5eb1dded898c965087f842c688239da5532ec6a8
parent6933b009d910d0c0dfb73b8e1960f46d714b7b74
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