summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/qp.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2015-03-18 14:57:33 +0200
committerDavid S. Miller <davem@davemloft.net>2015-03-18 14:55:18 -0400
commit822b3b2ebfff8e9b3d006086c527738a7ca00cd0 (patch)
treed3e6b25328bf4716982026b04dee8c0d2718a5d5 /drivers/net/ethernet/mellanox/mlx4/qp.c
parentb65885d29d41c7245bbd98769e781f77e8d9ed5b (diff)
net: Add max rate tx queue attribute
This adds a tx_maxrate attribute to the tx queue sysfs entry allowing for max-rate limiting. Along with DCB-ETS and BQL this provides another knob to tune queue performance. The limit units are Mbps. By default it is disabled. To disable the rate limitation after it has been set for a queue, it should be set to zero. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/qp.c')
0 files changed, 0 insertions, 0 deletions