event/octeontx2: fix XAQ pool reconfigure
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 19 Mar 2021 21:08:15 +0000 (02:38 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 12 Apr 2021 07:23:34 +0000 (09:23 +0200)
commit052a5d38676373971cf2840c695a1421d2ac3045
tree6c176e726d5e554006c8fb822ce4b858f34a20b2
parent698fa829415dbbe5ceb3de6491a342499c9f4724
event/octeontx2: fix XAQ pool reconfigure

When XAQ pool is being re-configured, and if the same memzone
is used for fc_mem when freeing the old mempool the fc_mem
will be incorrectly updated with the free count.

Fixes: ffa4ec0b6063 ("event/octeontx2: allow adapters to resize inflight buffers")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/common/octeontx2/otx2_mbox.h
drivers/event/octeontx2/otx2_evdev.c