mbox series

[for-rc,0/2] Bugfix or cleanup for CQE size

Message ID 20210927125557.15031-1-liangwenpeng@huawei.com (mailing list archive)
Headers show
Series Bugfix or cleanup for CQE size | expand

Message

Wenpeng Liang Sept. 27, 2021, 12:55 p.m. UTC
Specify the size of CQE when copying CQE, and add the check of CQE size of
user space.

Wenpeng Liang (2):
  RDMA/hns: Fix the size setting error when copying CQE in clean_cq()
  RDMA/hns: Add the check of the CQE size of the user space

 drivers/infiniband/hw/hns/hns_roce_cq.c    | 31 +++++++++++++++-------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c |  2 +-
 2 files changed, 23 insertions(+), 10 deletions(-)

--
2.33.0

Comments

Jason Gunthorpe Sept. 27, 2021, 7:17 p.m. UTC | #1
On Mon, Sep 27, 2021 at 08:55:55PM +0800, Wenpeng Liang wrote:
> Specify the size of CQE when copying CQE, and add the check of CQE size of
> user space.
> 
> Wenpeng Liang (2):
>   RDMA/hns: Fix the size setting error when copying CQE in clean_cq()
>   RDMA/hns: Add the check of the CQE size of the user space

Applied to for-rc, thanks

Jason