Message ID | 20230804130418.41728-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [-next] RDMA/hns: Remove unused declaration hns_roce_modify_srq() | expand |
Thanks. Reviewed-by: Junxian Huang <huangjunxian6@hisilicon.com> On 2023/8/4 21:04, Yue Haibing wrote: > Commit c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode") > declared but never implemented this. > > Signed-off-by: Yue Haibing <yuehaibing@huawei.com> > --- > drivers/infiniband/hw/hns/hns_roce_device.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h > index 34e099efaae3..4dd6437ca410 100644 > --- a/drivers/infiniband/hw/hns/hns_roce_device.h > +++ b/drivers/infiniband/hw/hns/hns_roce_device.h > @@ -1159,9 +1159,6 @@ int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, > int hns_roce_create_srq(struct ib_srq *srq, > struct ib_srq_init_attr *srq_init_attr, > struct ib_udata *udata); > -int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, > - enum ib_srq_attr_mask srq_attr_mask, > - struct ib_udata *udata); > int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata); > > int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata);
On Fri, 04 Aug 2023 21:04:18 +0800, Yue Haibing wrote: > Commit c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode") > declared but never implemented this. > > Applied, thanks! [1/1] RDMA/hns: Remove unused declaration hns_roce_modify_srq() https://git.kernel.org/rdma/rdma/c/d952f54d01ec2e Best regards,
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index 34e099efaae3..4dd6437ca410 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -1159,9 +1159,6 @@ int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, int hns_roce_create_srq(struct ib_srq *srq, struct ib_srq_init_attr *srq_init_attr, struct ib_udata *udata); -int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, - enum ib_srq_attr_mask srq_attr_mask, - struct ib_udata *udata); int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata); int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata);
Commit c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode") declared but never implemented this. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> --- drivers/infiniband/hw/hns/hns_roce_device.h | 3 --- 1 file changed, 3 deletions(-)