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 21:12:04 +0300 [thread overview]
Message-ID: <20240401181204.GC11187@unreal> (raw)
In-Reply-To: <1f786e1b-e8ff-1d6f-7c4d-89724eda6712@hisilicon.com>
On Mon, Apr 01, 2024 at 09:25:39PM +0800, Junxian Huang wrote:
>
>
> On 2024/4/1 19:48, Leon Romanovsky wrote:
> > 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?
>
> TC mode indicates whether the HW is configured as DSCP mode or VLAN priority
> mode currently.
>
> > 2. Did you post rdma-core PR?
>
> Not yet. I was meant to wait until this patch is applied. Should I post it
> right now?
Yes, for any UAPI changes, we require to have rdma-core PR.
Thanks
>
> Junxian
>
> >
> > Thanks
next prev parent reply other threads:[~2024-04-01 18:12 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
2024-04-01 13:25 ` Junxian Huang
2024-04-01 18:12 ` Leon Romanovsky [this message]
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=20240401181204.GC11187@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.