sfc: add notion of match on enc keys to MAE machinery
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 27 Mar 2023 10:36:04 +0000 (11:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2023 08:06:08 +0000 (09:06 +0100)
commitb9d5c9b7d8a47ca4af5e32f576265c388a467af5
tree497cb57fb918ee93c0095e94dc350238317c92ab
parentedd025ca088719770c77a27266bf03f2f39ce83d
sfc: add notion of match on enc keys to MAE machinery

Extend the MAE caps check to validate that the hardware supports these
 outer-header matches where used by the driver.
Extend efx_mae_populate_match_criteria() to fill in the outer rule ID
 and VNI match fields.
Nothing yet populates these match fields, nor creates outer rules.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mae.c
drivers/net/ethernet/sfc/mae.h
drivers/net/ethernet/sfc/tc.h