Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Add support for flower actions mirred and redirect
@ 2024-04-03 18:41 Daniel Machon
  2024-04-03 18:41 ` [PATCH net-next 1/3] net: sparx5: support 72-bit VCAP actions Daniel Machon
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Machon @ 2024-04-03 18:41 UTC (permalink / raw)
  To: Lars Povlsen, Steen Hegelund, UNGLinuxDriver, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: linux-arm-kernel, netdev, linux-kernel, Daniel Machon

================================================================================
Add support for tc flower actions mirred and redirect.
================================================================================

This series adds support for the two tc flower actions mirred and
redirect. Both actions are implemented by means of a port mask and a
mask mode. The mask mode controls how the mask is applied, and together
they are used by the switch to make a forwarding decision. Both actions
are configurable via the IS0 or IS2 VCAP's (ingress stage 0 and 2,
respectively).

Patch #1: adds support for 72-bit actions.
Patch #2: adds support for tc flower mirred action.
Patch #3: adds support for tc flower redirect action.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
---
Daniel Machon (3):
      net: sparx5: support 72-bit VCAP actions
      net: sparx5: add support for tc flower mirred action.
      net: sparx5: add support for tc flower redirect action

 .../ethernet/microchip/sparx5/sparx5_tc_flower.c   | 76 ++++++++++++++++++++++
 drivers/net/ethernet/microchip/vcap/vcap_api.c     | 12 ++++
 .../net/ethernet/microchip/vcap/vcap_api_client.h  |  2 +
 3 files changed, 90 insertions(+)
---
base-commit: 5fc68320c1fb3c7d456ddcae0b4757326a043e6f
change-id: 20240402-mirror-redirect-actions-cc469cc58586

Best regards,
-- 
Daniel Machon <daniel.machon@microchip.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-04-04  7:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 18:41 [PATCH net-next 0/3] Add support for flower actions mirred and redirect Daniel Machon
2024-04-03 18:41 ` [PATCH net-next 1/3] net: sparx5: support 72-bit VCAP actions Daniel Machon
2024-04-03 18:41 ` [PATCH net-next 2/3] net: sparx5: add support for tc flower mirred action Daniel Machon
2024-04-04  6:46   ` Horatiu Vultur
2024-04-04  7:58     ` Daniel Machon
2024-04-03 18:41 ` [PATCH net-next 3/3] net: sparx5: add support for tc flower redirect action Daniel Machon
2024-04-04  6:47   ` Horatiu Vultur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox