summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/mae.h
diff options
context:
space:
mode:
authorEdward Cree <ecree.xilinx@gmail.com>2023-05-11 21:47:29 +0200
committerDavid S. Miller <davem@davemloft.net>2023-05-12 11:37:02 +0200
commit56beb35d85e290b71372d7ee1093621f6abb6e96 (patch)
tree43d1d6815af42f0b24c11a79f66b6edeae227b2d /drivers/net/ethernet/sfc/mae.h
parentsfc: release encap match in efx_tc_flow_free() (diff)
downloadlinux-56beb35d85e290b71372d7ee1093621f6abb6e96.tar.xz
linux-56beb35d85e290b71372d7ee1093621f6abb6e96.zip
sfc: populate enc_ip_tos matches in MAE outer rules
Currently tc.c will block them before they get here, but following patch will change that. Use the extack message from efx_mae_check_encap_match_caps() instead of writing a new one, since there's now more being fed in than just an IP version. Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/mae.h')
-rw-r--r--drivers/net/ethernet/sfc/mae.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mae.h b/drivers/net/ethernet/sfc/mae.h
index 9226219491a0..cec61bfde4d4 100644
--- a/drivers/net/ethernet/sfc/mae.h
+++ b/drivers/net/ethernet/sfc/mae.h
@@ -82,6 +82,7 @@ int efx_mae_match_check_caps(struct efx_nic *efx,
const struct efx_tc_match_fields *mask,
struct netlink_ext_ack *extack);
int efx_mae_check_encap_match_caps(struct efx_nic *efx, bool ipv6,
+ u8 ip_tos_mask,
struct netlink_ext_ack *extack);
int efx_mae_check_encap_type_supported(struct efx_nic *efx,
enum efx_encap_type typ);