]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: Offload only ASSURED connections
authorChris Mi <cmi@nvidia.com>
Wed, 1 Dec 2021 13:31:53 +0000 (15:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 11:02:25 +0000 (11:02 +0000)
commitc5013bb91e3f0a976748716ffdb3a9498fbd0996
tree8f84ddd20205ea8c6e476084c987d496fb04dbcd
parentee94019f8c1b3d5cad8287380a2873f932761b16
net/sched: act_ct: Offload only ASSURED connections

Short-lived connections increase the insertion rate requirements,
fill the offload table and provide very limited offload value since
they process a very small amount of packets. The ct ASSURED flag is
designed to filter short-lived connections for early expiration.

Offload connections when they are ESTABLISHED and ASSURED.

Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ct.c