net/qede: fix incorrect queue id for 100G
authorHarish Patil <harish.patil@cavium.com>
Mon, 24 Jul 2017 10:19:03 +0000 (03:19 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commita68a9adf32cedd19e017d959b8c413ae7d605251
tree05b3a671aa4ba7ba37b5d47aac45f4e176acdee7
parent60c78a5e258ac50a334720f2032eb4c24b5b0c8f
net/qede: fix incorrect queue id for 100G

'commit 4c4bdadfa9e7 ("net/qede: refactoring multi-queue implementation")'
introduced a regression where default RSS configuration is incorrect in
the case of 100G mode. Currently we are passing absolute queue ids while
creating RX/TX queues. But in CMT mode we need to provide queue id
relative to the engine id. So this fix takes into account num_hwfns
while creating queues.

Fixes: 4c4bdadfa9e7 ("net/qede: refactoring multi-queue implementation")

Signed-off-by: Harish Patil <harish.patil@cavium.com>
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_rxtx.c