From: Leon Romanovsky <leon@kernel.org>
To: Junxian Huang <huangjunxian6@hisilicon.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, linuxarm@huawei.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH for-next] RDMA/hns: Support DSCP
Date: Mon, 1 Apr 2024 14:48:53 +0300 [thread overview]
Message-ID: <20240401114853.GA73174@unreal> (raw)
In-Reply-To: <20240315093551.1650088-1-huangjunxian6@hisilicon.com>
On Fri, Mar 15, 2024 at 05:35:51PM +0800, Junxian Huang wrote:
> Add support for DSCP configuration. For DSCP, get dscp-prio mapping
> via hns3 nic driver api .get_dscp_prio() and fill the SL (in WQE for
> UD or in QPC for RC) with the priority value. The prio-tc mapping is
> configured to HW by hns3 nic driver. HW will select a corresponding
> TC according to SL and the prio-tc mapping.
>
> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
> ---
> drivers/infiniband/hw/hns/hns_roce_ah.c | 32 +++++---
> drivers/infiniband/hw/hns/hns_roce_device.h | 6 ++
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 86 ++++++++++++++++-----
> drivers/infiniband/hw/hns/hns_roce_qp.c | 13 ++++
> include/uapi/rdma/hns-abi.h | 9 ++-
> 5 files changed, 117 insertions(+), 29 deletions(-)
1. What is TC mode?
2. Did you post rdma-core PR?
Thanks
next prev parent reply other threads:[~2024-04-01 11:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 9:35 [PATCH for-next] RDMA/hns: Support DSCP Junxian Huang
2024-04-01 11:48 ` Leon Romanovsky [this message]
2024-04-01 13:25 ` Junxian Huang
2024-04-01 18:12 ` Leon Romanovsky
2024-04-02 2:55 ` Junxian Huang
2024-04-08 11:28 ` Leon Romanovsky
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=20240401114853.GA73174@unreal \
--to=leon@kernel.org \
--cc=huangjunxian6@hisilicon.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linuxarm@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.