All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: mvpp2: Add Unicast filtering capabilities
@ 2018-03-07 14:18 Maxime Chevallier
  2018-03-07 14:18 ` [PATCH net-next 1/2] net: mvpp2: Simplify MAC filtering function parameters Maxime Chevallier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxime Chevallier @ 2018-03-07 14:18 UTC (permalink / raw)
  To: davem
  Cc: Maxime Chevallier, netdev, linux-kernel, Thomas Petazzoni,
	Antoine Tenart, Miquel Raynal, Gregory Clement, Marcin Wojtas,
	ymarkman, nadavh, stefanc

Hi all,

This series adds unicast filtering support to the Marvell PPv2 controller.

This is implemented using the header parser cababilities of the PPv2,
which allows for generic packet filtering based on matching patterns in
the packet headers.

PPv2 controller only has 256 of these entries, and we need to share them
with other features, such as VLAN filtering.

For each interface, we have 5 entries dedicated to unicast filtering (the
controller's own address, and 4 other), and 21 to multicast filtering.

When this number is reached, the controller switches to unicast or
multicast promiscuous mode.

The first patch reworks the function that adds and removes addresses to the
filter. This is preparatory work to ease UC filter implementation.

The second patch adds the UC filtering feature.

Maxime Chevallier (2):
  net: mvpp2: Simplify MAC filtering function parameters
  net: mvpp2: Add support for unicast filtering

 drivers/net/ethernet/marvell/mvpp2.c | 320 +++++++++++++++++++----------------
 1 file changed, 173 insertions(+), 147 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-07 20:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 14:18 [PATCH net-next 0/2] net: mvpp2: Add Unicast filtering capabilities Maxime Chevallier
2018-03-07 14:18 ` [PATCH net-next 1/2] net: mvpp2: Simplify MAC filtering function parameters Maxime Chevallier
2018-03-07 14:18 ` [PATCH net-next 2/2] net: mvpp2: Add support for unicast filtering Maxime Chevallier
2018-03-07 20:54 ` [PATCH net-next 0/2] net: mvpp2: Add Unicast filtering capabilities David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.