OSDN Git Service

cxgb4: add support for per queue tx scheduling
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 22 Aug 2016 10:59:07 +0000 (16:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 01:29:13 +0000 (18:29 -0700)
commit6cede1f17f51333ecf9cd4c9fca5565842f1bf55
tree532509974f67df7dda469a9cdf1abf32792bdbb7
parentb72a32dacdfa29b21da8c720ab9ceee40399b2ac
cxgb4: add support for per queue tx scheduling

Add support to bind/unbind specified tx queues to/from scheduling
classes.  If a queue is already bound to a scheduling class, it is
unbound first and then bound to a new specified class.

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/sched.c
drivers/net/ethernet/chelsio/cxgb4/sched.h