From: Amir Vadai Date: Wed, 4 Apr 2012 21:33:30 +0000 (+0000) Subject: net/dcb: Add an optional max rate attribute X-Git-Tag: v3.5-rc1~109^2~574 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f10affe45051e18e0d8291c0a53aecef1b8a14;p=pandora-kernel.git net/dcb: Add an optional max rate attribute Although not specified in 8021Qaz spec, it could be useful to enable drivers whose HW supports setting a rate limit for an ETS TC. This patch adds this optional attribute to DCB netlink. To use it, drivers should implement and register the callbacks ieee_setmaxrate and ieee_getmaxrate. The units are 64 bits long and specified in Kbps to enable usage over both slow and very fast networks. Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed