]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Do not use the CNP CoS queue for networking traffic.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 5 Aug 2018 20:51:58 +0000 (16:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:08:26 +0000 (17:08 -0700)
commit6b4f245f83533e770e201007291fd5ed6d55a19c
treed77a39d7b0563edf6a7e24a4f3ca9242ca3070ae
parentccad1d232758a6ec3060742ea1bdb8a8d9be127d
bnxt_en: Do not use the CNP CoS queue for networking traffic.

The CNP CoS queue is reserved for internal RDMA Congestion Notification
Packets (CNP) and should not be used for a TC.  Modify the CoS queue
discovery code to skip over the CNP CoS queue and to reduce
bp->max_tc accordingly.  However, if RDMA is disabled in NVRAM, the
the CNP CoS queue can be used for a TC.

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
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h