net/bnxt: fix VNIC Rx queue count on VNIC free
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 23 Apr 2020 15:02:24 +0000 (20:32 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 25 Apr 2020 21:09:29 +0000 (23:09 +0200)
commitbc75bdb60f4ea3eea4de76a60312711447055852
tree744ca0bd3b2540c31b307a8d827c64c65cb6659c
parentd256c73c11229c0a7eae32a7e0baaa7a457000e1
net/bnxt: fix VNIC Rx queue count on VNIC free

bnxt_free_one_vnic and bnxt_setup_one_vnic are called on configuring
port vlan stripping. bnxt_setup_one_vnic keeps incrementing the
vnic rx_queue_cnt. Fix to reset vnic rx_queue_cnt in bnxt_free_one_vnic.

Fixes: cfadfee41ed1 ("net/bnxt: fix VLAN strip")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c