summaryrefslogtreecommitdiff
path: root/include/net/dcbnl.h
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2011-06-21 07:34:42 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-21 16:06:11 -0700
commitb6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3 (patch)
treeb8d08270d6d6158fd94a6fc6ccadc5978d51a673 /include/net/dcbnl.h
parent314b4778ed579f29b6d46ba90dbf31314c13805f (diff)
downloadlinux-stable-b6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3.tar.gz
linux-stable-b6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3.tar.bz2
linux-stable-b6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3.zip
dcb: Add ieee_dcb_setapp() to be used for IEEE 802.1Qaz APP data
This adds a setapp routine for IEEE802.1Qaz encoded APP data types. The IEEE 802.1Qaz spec encodes the priority bits differently and allows for multiple APP data entries of the same selector and protocol. Trying to force these to use the same set routines was becoming tedious. Furthermore, userspace could probably enforce the correct semantics, but expecting drivers to do this seems error prone in the firmware case. For these reasons add ieee_dcb_setapp() that understands the IEEE 802.1Qaz encoded form. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dcbnl.h')
-rw-r--r--include/net/dcbnl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h
index b3cf10d9b828..c53a4e06a16a 100644
--- a/include/net/dcbnl.h
+++ b/include/net/dcbnl.h
@@ -30,6 +30,7 @@ struct dcb_app_type {
u8 dcb_setapp(struct net_device *, struct dcb_app *);
u8 dcb_getapp(struct net_device *, struct dcb_app *);
+int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
int dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 pid);