]> 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)
commit0217c17d63e02d6550d3099a491cd4b86ab242c7
tree780a1c7bd60b70db558dd89d7fbebf6b582716ba
parentfc86258fed89fbcc8b22ec395b94211834c19116
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