net/mlx4_en: Add tx queue maxrate support
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 18 Mar 2015 12:57:35 +0000 (14:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2015 18:55:19 +0000 (14:55 -0400)
commitc10e4fc6c45616dbadb8ccee189e2c09fb8f056f
tree6ddfb4d3d0ebd6f034418b4790cca649bd37a1e6
parentfc31e2560a2443410fe45c27116fae736541a7b5
net/mlx4_en: Add tx queue maxrate support

Add ndo_set_tx_maxrate support.

To support per tx queue maxrate limit, we use the update-qp firmware
command to do run-time rate setting for the qp that serves this tx ring.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c