mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Junxian Huang <huangjunxian6@hisilicon.com>
To: Leon Romanovsky <leon@kernel.org>
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: Tue, 2 Apr 2024 10:55:41 +0800	[thread overview]
Message-ID: <9bfc0185-dbd3-3511-23f2-983312c04f39@hisilicon.com> (raw)
In-Reply-To: <20240401181204.GC11187@unreal>



On 2024/4/2 2:12, Leon Romanovsky wrote:
> 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
> 

PR has been posted.

Thanks,
Junxian

>>
>> Junxian
>>
>>>
>>> Thanks

  reply	other threads:[~2024-04-02  2:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  9:35 Junxian Huang
2024-04-01 11:48 ` Leon Romanovsky
2024-04-01 13:25   ` Junxian Huang
2024-04-01 18:12     ` Leon Romanovsky
2024-04-02  2:55       ` Junxian Huang [this message]
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=9bfc0185-dbd3-3511-23f2-983312c04f39@hisilicon.com \
    --to=huangjunxian6@hisilicon.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®