net: stmmac: Add support for VLAN Rx filtering
authorWong Vee Khee <vee.khee.wong@intel.com>
Mon, 30 Mar 2020 15:53:57 +0000 (23:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 17:36:44 +0000 (10:36 -0700)
commited64639bc1e0899d89120b82af52e74fcbeebf6a
tree4160a5c42d5bfe6af489a0da871ee5395d3e7aeb
parent07c9f74a8961e77f13280a56737c461d595bb637
net: stmmac: Add support for VLAN Rx filtering

Add support for VLAN ID-based filtering by the MAC controller for MAC
drivers that support it. Only the 12-bit VID field is used.

Signed-off-by: Chuah Kim Tatt <kim.tatt.chuah@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac4.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c