net/octeontx2: fix error handling after CQ init
authorAnoob Joseph <anoobj@marvell.com>
Mon, 11 Nov 2019 13:21:14 +0000 (18:51 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commitb26a63510a59e773353a0cb64cbde1b1bcfb410b
tree395b6e305f5e862a05a0f208790320b0834d7afb
parent53de676f8bfe3d4beca9ddd05538490ab273157d
net/octeontx2: fix error handling after CQ init

After otx2_nix_register_cq_irqs() is called and the IRQs are setup,
otx2_nix_unregister_cq_irqs() need to be called in the subsequent error
exit paths.

Fixes: d34db5ccbf30 ("net/octeontx2: fix driver reconfiguration")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c