]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sparx5: add the tc glue to support port mirroring
authorDaniel Machon <daniel.machon@microchip.com>
Sat, 20 Apr 2024 19:29:13 +0000 (21:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2024 12:08:06 +0000 (13:08 +0100)
commit2ac99ed9c3ef43abcdc20210c67f4d1d901fe1a1
tree8d52228dc15a3e69165d55dda78616b4980e0c45
parent4e50d72b3b95fd1ba678f1fab395c3f45105d6bd
net: sparx5: add the tc glue to support port mirroring

Add the necessary tc glue to add and delete mirror rules through tc
matchall.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_tc_matchall.c