1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell/mvpp2
Maxime Chevallier 46b0090a66 net: mvpp2: prs: Fix parser range for VID filtering
VID filtering is implemented in the Header Parser, with one range of 11
vids being assigned for each no-loopback port.

Make sure we use the per-port range when looking for existing entries in
the Parser.

Since we used a global range instead of a per-port one, this causes VIDs
to be removed from the whitelist from all ports of the same PPv2
instance.

Fixes: 56beda3db6 ("net: mvpp2: Add hardware offloading for VLAN filtering")
Suggested-by: Yuri Chipchev <yuric@marvell.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-12 11:12:58 -07:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2.h net: mvpp2: cls: Allow dropping packets with classification offload 2019-05-01 17:13:14 -04:00
mvpp2_cls.c net: mvpp2: cls: Fix leaked ethtool_rx_flow_rule 2019-05-23 09:13:00 -07:00
mvpp2_cls.h net: mvpp2: cls: Allow dropping packets with classification offload 2019-05-01 17:13:14 -04:00
mvpp2_debugfs.c net: mvpp2: cls: Rename the flow table macros 2019-03-27 11:10:58 -07:00
mvpp2_main.c net: mvpp2: Use strscpy to handle stat strings 2019-06-06 10:38:42 -07:00
mvpp2_prs.c net: mvpp2: prs: Fix parser range for VID filtering 2019-06-12 11:12:58 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00