OSDN Git Service

net: microchip: sparx5: Add port keyset changing functionality
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 7 Mar 2023 13:41:02 +0000 (14:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Mar 2023 13:19:43 +0000 (13:19 +0000)
commitd9f175b0dffbf70add634319a81d683be782c2e1
tree4ec8df27ea9df5074f4d3eb46bdf6d9712ea6b63
parent1c14432dcefaf44c2e3fa11ac61097ee342eecfe
net: microchip: sparx5: Add port keyset changing functionality

With this its is now possible for clients (like TC) to change the port
keyset configuration in the Sparx5 VCAPs.

This is typically done per traffic class which is guided with the L3
protocol information.
Before the change the current keyset configuration is collected in a list
that is handed back to the client.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.h