sfc: populate enc_ip_tos matches in MAE outer rules
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 11 May 2023 19:47:29 +0000 (20:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 May 2023 09:37:02 +0000 (10:37 +0100)
commit56beb35d85e290b71372d7ee1093621f6abb6e96
tree43d1d6815af42f0b24c11a79f66b6edeae227b2d
parent28fa3ac487c6d30aaa10570481c27b6adfc492b3
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>
drivers/net/ethernet/sfc/mae.c
drivers/net/ethernet/sfc/mae.h
drivers/net/ethernet/sfc/tc.c
drivers/net/ethernet/sfc/tc.h