From: <edward.cree@amd.com>
To: <linux-net-drivers@amd.com>, <davem@davemloft.net>,
<kuba@kernel.org>, <edumazet@google.com>, <pabeni@redhat.com>
Cc: Edward Cree <ecree.xilinx@gmail.com>, <netdev@vger.kernel.org>,
<habetsm.xilinx@gmail.com>
Subject: [PATCH net-next 0/7] sfc: basic conntrack offload
Date: Thu, 3 Aug 2023 12:56:16 +0100 [thread overview]
Message-ID: <cover.1691063675.git.ecree.xilinx@gmail.com> (raw)
From: Edward Cree <ecree.xilinx@gmail.com>
Support offloading tracked connections and matching against them in
TC chains on the PF and on representors.
Later patch serieses will add NAT and conntrack-on-tunnel-netdevs;
keep it simple for now.
Edward Cree (7):
sfc: add MAE table machinery for conntrack table
sfc: functions to register for conntrack zone offload
sfc: functions to insert/remove conntrack entries to MAE hardware
sfc: offload conntrack flow entries (match only) from CT zones
sfc: handle non-zero chain_index on TC rules
sfc: conntrack state matches in TC rules
sfc: offload left-hand side rules for conntrack
drivers/net/ethernet/sfc/Makefile | 2 +-
drivers/net/ethernet/sfc/bitfield.h | 2 +
drivers/net/ethernet/sfc/mae.c | 827 +++++++++++++++++++++++-
drivers/net/ethernet/sfc/mae.h | 12 +
drivers/net/ethernet/sfc/mcdi.h | 14 +
drivers/net/ethernet/sfc/tc.c | 532 ++++++++++++++-
drivers/net/ethernet/sfc/tc.h | 86 ++-
drivers/net/ethernet/sfc/tc_conntrack.c | 533 +++++++++++++++
drivers/net/ethernet/sfc/tc_conntrack.h | 55 ++
drivers/net/ethernet/sfc/tc_counters.c | 8 +-
drivers/net/ethernet/sfc/tc_counters.h | 4 +
11 files changed, 2038 insertions(+), 37 deletions(-)
create mode 100644 drivers/net/ethernet/sfc/tc_conntrack.c
create mode 100644 drivers/net/ethernet/sfc/tc_conntrack.h
next reply other threads:[~2023-08-03 11:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 11:56 edward.cree [this message]
2023-08-03 11:56 ` [PATCH net-next 1/7] sfc: add MAE table machinery for conntrack table edward.cree
2023-08-03 11:56 ` [PATCH net-next 2/7] sfc: functions to register for conntrack zone offload edward.cree
2023-08-03 11:56 ` [PATCH net-next 3/7] sfc: functions to insert/remove conntrack entries to MAE hardware edward.cree
2023-08-03 11:56 ` [PATCH net-next 4/7] sfc: offload conntrack flow entries (match only) from CT zones edward.cree
2023-08-03 11:56 ` [PATCH net-next 5/7] sfc: handle non-zero chain_index on TC rules edward.cree
2023-08-03 11:56 ` [PATCH net-next 6/7] sfc: conntrack state matches in " edward.cree
2023-08-03 11:56 ` [PATCH net-next 7/7] sfc: offload left-hand side rules for conntrack edward.cree
2023-08-04 13:43 ` Simon Horman
2023-08-07 13:12 ` Edward Cree
2023-08-07 14:44 ` Simon Horman
2023-08-04 13:44 ` [PATCH net-next 0/7] sfc: basic conntrack offload Simon Horman
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.1691063675.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=netdev@vger.kernel.org \
--cc=pabeni@redhat.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).