OSDN Git Service

octeontx2-af: restore rxc conf after teardown sequence
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 18 Jan 2023 12:03:52 +0000 (17:33 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Jan 2023 16:37:10 +0000 (08:37 -0800)
commite2784acb61b32713d7ac2b27419e2234ede2a3fa
treefc63ab59da7f2ff9926dad0042e95b1ccc62cb25
parent41b166e5cdd9020846efc5b358f6c0405e43fad7
octeontx2-af: restore rxc conf after teardown sequence

CN10K CPT coprocessor includes a component named RXC which
is responsible for reassembly of inner IP packets. RXC has
the feature to evict oldest entries based on age/threshold.
The age/threshold is being set to minimum values to evict
all entries at the time of teardown.
This patch adds code to restore timeout and threshold config
after teardown sequence is complete as it is global config.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c