net/bnxt: fix enabling/disabling interrupts
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Wed, 17 Jul 2019 10:41:35 +0000 (16:11 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commitae2d19da02a95739e98554a42f2fce99b66be103
tree9dd685c5da086d089b8f6dc5fca0677e10617a51
parentee07b4ac65872dd8e1ab094a09d7b280a2e0fd6b
net/bnxt: fix enabling/disabling interrupts

1. Disable interrupts in dev_stop_op()
2. Enable interrupts in dev_start_op()
3. Clean queue intr-vector mapping in dev_stop_op() and thus
   fix a possible memory leak.

Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_irq.c