event/octeontx2: unlink queues during port release
authorShijith Thotton <sthotton@marvell.com>
Thu, 19 Nov 2020 08:46:11 +0000 (14:16 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 20 Nov 2020 17:53:47 +0000 (18:53 +0100)
commit8e6663b8c145a3dcbd7b298b93682814973c7fcd
tree5e97907d54b013f3c853a093e7a1398b4d196258
parent52f2fcb3e29adbe7f9deb3090df7436b1652c20d
event/octeontx2: unlink queues during port release

Unlinking queues from port should be done during port release. Doing it
during device re-configuration could result in segfault as ports array
is re-allocated based on new number of ports.

Fixes: f7ac8b66b23c ("event/octeontx2: support linking queues to ports")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/octeontx2/otx2_evdev.c
drivers/event/octeontx2/otx2_evdev.h
drivers/event/octeontx2/otx2_evdev_adptr.c