]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc93682477bd861744589215515a63b81fdbd8948
tree780a1c7bd60b70db558dd89d7fbebf6b582716ba
parent34de26d366ea49d99be633ae389e751fd5d592f5
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