Re: [PATCH rdma-next v1 0/4] GRH required

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

 



On 7/4/2018 3:57 PM, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Hi,

This series from Artemy and Jason fixes long standing problem caused by
overloaded bit in PortInfo CapabilityMask in the kernel.

Such problem was discovered while Artemy proposed a way to expose
grh_required field to user space applications through rdma-core.

In addition to the fixes, this series exposes "GRH required" flag.


The rdma-core part was updated in below PR [1] to match this kernel series.

[1] https://github.com/linux-rdma/rdma-core/pull/326

Thanks

Artemy Kovalyov (2):
   RDMA: Validate grh_required when handling AVs
   IB/uverbs: Pass IB_UVERBS_QPF_GRH_REQUIRED to user space

Jason Gunthorpe (2):
   RDMA: Fix storage of PortInfo CapabilityMask in the kernel
   RDMA/hfi1: Move grh_required into update_sm_ah

  drivers/infiniband/core/sa_query.c              | 32 +++++++++++++------
  drivers/infiniband/core/uverbs_cmd.c            | 26 ++++++++++++++-
  drivers/infiniband/core/verbs.c                 |  3 +-
  drivers/infiniband/hw/bnxt_re/ib_verbs.c        |  4 +--
  drivers/infiniband/hw/hfi1/verbs.c              |  9 ------
  drivers/infiniband/hw/mlx4/main.c               |  3 +-
  drivers/infiniband/hw/mlx5/main.c               | 27 ++++++++++------
  drivers/infiniband/hw/ocrdma/ocrdma_verbs.c     |  9 +++---
  drivers/infiniband/hw/qedr/verbs.c              |  2 +-
  drivers/infiniband/hw/qib/qib_verbs.h           |  3 --
  drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c |  3 +-
  include/rdma/ib_mad.h                           | 33 +++++++++++++++++++
  include/rdma/ib_verbs.h                         | 42 +++++++++----------------
  include/uapi/rdma/ib_user_ioctl_verbs.h         | 42 +++++++++++++++++++++++++
  include/uapi/rdma/ib_user_verbs.h               |  5 +--
  15 files changed, 170 insertions(+), 73 deletions(-)

--
2.14.4

--
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


--
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