]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: Offload established connections to flow table
authorPaul Blakey <paulb@mellanox.com>
Tue, 3 Mar 2020 13:07:50 +0000 (15:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 23:09:12 +0000 (15:09 -0800)
commite80051d6fcc36c1b2b9f184f497f54aabbeea294
treee23d458c22cc9e7d178a993489948b1b56b62f96
parent01915edc3c308538f966ffda66ce42949955f86b
net/sched: act_ct: Offload established connections to flow table

Add a ft entry when connections enter an established state and delete
the connections when they leave the established state.

The flow table assumes ownership of the connection. In the following
patch act_ct will lookup the ct state from the FT. In future patches,
drivers will register for callbacks for ft add/del events and will be
able to use the information to offload the connections.

Note that connection aging is managed by the FT.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ct.c