Thread (20 messages) 20 messages, 4 authors, 2012-03-20

Re: [PATCH 4/8] net/mlx4_en: Set max rate-limit for a TC

flat view

From: Dave Taht <hidden>
Date: 2012-03-13 19:16:37

On Tue, Mar 13, 2012 at 10:21 AM, Amir Vadai [off-list ref] wrote:
From: Amir Vadai <redacted>

Set max rate-limit using sysfs file /sys/class/net/<interface>/qos/ratelimit

To set, enter a space separated list of values in units of 100Mbps.  For
example to set ratelimit of 5G to TC0 and 10G for the reset on eth2 issue:
echo 50 100 100 100 100 100 100 100 100 > /sys/class/net/eth2/qos/ratelimit
At least in my world, rates go down as low as 128k.

If this 'qos' sys value is intended to be a generic mechanism to be
used instead of (say) htb,
for more than one type of ethernet device.... I would argue that the
units need to be specified.

Similarly what else is intended to live below the 'qos' subdir?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help