diff options
-rw-r--r-- | include/uapi/linux/dcbnl.h | 3 | ||||
-rw-r--r-- | net/dcb/dcbnl.c | 5 |
2 files changed, 5 insertions, 3 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 |
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index c34af7a1d2d4..ca11d283bbeb 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c | |||
@@ -1776,7 +1776,7 @@ EXPORT_SYMBOL(dcb_getapp); | |||
1776 | * | 1776 | * |
1777 | * Priority 0 is an invalid priority in CEE spec. This routine | 1777 | * Priority 0 is an invalid priority in CEE spec. This routine |
1778 | * removes applications from the app list if the priority is | 1778 | * removes applications from the app list if the priority is |
1779 | * set to zero. | 1779 | * set to zero. Priority is expected to be 8-bit 802.1p user priority bitmap |
1780 | */ | 1780 | */ |
1781 | int dcb_setapp(struct net_device *dev, struct dcb_app *new) | 1781 | int dcb_setapp(struct net_device *dev, struct dcb_app *new) |
1782 | { | 1782 | { |
@@ -1837,7 +1837,8 @@ EXPORT_SYMBOL(dcb_ieee_getapp_mask); | |||
1837 | * | 1837 | * |
1838 | * This adds Application data to the list. Multiple application | 1838 | * This adds Application data to the list. Multiple application |
1839 | * entries may exists for the same selector and protocol as long | 1839 | * entries may exists for the same selector and protocol as long |
1840 | * as the priorities are different. | 1840 | * as the priorities are different. Priority is expected to be a |
1841 | * 3-bit unsigned integer | ||
1841 | */ | 1842 | */ |
1842 | int dcb_ieee_setapp(struct net_device *dev, struct dcb_app *new) | 1843 | int dcb_ieee_setapp(struct net_device *dev, struct dcb_app *new) |
1843 | { | 1844 | { |