Re: [RESEND] [PATCH v2 for-next] RDMA/hns: Support flush cqe for hip08 in kernel space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 02, 2018 at 10:38:05AM +0800, Yixian Liu wrote:
> According to IB protocol, there are some cases that work
> requests must return the flush error completion status
> through the completion queue. Due to hardware limitation,
> the driver needs to assist the flush process.
> 
> This patch adds the support of flush cqe for hip08 in the
> cases that needed, such as poll cqe, post send, post recv
> and aeqe handle.
> 
> The patch also considered the compatibility between kernel
> and user space.
> 
> Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx>
> ---
> v1->v2:
>   - Revise hr_qp->ibqp.pd->uobject to hr_qp->ibqp.uobject
>     according to Jason's comment.
> ---
>  drivers/infiniband/hw/hns/hns_roce_db.c     |   2 +
>  drivers/infiniband/hw/hns/hns_roce_device.h |  18 ++-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 190 +++++++++++++++++++++++++---
>  drivers/infiniband/hw/hns/hns_roce_qp.c     |  50 +++++++-
>  include/uapi/rdma/hns-abi.h                 |   1 +
>  5 files changed, 241 insertions(+), 20 deletions(-)

Applied to for-next, thanks

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux