public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: lan966x: Add police and mirror using tc-matchall
@ 2022-09-30  8:35 Horatiu Vultur
  2022-09-30  8:35 ` [PATCH net-next 1/2] net: lan966x: Add port police support " Horatiu Vultur
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Horatiu Vultur @ 2022-09-30  8:35 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: UNGLinuxDriver, davem, edumazet, kuba, pabeni, linux,
	Horatiu Vultur

Add tc-matchall classifier offload support both for ingress and egress.
For this add support for the port police and port mirroring action support.
Port police can happen only on ingress while port mirroring is supported
both on ingress and egress

Horatiu Vultur (2):
  net: lan966x: Add port police support using tc-matchall
  net: lan966x: Add port mirroring support using tc-matchall

 .../net/ethernet/microchip/lan966x/Makefile   |   3 +-
 .../ethernet/microchip/lan966x/lan966x_main.h |  44 ++++
 .../microchip/lan966x/lan966x_mirror.c        | 138 ++++++++++
 .../microchip/lan966x/lan966x_police.c        | 235 ++++++++++++++++++
 .../ethernet/microchip/lan966x/lan966x_regs.h |  96 +++++++
 .../ethernet/microchip/lan966x/lan966x_tc.c   |  50 ++++
 .../microchip/lan966x/lan966x_tc_matchall.c   |  95 +++++++
 7 files changed, 660 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_mirror.c
 create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_police.c
 create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_tc_matchall.c

-- 
2.33.0


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

end of thread, other threads:[~2022-10-03 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30  8:35 [PATCH net-next 0/2] net: lan966x: Add police and mirror using tc-matchall Horatiu Vultur
2022-09-30  8:35 ` [PATCH net-next 1/2] net: lan966x: Add port police support " Horatiu Vultur
2022-09-30  8:35 ` [PATCH net-next 2/2] net: lan966x: Add port mirroring " Horatiu Vultur
2022-10-03 12:00 ` [PATCH net-next 0/2] net: lan966x: Add police and mirror " patchwork-bot+netdevbpf

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