iw_cxgb4: use listening ep tos when accepting new connections
authorSteve Wise <swise@opengridcomputing.com>
Fri, 1 Feb 2019 20:44:37 +0000 (12:44 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Feb 2019 23:18:06 +0000 (16:18 -0700)
commit7235ea227e19100ca748ccd6279322a166a90953
tree01c7d576ca5815e8580df0779dfca43f5b31c829
parent926ba19b3574f6a80823a42484877ed65e91da9c
iw_cxgb4: use listening ep tos when accepting new connections

If the parent listening endpoint has a service type set, then use that
when setting up the connection.  This allows server-side applications to
mandate the tos for passive side connections via rdma_set_service_type()
on the listening endpoints.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cm.c