sfc: add function to atomically update a rule in the MAE
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 8 Jun 2023 16:42:32 +0000 (17:42 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jun 2023 07:11:49 +0000 (00:11 -0700)
commit69819d3bc4086dd5a268600d1cbd65c39eda1672
tree09d0baa3597ad9961fe9c2ff3819523fa60b691b
parentb4da4235dc69427fbdb66c9fbdf094ac76cdf745
sfc: add function to atomically update a rule in the MAE

efx_mae_update_rule() changes the action-set-list attached to an MAE
 flow rule in the Action Rule Table.
We will use this when neighbouring updates change encap actions.

Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/mae.c
drivers/net/ethernet/sfc/mae.h