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)
commit09b775e7ec08ae92b8d976b7e34ba7f83b904c97
treec2f892fcf6f1f1b4feeeb8728500f8bcdfe98e43
parent262931339805ce8a7d25c5f75d5b2402013fc55d
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