OSDN Git Service

net: microchip: sparx5: Support for copying and modifying rules in the API
authorSteen Hegelund <steen.hegelund@microchip.com>
Wed, 23 Nov 2022 15:25:42 +0000 (16:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Nov 2022 09:42:13 +0000 (09:42 +0000)
commit465a38a269e93855393a217fb6a74de1e59767b8
treeeb0fc4a965c23cefa19643611f90a58aca2a9112
parentb084f6cc3563faf4f4d16c98852c0c734fe18914
net: microchip: sparx5: Support for copying and modifying rules in the API

This adds support for making a copy of a rule and modify keys and actions
to differentiate the copy.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/vcap/vcap_api.c
drivers/net/ethernet/microchip/vcap/vcap_api_client.h
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
drivers/net/ethernet/microchip/vcap/vcap_api_private.h