cxgb4: add support for tx max rate limiting
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 22 Aug 2016 10:59:08 +0000 (16:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 01:29:13 +0000 (18:29 -0700)
commit10a2604ea2eac8af2bf7fa5eb11e4fcb6bc336d5
tree5b7a9faa8aafc1b8bbcedfb0276b894e437ab870
parent6cede1f17f51333ecf9cd4c9fca5565842f1bf55
cxgb4: add support for tx max rate limiting

Implement set_tx_maxrate NDO to perform per queue tx rate limiting.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sched.h