* Setting ACK timeout for QP's created using RDMA_CM.
@ 2010-01-29 14:35 Hari Subramoni
[not found] ` <Pine.GSO.4.40.1001290933060.4760-100000-ItQMRKI8FOvVp4Hyp30HIZ9NZdITTVap@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Hari Subramoni @ 2010-01-29 14:35 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi,
I am looking for the IB equivalent of the 're-transmission timeout' we
have in ethernet. I was going through the QP attributes and came across
this field in 'struct ibv_qp_attr'
uint8_t timeout; /* Local ack timeout for primary path (valid only for RC QPs)*/
I believe that this is the period of time (in seconds) that the IB HCA
will wait for the ACK for a packet it sent out before re-transmitting? I
was looking as to whether this field can be modified when creating a QP
using RDMA_CM.
Thanks in advance,
Hari.
--
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] 4+ messages in thread
* RE: Setting ACK timeout for QP's created using RDMA_CM.
[not found] ` <Pine.GSO.4.40.1001290933060.4760-100000-ItQMRKI8FOvVp4Hyp30HIZ9NZdITTVap@public.gmane.org>
@ 2010-01-29 16:43 ` Hefty, Sean
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF12D589ABB6-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Hefty, Sean @ 2010-01-29 16:43 UTC (permalink / raw)
To: Hari Subramoni; +Cc: linux-rdma
>uint8_t timeout; /* Local ack timeout for primary path (valid only for RC
>QPs)*/
>
>I believe that this is the period of time (in seconds) that the IB HCA
>will wait for the ACK for a packet it sent out before re-transmitting? I
>was looking as to whether this field can be modified when creating a QP
>using RDMA_CM.
This field is set based on the packet lifetime carried in the path record. If you're using opensm, there's probably a configuration option that can adjust this (subnet timeout, maybe?). The time given for the QP attribute is in 'IB time': 4.096 x 2 ^ timeout micro-seconds.
- 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] 4+ messages in thread
* RE: Setting ACK timeout for QP's created using RDMA_CM.
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF12D589ABB6-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2010-01-29 16:50 ` Hari Subramoni
2010-01-29 16:57 ` Hal Rosenstock
1 sibling, 0 replies; 4+ messages in thread
From: Hari Subramoni @ 2010-01-29 16:50 UTC (permalink / raw)
To: Hefty, Sean; +Cc: linux-rdma
Hi Sean,
Thanks a lot for the quick and detailed response... :).
Hari.
On Fri, 29 Jan 2010, Hefty, Sean wrote:
> >uint8_t timeout; /* Local ack timeout for primary path (valid only for RC
> >QPs)*/
> >
> >I believe that this is the period of time (in seconds) that the IB HCA
> >will wait for the ACK for a packet it sent out before re-transmitting? I
> >was looking as to whether this field can be modified when creating a QP
> >using RDMA_CM.
>
> This field is set based on the packet lifetime carried in the path record. If you're using opensm, there's probably a configuration option that can adjust this (subnet timeout, maybe?). The time given for the QP attribute is in 'IB time': 4.096 x 2 ^ timeout micro-seconds.
>
> - 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] 4+ messages in thread
* Re: Setting ACK timeout for QP's created using RDMA_CM.
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF12D589ABB6-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-01-29 16:50 ` Hari Subramoni
@ 2010-01-29 16:57 ` Hal Rosenstock
1 sibling, 0 replies; 4+ messages in thread
From: Hal Rosenstock @ 2010-01-29 16:57 UTC (permalink / raw)
To: Hefty, Sean; +Cc: Hari Subramoni, linux-rdma
On Fri, Jan 29, 2010 at 11:43 AM, Hefty, Sean <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>>uint8_t timeout; /* Local ack timeout for primary path (valid only for RC
>>QPs)*/
>>
>>I believe that this is the period of time (in seconds) that the IB HCA
>>will wait for the ACK for a packet it sent out before re-transmitting? I
>>was looking as to whether this field can be modified when creating a QP
>>using RDMA_CM.
>
> This field is set based on the packet lifetime carried in the path record. If you're using opensm, there's probably a configuration option that can adjust this (subnet timeout, maybe?).
Yes, OpenSM returns subnet_timeout as the SA PathRecord PacketLifeTime
assuming it's not loopback and no QoS set.
-- Hal
> The time given for the QP attribute is in 'IB time': 4.096 x 2 ^ timeout micro-seconds.
>
> - 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
>
--
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] 4+ messages in thread
end of thread, other threads:[~2010-01-29 16:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 14:35 Setting ACK timeout for QP's created using RDMA_CM Hari Subramoni
[not found] ` <Pine.GSO.4.40.1001290933060.4760-100000-ItQMRKI8FOvVp4Hyp30HIZ9NZdITTVap@public.gmane.org>
2010-01-29 16:43 ` Hefty, Sean
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF12D589ABB6-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-01-29 16:50 ` Hari Subramoni
2010-01-29 16:57 ` Hal Rosenstock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).