* RDMA_OPTION_ID_TOS option
@ 2013-02-27 15:34 Steve Wise
[not found] ` <512E27A1.3090201-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Steve Wise @ 2013-02-27 15:34 UTC (permalink / raw)
To: Hefty, Sean; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hey Sean,
Are there any examples out there of IB applications that use
RDMA_OPTION_ID_TOS? I'm looking to make this available for iwarp
transports, but I'm still trying to understand how its currently used,
and what values are used. Since this option is level RDMA_OPTION_ID, I
guess it is transport-neutral?
Thanks,
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] 2+ messages in thread
* RE: RDMA_OPTION_ID_TOS option
[not found] ` <512E27A1.3090201-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
@ 2013-02-28 6:29 ` Hefty, Sean
0 siblings, 0 replies; 2+ messages in thread
From: Hefty, Sean @ 2013-02-28 6:29 UTC (permalink / raw)
To: Steve Wise; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Are there any examples out there of IB applications that use
> RDMA_OPTION_ID_TOS? I'm looking to make this available for iwarp
> transports, but I'm still trying to understand how its currently used,
> and what values are used. Since this option is level RDMA_OPTION_ID, I
> guess it is transport-neutral?
It's transport neutral, but only defined to do anything in the kernel with IB. For IB, it ends up being used as input into the path record query (as qos_class). The SA uses the value as input for the resulting path record, most likely to set the SL value.
For iWarp I would expect it to behave similar to RFC 2474, which I haven't look at in a while. Note the RoCE ends up using the TOS value to set the path record SL using this code:
route->path_rec->sl = netdev_get_prio_tc_map(
ndev->priv_flags & IFF_802_1Q_VLAN ?
vlan_dev_real_dev(ndev) : ndev,
rt_tos2priority(id_priv->tos));
I don't know if this helps with iWarp, but it may be worth looking at those calls in more detail.
- Sean
--
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] 2+ messages in thread
end of thread, other threads:[~2013-02-28 6:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 15:34 RDMA_OPTION_ID_TOS option Steve Wise
[not found] ` <512E27A1.3090201-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2013-02-28 6:29 ` Hefty, Sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox