sfc: add functions to insert encap matches into the MAE
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 27 Mar 2023 10:36:06 +0000 (11:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2023 08:06:08 +0000 (09:06 +0100)
commit2245eb0086d81e54dfc6492f649059465ebbed79
tree021404958dbeaea4b6737810735cadc217a65018
parentb7f5e17b3bb96165979f55f2821190a77f984d0e
sfc: add functions to insert encap matches into the MAE

An encap match corresponds to an entry in the exact-match Outer Rule
 table; the lookup response includes the encap type (protocol) allowing
 the hardware to continue parsing into the inner headers.

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