Re: [PATCH v5 rdma-next 0/3] Add SRQ support for Cavium adapters.

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

 



On Thu, Aug 09, 2018 at 05:29:35PM +0300, Yuval Bason wrote:
> Shared Receive Queues (SRQ) holds receive requests for all of the
> incoming messages in all of the QPs that are associated with this SRQ.
> Using SRQs decreases the total number of posted receive request and
> reduces the memory foot print of IB applications.
> 
> This patch series adds SRQ support to the qedr driver.
> 
> Yuval Bason (3):
>   qedr: Add wrapping generic structure for qpidr and adjust idr
>     routines.
>   qedr: Add support for kernel mode SRQ's
>   qedr: Add user space support for SRQ
> 
> Signed-off-by: Michal Kalderon <michal.kalderon@xxxxxxxxxx>
> Signed-off-by: Yuval Bason <yuval.bason@xxxxxxxxxx>
> 
> Changes from v4 to v5:
> - Change the order between idr_remove and destroy_srq.
> - Use user's supplied value for sge_max.
> - Code cleanup.

Applied to for-next, with this warning fixed:

drivers/infiniband/hw/qedr/verbs.c: In function ‘qedr_create_qp’:
drivers/infiniband/hw/qedr/verbs.c:2047:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if (rdma_protocol_iwarp(&dev->ibdev, 1))
  ^~
drivers/infiniband/hw/qedr/verbs.c:2049:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   if (rc)
   ^~

Please make sure to compile your code with a modern compiler.

Thanks,
Jason



[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