From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, hariprasad@chelsio.com, leedom@chelsio.com,
nirranjan@chelsio.com, indranil@chelsio.com,
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Subject: [PATCH net-next 0/3] TX max rate limiting for Chelsio T4/T5 adapters
Date: Mon, 22 Aug 2016 16:29:05 +0530 [thread overview]
Message-ID: <cover.1471848004.git.rahul.lakkireddy@chelsio.com> (raw)
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
--
2.5.3
next reply other threads:[~2016-08-22 11:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 10:59 Rahul Lakkireddy [this message]
2016-08-22 10:59 ` [PATCH net-next 1/3] cxgb4: add support for tx traffic scheduling classes Rahul Lakkireddy
2016-08-22 10:59 ` [PATCH net-next 2/3] cxgb4: add support for per queue tx scheduling Rahul Lakkireddy
2016-08-22 10:59 ` [PATCH net-next 3/3] cxgb4: add support for tx max rate limiting Rahul Lakkireddy
2016-08-23 1:29 ` [PATCH net-next 0/3] TX max rate limiting for Chelsio T4/T5 adapters David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1471848004.git.rahul.lakkireddy@chelsio.com \
--to=rahul.lakkireddy@chelsio.com \
--cc=davem@davemloft.net \
--cc=hariprasad@chelsio.com \
--cc=indranil@chelsio.com \
--cc=leedom@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).