From: <edward.cree@amd.com>
To: <linux-net-drivers@amd.com>, <davem@davemloft.net>,
<kuba@kernel.org>, <pabeni@redhat.com>, <edumazet@google.com>
Cc: Edward Cree <ecree.xilinx@gmail.com>, <netdev@vger.kernel.org>,
<habetsm.xilinx@gmail.com>, <michal.swiatkowski@linux.intel.com>,
<simon.horman@corigine.com>
Subject: [PATCH net-next v3 0/6] sfc: support TC decap rules
Date: Mon, 27 Mar 2023 11:36:02 +0100 [thread overview]
Message-ID: <cover.1679912088.git.ecree.xilinx@gmail.com> (raw)
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.
next reply other threads:[~2023-03-27 10:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 10:36 edward.cree [this message]
2023-03-27 10:36 ` [PATCH net-next v3 1/6] sfc: document TC-to-EF100-MAE action translation concepts edward.cree
2023-03-27 10:36 ` [PATCH net-next v3 2/6] sfc: add notion of match on enc keys to MAE machinery edward.cree
2023-03-27 14:27 ` Simon Horman
2023-03-27 10:36 ` [PATCH net-next v3 3/6] sfc: handle enc keys in efx_tc_flower_parse_match() edward.cree
2023-03-27 10:36 ` [PATCH net-next v3 4/6] sfc: add functions to insert encap matches into the MAE edward.cree
2023-03-27 14:28 ` Simon Horman
2023-03-27 10:36 ` [PATCH net-next v3 5/6] sfc: add code to register and unregister encap matches edward.cree
2023-03-27 14:28 ` Simon Horman
2023-03-27 10:36 ` [PATCH net-next v3 6/6] sfc: add offloading of 'foreign' TC (decap) rules edward.cree
2023-03-29 8:10 ` [PATCH net-next v3 0/6] sfc: support TC decap rules patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1679912088.git.ecree.xilinx@gmail.com \
--to=edward.cree@amd.com \
--cc=davem@davemloft.net \
--cc=ecree.xilinx@gmail.com \
--cc=edumazet@google.com \
--cc=habetsm.xilinx@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-net-drivers@amd.com \
--cc=michal.swiatkowski@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=simon.horman@corigine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).