net: sparx5: add support for tc flower redirect action
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 5 Apr 2024 07:44:50 +0000 (09:44 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Apr 2024 08:45:10 +0000 (10:45 +0200)
commit1164b8e0b108507b41e2564a9461bc0a6e38283c
tree78006a3364b9b1585db529a56bd91ae4649825fd
parent48ba00da2eb4b54a7e6ed2ca3a9f2e575dff48c9
net: sparx5: add support for tc flower redirect action

Add support for the flower redirect action. Two VCAP actions are encoded
in the rule - one for the port mask, and one for the port mask mode.
When the rule is hit, the port mask is used as the final destination
set, replacing all other port masks.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c