]> 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)
commit8fa251de2a4431a9225e500fe559248b0cdcf42c
tree96da8e2914eb9e131ac3f1e09910093f10d440f0
parent8ec2f0514b8dbcc109a49db51a65cade75b1ae84
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: 1d23362fe3ae ("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