sfc: add Layer 4 matches to ef100 TC offload
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 3 Nov 2022 15:27:31 +0000 (15:27 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Nov 2022 02:54:24 +0000 (19:54 -0700)
commit5d1d24da00dba75f94f1640717b3fd2a243e4b5f
tree1ce633fe7b1d3133c47eb6f73275f316700e2fc3
parent5ca7ef293866f034c9a21a567a498dadfd1d57a8
sfc: add Layer 4 matches to ef100 TC offload

Support matching on UDP/TCP source and destination ports and TCP flags,
 with masking if supported by the hardware.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/mae.c
drivers/net/ethernet/sfc/tc.c
drivers/net/ethernet/sfc/tc.h