* [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
@ 2014-06-06 18:57 Steve Wise
[not found] ` <20140606185747.19185.67487.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Steve Wise @ 2014-06-06 18:57 UTC (permalink / raw)
To: roland-DgEjT+Ai2ygdnm+yROfE0A, sean.hefty-ral2JQCrhuEAvxtiuMwx3w
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Signed-off-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
---
drivers/infiniband/core/cma.c | 2 ++
include/rdma/iw_cm.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index d570030..beda319 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -1593,6 +1593,7 @@ static int cma_iw_listen(struct rdma_id_private *id_priv, int backlog)
if (IS_ERR(id))
return PTR_ERR(id);
+ id->tos = id_priv->tos;
id_priv->cm_id.iw = id;
memcpy(&id_priv->cm_id.iw->local_addr, cma_src_addr(id_priv),
@@ -2840,6 +2841,7 @@ static int cma_connect_iw(struct rdma_id_private *id_priv,
if (IS_ERR(cm_id))
return PTR_ERR(cm_id);
+ cm_id->tos = id_priv->tos;
id_priv->cm_id.iw = cm_id;
memcpy(&cm_id->local_addr, cma_src_addr(id_priv),
diff --git a/include/rdma/iw_cm.h b/include/rdma/iw_cm.h
index 1017e0b..036bd27 100644
--- a/include/rdma/iw_cm.h
+++ b/include/rdma/iw_cm.h
@@ -91,6 +91,7 @@ struct iw_cm_id {
/* Used by provider to add and remove refs on IW cm_id */
void (*add_ref)(struct iw_cm_id *);
void (*rem_ref)(struct iw_cm_id *);
+ u8 tos;
};
struct iw_cm_conn_param {
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
[not found] ` <20140606185747.19185.67487.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
@ 2014-06-10 14:37 ` Steve Wise
[not found] ` <53971847.6010801-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Steve Wise @ 2014-06-10 14:37 UTC (permalink / raw)
To: Roland Dreier, sean.hefty-ral2JQCrhuEAvxtiuMwx3w
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hey Sean/Roland,
Does this look good for 3.16?
Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
[not found] ` <53971847.6010801-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
@ 2014-06-10 15:09 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823739930FAFC-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Hefty, Sean @ 2014-06-10 15:09 UTC (permalink / raw)
To: Steve Wise, Roland Dreier; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
> Does this look good for 3.16?
I didn't see where it was used.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
[not found] ` <1828884A29C6694DAF28B7E6B8A823739930FAFC-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-06-10 15:11 ` Steve Wise
2014-06-10 20:43 ` Hefty, Sean
0 siblings, 1 reply; 5+ messages in thread
From: Steve Wise @ 2014-06-10 15:11 UTC (permalink / raw)
To: 'Hefty, Sean', 'Roland Dreier'
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
> -----Original Message-----
> From: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [mailto:linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On
> Behalf Of Hefty, Sean
> Sent: Tuesday, June 10, 2014 10:09 AM
> To: Steve Wise; Roland Dreier
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: RE: [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
>
> > Does this look good for 3.16?
>
> I didn't see where it was used.
It will be. :)
So you want to hold off on this until the iw_cxgb4 changes are made?
Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers
2014-06-10 15:11 ` Steve Wise
@ 2014-06-10 20:43 ` Hefty, Sean
0 siblings, 0 replies; 5+ messages in thread
From: Hefty, Sean @ 2014-06-10 20:43 UTC (permalink / raw)
To: Steve Wise, 'Roland Dreier'; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
> So you want to hold off on this until the iw_cxgb4 changes are made?
I think that makes sense.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-10 20:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06 18:57 [PATCH] rdma-cma/iw_cm: export tos field to iwarp providers Steve Wise
[not found] ` <20140606185747.19185.67487.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
2014-06-10 14:37 ` Steve Wise
[not found] ` <53971847.6010801-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2014-06-10 15:09 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823739930FAFC-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-10 15:11 ` Steve Wise
2014-06-10 20:43 ` Hefty, Sean
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.