Message ID | cover.1679912088.git.ecree.xilinx@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | sfc: support TC decap rules | expand |
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Mon, 27 Mar 2023 11:36:02 +0100 you wrote: > From: Edward Cree <ecree.xilinx@gmail.com> > > This series adds support for offloading tunnel decapsulation TC rules to > ef100 NICs, allowing matching encapsulated packets to be decapsulated in > hardware and redirected to VFs. > For now an encap match must be on precisely the following fields: > ethertype (IPv4 or IPv6), source IP, destination IP, ipproto UDP, > UDP destination port. This simplifies checking for overlaps in the > driver; the hardware supports a wider range of match fields which > future driver work may expose. > > [...] Here is the summary with links: - [net-next,v3,1/6] sfc: document TC-to-EF100-MAE action translation concepts https://git.kernel.org/netdev/net-next/c/edd025ca0887 - [net-next,v3,2/6] sfc: add notion of match on enc keys to MAE machinery https://git.kernel.org/netdev/net-next/c/b9d5c9b7d8a4 - [net-next,v3,3/6] sfc: handle enc keys in efx_tc_flower_parse_match() https://git.kernel.org/netdev/net-next/c/b7f5e17b3bb9 - [net-next,v3,4/6] sfc: add functions to insert encap matches into the MAE https://git.kernel.org/netdev/net-next/c/2245eb0086d8 - [net-next,v3,5/6] sfc: add code to register and unregister encap matches https://git.kernel.org/netdev/net-next/c/746224cdef01 - [net-next,v3,6/6] sfc: add offloading of 'foreign' TC (decap) rules https://git.kernel.org/netdev/net-next/c/17654d84b47c You are awesome, thank you!
From: Edward Cree <ecree.xilinx@gmail.com> This series adds support for offloading tunnel decapsulation TC rules to ef100 NICs, allowing matching encapsulated packets to be decapsulated in hardware and redirected to VFs. For now an encap match must be on precisely the following fields: ethertype (IPv4 or IPv6), source IP, destination IP, ipproto UDP, UDP destination port. This simplifies checking for overlaps in the driver; the hardware supports a wider range of match fields which future driver work may expose. Edward Cree (6): sfc: document TC-to-EF100-MAE action translation concepts sfc: add notion of match on enc keys to MAE machinery sfc: handle enc keys in efx_tc_flower_parse_match() sfc: add functions to insert encap matches into the MAE sfc: add code to register and unregister encap matches sfc: add offloading of 'foreign' TC (decap) rules drivers/net/ethernet/sfc/mae.c | 227 ++++++++++++- drivers/net/ethernet/sfc/mae.h | 11 + drivers/net/ethernet/sfc/tc.c | 600 ++++++++++++++++++++++++++++++++- drivers/net/ethernet/sfc/tc.h | 37 ++ 4 files changed, 857 insertions(+), 18 deletions(-) --- I'm never quite sure when review tags should carry over to the next version, so I've retained Simon's only on those patches which are entirely unchanged. Hope that's right.