aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorAnish Bhatt <anish@chelsio.com>2014-07-28 23:57:07 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-30 20:21:05 -0400
commit16eecd9be4b05e3216b8b12707aa6f51fb197903 (patch)
tree7a977163ae73a68afdbb468a7bc7076567af01e5 /include/uapi/linux
parent2d871aa07136fe6e576bde63072cf33e2c664e95 (diff)
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: 3e29027af4372 ("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>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/dcbnl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/dcbnl.h b/include/uapi/linux/dcbnl.h
index 6bb43382f3f3..e711f20dc522 100644
--- a/include/uapi/linux/dcbnl.h
+++ b/include/uapi/linux/dcbnl.h
@@ -148,7 +148,8 @@ struct cee_pfc {
148 * 148 *
149 * @selector: protocol identifier type 149 * @selector: protocol identifier type
150 * @protocol: protocol of type indicated 150 * @protocol: protocol of type indicated
151 * @priority: 3-bit unsigned integer indicating priority 151 * @priority: 3-bit unsigned integer indicating priority for IEEE
152 * 8-bit 802.1p user priority bitmap for CEE
152 * 153 *
153 * ---- 154 * ----
154 * Selector field values 155 * Selector field values