• Yixian Liu's avatar
    RDMA/hns: Support flush cqe for hip08 in kernel space · 0425e3e6
    Yixian Liu authored
    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: default avatarYixian Liu <liuyixian@huawei.com>
    Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
    0425e3e6
hns_roce_qp.c 29.8 KB