cxgb4: when max_tx_rate is 0 disable tx rate limiting
authorGanesh Goudar <ganeshgr@chelsio.com>
Mon, 3 Sep 2018 10:51:46 +0000 (16:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 05:09:57 +0000 (22:09 -0700)
commitb5e281ab5a96edf617ed95dc20e6d640c24e301a
treea0ac524029c1f57c8ce49e58d7bb93c439b1edb6
parent4ee5489e5419a9b279ce570fa2ef9e9eddb2fa2a
cxgb4: when max_tx_rate is 0 disable tx rate limiting

in ndo_set_vf_rate() when max_tx_rate is 0 disable tx
rate limiting for that vf.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c