]> git.baikalelectronics.ru Git - kernel.git/commit
dcbnl : Fix misleading dcb_app->priority explanation
authorAnish Bhatt <anish@chelsio.com>
Tue, 29 Jul 2014 03:57:07 +0000 (20:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2014 00:21:05 +0000 (17:21 -0700)
commit0c2f39180afd41640baf498e7de7fd9847fd9bc1
tree7a977163ae73a68afdbb468a7bc7076567af01e5
parentf5b80173aa11789a84c9fad1957d41696afd274a
dcbnl : Fix misleading dcb_app->priority explanation

Current explanation of dcb_app->priority is wrong. It says priority is
expected to be a 3-bit unsigned integer which is only true when working with
DCBx-IEEE. Use of dcb_app->priority by DCBx-CEE expects it to be 802.1p user
priority bitmap. Updated accordingly

This affects the cxgb4 driver, but I will post those changes as part of a
larger changeset shortly.

Fixes: b7441502a49dd ("dcbnl: add support for ieee8021Qaz attributes")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/dcbnl.h
net/dcb/dcbnl.c