]> 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)
commitd096ef1b0dba7d2d155722951dbb90261a0c0a47
treec2f892fcf6f1f1b4feeeb8728500f8bcdfe98e43
parent495f0ca1561676194c18b16eaaae498e601d7bcb
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