All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/3] act_ct: Software offload of conntrack_in
@ 2020-03-03 14:21 Paul Blakey
  2020-03-03 14:21 ` [PATCH net-next v5 1/3] net/sched: act_ct: Create nf flow table per zone Paul Blakey
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Paul Blakey @ 2020-03-03 14:21 UTC (permalink / raw)
  To: Paul Blakey, Saeed Mahameed, Oz Shlomo, Jakub Kicinski,
	Vlad Buslov, David Miller, netdev, Jiri Pirko, Roi Dayan

This series adds software offload of connections with an established
ct state using the NF flow table offload infrastructure, so
once such flows are offloaded, they will not pass through conntrack
again, and instead act_ct will restore the conntrack info metadata
on the skb to the state it had on the offload event - established.

Act_ct maintains an FT instance per ct zone. Flow table entries
are created, per ct connection, when connections enter an established
state and deleted otherwise. Once an entry is created, the FT assumes
ownership of the entry, and manages it's aging.

On the datapath, first lookup the skb in the zone's FT before going
into conntrack, and if a matching flow is found, restore the conntrack
info metadata on the skb, and skip calling conntrack.

Note that this patchset is part of the connection tracking offload feature.
Hardware offload of connections with an established ct state series will follow
this one.

Changelog:
   v1->v2:
     Removed now unused netfilter patches

Paul Blakey (3):
  net/sched: act_ct: Create nf flow table per zone
  net/sched: act_ct: Offload established connections to flow table
  net/sched: act_ct: Software offload of established flows

 include/net/tc_act/tc_ct.h |   2 +
 net/sched/Kconfig          |   2 +-
 net/sched/act_ct.c         | 355 ++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 357 insertions(+), 2 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-04  8:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 14:21 [PATCH net-next v5 0/3] act_ct: Software offload of conntrack_in Paul Blakey
2020-03-03 14:21 ` [PATCH net-next v5 1/3] net/sched: act_ct: Create nf flow table per zone Paul Blakey
2020-03-03 14:21 ` [PATCH net-next v5 2/3] net/sched: act_ct: Offload established connections to flow table Paul Blakey
2020-03-03 14:21 ` [PATCH net-next v5 3/3] net/sched: act_ct: Software offload of established flows Paul Blakey
2020-03-03 14:30   ` Nikolay Aleksandrov
2020-03-03 15:06     ` Paul Blakey
2020-03-03 23:44 ` [PATCH net-next v5 0/3] act_ct: Software offload of conntrack_in David Miller
2020-03-04  8:38   ` Paul Blakey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.