net/qede/base: limit number of non ethernet queues to 64
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 8 Sep 2018 20:30:54 +0000 (13:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:01 +0000 (01:41 +0200)
commit3f11cf0623f23d9ad977bd81378a6a850717643f
tree7a32a3aa6cdcaaf92b1c17281627879ff006742a
parentd5df6159dddadedc1bdc12ec5f1a92a813dc94d3
net/qede/base: limit number of non ethernet queues to 64

Limit the number of non ethernet queues to 64, allowing a max queues to
status block ratio of 2:1 in case of storage target. Theoretically a
non-target storage PF can have 128 queues and SBs.

This change is to support 64 entries for a target iSCSI/FCoE PF and 128
for a non-target.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_dev_api.h