]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'act_ct-Software-offload-of-conntrack_in'
authorDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 23:09:13 +0000 (15:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 23:09:13 +0000 (15:09 -0800)
commit9cda644f20d26d062a7a6ab3e88fe0682a94ecd7
tree141cdc035b22c9e38b97c3a325ebc70db66abca2
parent6ef11f48e8025594037581bc660193a6c9e3f176
parenta72752749a76ec3ca35c950441ccb7547d7f1def
Merge branch 'act_ct-Software-offload-of-conntrack_in'

Paul Blakey says:

====================
act_ct: Software offload of conntrack_in

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>