net/bnxt: limit queue count for NS3/Stingray devices
authorSomnath Kotur <somnath.kotur@broadcom.com>
Wed, 13 Nov 2019 08:29:41 +0000 (13:59 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commitf03e66cb64cee0e9b4351a7ac42f467e69d966f2
treed7f14de1fe5db1fe955fc8b72242ec50328aac33
parentaadae082ee46be8e6800a53a316eca558a31d103
net/bnxt: limit queue count for NS3/Stingray devices

Cap max queue count to 128 for NS3 devices and ensure that same count
is reported as part of dev_info_get_op as well

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Rahul Gupta <rahul.gupta@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_rxq.c
drivers/net/bnxt/bnxt_txq.c