octeontx2-af: restore rxc conf after teardown sequence
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 18 Jan 2023 12:03:52 +0000 (17:33 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2023 09:00:08 +0000 (09:00 +0000)
commitd5b2e0a299f36c6ccdda4830525ca20550243536
tree9152fcd464637c42e9f2cf6411608aee0e2b9ec7
parent9adb04ff62f51265002c2c83e718bcf459e06e48
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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c