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>
This commit is contained in:
committed by
David S. Miller
parent
07c9f74a89
commit
ed64639bc1
@@ -471,6 +471,8 @@ struct mac_device_info {
|
||||
unsigned int pmt;
|
||||
unsigned int ps;
|
||||
unsigned int xlgmac;
|
||||
unsigned int num_vlan;
|
||||
u32 vlan_filter[32];
|
||||
};
|
||||
|
||||
struct stmmac_rx_routing {
|
||||
|
||||
Reference in New Issue
Block a user