[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180807124810.17386-1-denis.bolotin@cavium.com>
Date: Tue, 7 Aug 2018 15:48:07 +0300
From: Denis Bolotin <denis.bolotin@...ium.com>
To: <davem@...emloft.net>, <netdev@...r.kernel.org>
CC: Denis Bolotin <denis.bolotin@...ium.com>
Subject: [PATCH net-next v3 0/3] qed: Add Multi-TC RoCE support
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
Powered by blists - more mailing lists