]> git.baikalelectronics.ru Git - kernel.git/commit
net/dcb: Add IEEE QCN attribute
authorShani Michaeli <shanim@mellanox.com>
Thu, 5 Mar 2015 18:16:11 +0000 (20:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Mar 2015 02:50:02 +0000 (21:50 -0500)
commit93ec819fa53f40d6516da0b2df276ac47f2901f8
tree780a1c7bd60b70db558dd89d7fbebf6b582716ba
parentab87358fc9d2e63cead176dd6b782bd66d569a51
net/dcb: Add IEEE QCN attribute

As specified in 802.1Qau spec. Add this optional attribute to the
DCB netlink layer. To allow for application to use the new attribute,
NIC drivers should implement and register the  callbacks ieee_getqcn,
ieee_setqcn and ieee_getqcnstats.

The QCN attribute holds a set of parameters for management, and
a set of statistics to provide informative data on Congestion-Control
defined by this spec.

Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dcbnl.h
include/uapi/linux/dcbnl.h
net/dcb/dcbnl.c