net/bnxt: fix Rx queue count
authorRahul Gupta <rahul.gupta@broadcom.com>
Wed, 2 Oct 2019 17:17:42 +0000 (10:17 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:30 +0000 (12:14 +0200)
commit34c0ba839baeaf9a8621e4e3524eec96f82dfce0
tree2f24472d98e5c95da54bf3693684338ce1db85e0
parentf0f7b157c179bcccc199adb15eae8bea49649933
net/bnxt: fix Rx queue count

Fix Computing of number of used descriptors in an Rx queue.

Fixes: 1b7ceba3e375 ("net/bnxt: support Rx queue count")
Cc: stable@dpdk.org
Signed-off-by: Rahul Gupta <rahul.gupta@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