From: Denis Bolotin <denis.bolotin@cavium.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>
Cc: Denis Bolotin <denis.bolotin@cavium.com>
Subject: [PATCH net-next v3 0/3] qed: Add Multi-TC RoCE support
Date: Tue, 7 Aug 2018 15:48:07 +0300 [thread overview]
Message-ID: <20180807124810.17386-1-denis.bolotin@cavium.com> (raw)
Hi Dave,
This patch series adds support for multiple concurrent traffic classes for RoCE.
The first three patches enable the required parts of the driver to learn the TC
configuration, and the last one makes use of it to enable the feature.
Please consider applying this to net-next.
V1->V2:
-------
Avoid allocation in qed_dcbx_get_priority_tc().
Move qed_dcbx_get_priority_tc() out of CONFIG_DCB section since it doesn't call
qed_dcbx_query_params() anymore.
v2->V3:
-------
patch 1/3:
qed_dcbx_get_priority_tc() always returns a valid TC by value. In error cases,
it returns QED_DCBX_DEFAULT_TC (currently defined 0).
patch 3/3:
Cosmetic changes in qed_dev.c.
Denis Bolotin (3):
qed: Add DCBX API - qed_dcbx_get_priority_tc()
qed: Add a flag which indicates if offload TC is set
qed: Add Multi-TC RoCE support
drivers/net/ethernet/qlogic/qed/qed.h | 13 +++-
drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 20 ++++-
drivers/net/ethernet/qlogic/qed/qed_dcbx.h | 3 +
drivers/net/ethernet/qlogic/qed/qed_dev.c | 113 +++++++++++++++++++++++++----
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 3 +-
drivers/net/ethernet/qlogic/qed/qed_roce.c | 54 ++++++++++----
6 files changed, 171 insertions(+), 35 deletions(-)
--
1.8.3.1
next reply other threads:[~2018-08-07 15:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 12:48 Denis Bolotin [this message]
2018-08-07 12:48 ` [PATCH net-next v3 1/3] qed: Add DCBX API - qed_dcbx_get_priority_tc() Denis Bolotin
2018-08-07 12:48 ` [PATCH net-next v3 2/3] qed: Add a flag which indicates if offload TC is set Denis Bolotin
2018-08-07 12:48 ` [PATCH net-next v3 3/3] qed: Add Multi-TC RoCE support Denis Bolotin
2018-08-07 20:22 ` [PATCH net-next v3 0/3] " 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=20180807124810.17386-1-denis.bolotin@cavium.com \
--to=denis.bolotin@cavium.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/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