TX max rate limiting for Chelsio T4/T5 adapters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cxgb4: add support for tx traffic scheduling classesdrivers/ drivers/ drivers/ +4 more | +438 | 0 replies | |
| 2/3 | cxgb4: add support for per queue tx schedulingdrivers/ drivers/ drivers/ | +347 | 0 replies | |
| 3/3 | cxgb4: add support for tx max rate limitingdrivers/ drivers/ drivers/ | +105 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] TX max rate limiting for Chelsio T4/T5 adapters
This series of patches implement tx max rate limiting per queue on Chelsio T4/T5 hardware. This is achieved by first creating a tx scheduling class with the specified max rate. The queue is then bound to the newly created class. If a scheduling class with similar max rate already exists, then the queue is bound to the matching class.
Patch 1 adds support for setting tx scheduling classes.
Patch 2 adds support to bind/unbind queues to/from the scheduling classes. Patch 3 implements the set_tx_maxrate NDO.
Rahul Lakkireddy (3):
cxgb4: add support for tx traffic scheduling classes
cxgb4: add support for per queue tx scheduling
cxgb4: add support for tx max rate limiting
drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 56 ++- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 102 ++++- drivers/net/ethernet/chelsio/cxgb4/sched.c | 556 ++++++++++++++++++++++++ drivers/net/ethernet/chelsio/cxgb4/sched.h | 110 +++++ drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 31 +- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 38 +- 7 files changed, 890 insertions(+), 5 deletions(-) create mode 100644 drivers/net/ethernet/chelsio/cxgb4/sched.c create mode 100644 drivers/net/ethernet/chelsio/cxgb4/sched.h
Signature · 1 line
2.5.3