[PATCH net 0/2] net: mvpp2: prs: Fixes for VID filtering

From: Maxime Chevallier
Date: Tue Jun 11 2019 - 05:56:14 EST


This series fixes some issues with VID filtering offload, mainly due to
the wrong ranges being used in the TCAM header parser.

The first patch fixes a bug where removing a VLAN from a port's
whitelist would also remove it from other port's, if they are on the
same PPv2 instance.

The second patch makes so that we don't invalidate the wrong TCAM
entries when clearing the whole whitelist.

Maxime Chevallier (2):
net: mvpp2: prs: Fix parser range for VID filtering
net: mvpp2: prs: Use the correct helpers when removing all VID filters

.../net/ethernet/marvell/mvpp2/mvpp2_prs.c | 23 ++++++++++---------
1 file changed, 12 insertions(+), 11 deletions(-)

--
2.20.1