]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: dcb - send all unmapped priorities to same COS as L2
authorDmitry Kravkov <dmitry@broadcom.com>
Sun, 24 Jul 2011 04:09:43 +0000 (04:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jul 2011 20:11:40 +0000 (13:11 -0700)
commit1f250d34b5f4199afb8874419b07b4ee9b87f0ba
treec2f892fcf6f1f1b4feeeb8728500f8bcdfe98e43
parent521e554b11686a1b3d65f6efb13a2af3685bce44
bnx2x: dcb - send all unmapped priorities to same COS as L2

As a result of DCBX negotiation some priorities maybe untouched and still
unmapped to any COS; instead of sending them to COS0 we assign them
to the same COS as L2 traffic - to avoid collisions with storage class of
service.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_dcb.c