net: microchip: sparx5: Support for TC protocol all
authorSteen Hegelund <steen.hegelund@microchip.com>
Wed, 23 Nov 2022 15:25:43 +0000 (16:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Nov 2022 09:42:13 +0000 (09:42 +0000)
commit0ca60948487757b1163fd3a13884d2f868eb8ddf
tree9698a263bd4e4641c6636be30e674dd9d618fc4f
parent465a38a269e93855393a217fb6a74de1e59767b8
net: microchip: sparx5: Support for TC protocol all

This allows support of TC protocol all for the Sparx5 IS2 VCAP.

This is done by creating multiple rules that covers the rule size and
traffic types in the IS2.
Each rule size (e.g X16 and X6) may have multiple keysets and if there are
more than one the type field in the VCAP rule will be wildcarded to support
these keysets.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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