[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fd68ff0c-8dcb-d60a-60eb-c4d7d34c4805@hisilicon.com>
Date: Tue, 26 Sep 2023 18:39:04 +0800
From: Junxian Huang <huangjunxian6@...ilicon.com>
To: Leon Romanovsky <leon@...nel.org>
CC: <jgg@...pe.ca>, <linux-rdma@...r.kernel.org>,
<linuxarm@...wei.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH for-next] RDMA/hns: Support SRQ record doorbell
On 2023/9/26 17:30, Leon Romanovsky wrote:
> On Wed, Sep 20, 2023 at 11:30:05AM +0800, Junxian Huang wrote:
>> From: Yangyang Li <liyangyang20@...wei.com>
>>
>> Compared with normal doorbell, using record doorbell can shorten the
>> process of ringing the doorbell and reduce the latency.
>>
>> Add a flag HNS_ROCE_CAP_FLAG_SRQ_RECORD_DB to allow FW to
>> enable/disable SRQ record doorbell.
>>
>> If the flag above is set, allocate the dma buffer for SRQ record
>> doorbell and write the buffer address into SRQC during SRQ creation.
>>
>> For userspace SRQ, add a flag HNS_ROCE_RSP_SRQ_CAP_RECORD_DB to notify
>> userspace whether the SRQ record doorbell is enabled.
>>
>> Signed-off-by: Yangyang Li <liyangyang20@...wei.com>
>> Signed-off-by: Junxian Huang <huangjunxian6@...ilicon.com>
>> ---
>> drivers/infiniband/hw/hns/hns_roce_device.h | 3 +
>> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 30 ++++++--
>> drivers/infiniband/hw/hns/hns_roce_srq.c | 85 ++++++++++++++++++++-
>> include/uapi/rdma/hns-abi.h | 13 +++-
>> 4 files changed, 120 insertions(+), 11 deletions(-)
>
> Junxian, do you plan to resubmit it this patch to fix kbuild error?
>
> Thanks
Yes. I'll resubmit soon.
Powered by blists - more mailing lists