Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/iw_cm: Export tos field to iwarp providers

rdma-cma/iw_cm: Export tos field to iwarp providers

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

authored by

Steve Wise and committed by
Doug Ledford
68cdba06 e2608180

+3
+2
drivers/infiniband/core/cma.c
··· 1600 1600 if (IS_ERR(id)) 1601 1601 return PTR_ERR(id); 1602 1602 1603 + id->tos = id_priv->tos; 1603 1604 id_priv->cm_id.iw = id; 1604 1605 1605 1606 memcpy(&id_priv->cm_id.iw->local_addr, cma_src_addr(id_priv), ··· 2848 2847 if (IS_ERR(cm_id)) 2849 2848 return PTR_ERR(cm_id); 2850 2849 2850 + cm_id->tos = id_priv->tos; 2851 2851 id_priv->cm_id.iw = cm_id; 2852 2852 2853 2853 memcpy(&cm_id->local_addr, cma_src_addr(id_priv),
+1
include/rdma/iw_cm.h
··· 91 91 /* Used by provider to add and remove refs on IW cm_id */ 92 92 void (*add_ref)(struct iw_cm_id *); 93 93 void (*rem_ref)(struct iw_cm_id *); 94 + u8 tos; 94 95 }; 95 96 96 97 struct iw_cm_conn_param {