net: microchip: sparx5: Add TC vlan action support for the ES0 VCAP
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 14 Feb 2023 10:40:49 +0000 (11:40 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 16 Feb 2023 07:59:49 +0000 (08:59 +0100)
commitebf44ded76e92e0812e0e4a2acd20c7f86550e2c
tree268cd50f36189883faf7192c37ea51a352ab22cc
parent52b28a93c45d2eb6177f073665ca5e4b2f6a229a
net: microchip: sparx5: Add TC vlan action support for the ES0 VCAP

This provides these 3 actions for rule in the ES0 VCAP:

- action vlan pop
- action vlan modify id X priority Y
- action vlan push id X priority Y protocol Z

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_tc.h
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.h
drivers/net/ethernet/microchip/vcap/vcap_tc.c
drivers/net/ethernet/microchip/vcap/vcap_tc.h