net: stmmac: Add support for VLAN promiscuous mode
Subsystems (3)
PATCH 6/8 net: stmmac: Add support for VLAN promiscuous mode
For dwxgmac2, enable VLAN promiscuity when MAC Controller is requested to enter promiscuous mode.
Signed-off-by Boon Khai Ng <[email protected]>
--- .../net/ethernet/stmicro/stmmac/dwxgmac2.h | 1 + .../ethernet/stmicro/stmmac/dwxgmac2_core.c | 67 +++++++++++++++++++ 2 files changed, 68 insertions(+)
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h +1 -0
@@ -69,6 +69,7 @@#define XGMAC_VLAN_CT BIT(1)#define XGMAC_VLAN_OB BIT(0)#define XGMAC_VLAN_HASH_TABLE 0x00000058 +#define XGMAC_VLAN_VLHT GENMASK(15, 0)#define XGMAC_VLAN_INCL 0x00000060#define XGMAC_VLAN_VLTI BIT(20)#define XGMAC_VLAN_CSVL BIT(19)
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c +67 -0
100 lines not on this page · raw message
Signature · 1 line
2.25.1
Please ignore this review, send out by accident.
My appologies for sending out this review by accident, this is meant for internal reivew, kindly ignore and close this thread. Thanks.