net/bnxt: fix COS queue mapping
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 4 Nov 2019 10:02:40 +0000 (15:32 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit21b1f1abe4850b183c1619226396e8b7f73215e2
treee23f58f1a0a79b4ec384c106924694dd084b8ebc
parent90bdf7956cb7fe135f3bb63adefa764254f6e15d
net/bnxt: fix COS queue mapping

While issuing hwrm_queue_qportcfg command, we are setting the
drv_qmap_cap bit which is causing the firmware to return incorrect COS
queue mapping.
This bit is not required when COS classification is enabled.

Fixes: 698aa7e95325 ("net/bnxt: add code to determine the Tx COS queue")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c