mbox series

[rdma-next,0/5] RDMA cm_id type of service fixes

Message ID cover.1549054042.git.swise@opengridcomputing.com (mailing list archive)
Headers show
Series RDMA cm_id type of service fixes | expand

Message

Steve Wise Feb. 1, 2019, 8:47 p.m. UTC
Hey,

This series makes an enhancement to the RDMACM and the IWCM to enable
applications to set the type of service (tos) via rdma_set_service_type()
on listening cm_ids, to allow connections established via those cm_ids
to use the tos set on the listening endpoint.

It also fixes a few bugs in iw_cxgb4 where the tos wasn't being handled
correcty.

Steve Wise (5):
  RDMA/cma: listening device cm_ids should inherit tos
  RDMA/iwcm: add tos_set bool to iw_cm struct
  iw_cxgb4: use listening ep tos when accepting new connections
  iw_cxgb4: use tos when importing the endpoint
  iw_cxgb4: use tos when finding ipv6 routes

 drivers/infiniband/core/cma.c    |  4 ++++
 drivers/infiniband/hw/cxgb4/cm.c | 16 +++++++++++-----
 include/rdma/iw_cm.h             |  1 +
 3 files changed, 16 insertions(+), 5 deletions(-)

Comments

Jason Gunthorpe Feb. 8, 2019, 11:21 p.m. UTC | #1
On Fri, Feb 01, 2019 at 12:47:22PM -0800, Steve Wise wrote:
> Hey,
> 
> This series makes an enhancement to the RDMACM and the IWCM to enable
> applications to set the type of service (tos) via rdma_set_service_type()
> on listening cm_ids, to allow connections established via those cm_ids
> to use the tos set on the listening endpoint.
> 
> It also fixes a few bugs in iw_cxgb4 where the tos wasn't being handled
> correcty.
> 
> Steve Wise (5):
>   RDMA/cma: listening device cm_ids should inherit tos
>   RDMA/iwcm: add tos_set bool to iw_cm struct
>   iw_cxgb4: use listening ep tos when accepting new connections
>   iw_cxgb4: use tos when importing the endpoint
>   iw_cxgb4: use tos when finding ipv6 routes

Applied to for-next

Thanks,
Jason