Message ID | 1583240871-27320-1-git-send-email-paulb@mellanox.com |
---|---|
Headers | show |
Series | act_ct: Software offload of conntrack_in | expand |
From: Paul Blakey <paulb@mellanox.com> Date: Tue, 3 Mar 2020 15:07:48 +0200 > 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 Series applied to net-next, thanks.