]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix CNP CoS queue regression.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 9 Dec 2018 12:00:59 +0000 (07:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2018 19:46:58 +0000 (11:46 -0800)
commit866810d1ee47879cd6c8e420308d0c5ac01ea0eb
tree96da8e2914eb9e131ac3f1e09910093f10d440f0
parente8418d35b2e56fe57e03c81c7fc8b9b09965a81e
bnxt_en: Fix CNP CoS queue regression.

Recent changes to support the 57500 devices have created this
regression.  The bnxt_hwrm_queue_qportcfg() call was moved to be
called earlier before the RDMA support was determined, causing
the CoS queues configuration to be set before knowing whether RDMA
was supported or not.  Fix it by moving it to the right place right
after RDMA support is determined.

Fixes: c580856a06ef ("bnxt_en: Check context memory requirements from firmware.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c