public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* QoS SL=>VL issue in user mode librdmacm‏
@ 2011-11-25 13:27 Prasanna Vv
       [not found] ` <4ECF97AD.90904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Prasanna Vv @ 2011-11-25 13:27 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi
I configure QoS in user mode  using librdmacm call:
rdma_set_option(cm_id, RDMA_OPTION_ID,RDMA_OPTION_ID_TOS, &tos, sizeof _tos)

After the connection is established, i query ibv_query_qp (and also 
cm_id->route.path_rec->sl) to check SL, which is correct as per the qos 
choice from qos_policy.config settings.

But the data transfer is not happening in correct VL as per SL=>VL.

For example if SL is 3 the data transfer VL should be 3 (based on 
SL2VLmaptable).
Instead data is always transfered on VL:0, irrepective of SL value.

Interestingly, the same thing is working properly in kernel mode when i 
set tos using the call:
  rdma_set_service_type(cm_id, conn->c_tos);
If i use kernel mode rdma cm, SL=>VL is correct, data transfer post send 
takes place on VL based on SL.

Do you have clue why the user mode libibverb is not tranfering on VL 
based on SL.

Thanks,
Prasanna

--
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

* QoS SL=>VL issue in user mode librdmacm‏
       [not found] ` <4ECF97AD.90904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2011-11-25 13:35   ` Prasanna Vv
  0 siblings, 0 replies; 2+ messages in thread
From: Prasanna Vv @ 2011-11-25 13:35 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi
I configure QoS in user mode  using librdmacm call:
rdma_set_option(cm_id, RDMA_OPTION_ID,RDMA_OPTION_ID_TOS, &tos, sizeof 
_tos)

After the connection is established, i query ibv_query_qp (and also 
cm_id->route.path_rec->sl) to check SL, which is correct as per the qos 
choice from qos_policy.config settings.

But the data transfer is not happening in correct VL as per SL=>VL.

For example if SL is 3 the data transfer VL should be 3 (based on 
SL2VLmaptable).
Instead data is always transfered on VL:0, irrepective of SL value.

Interestingly, the same thing is working properly in kernel mode when i 
set tos using the call:
  rdma_set_service_type(cm_id, conn->c_tos);
If i use kernel mode rdma cm, SL=>VL is correct, data transfer post send 
takes place on VL based on SL.

Do you have clue why the user mode libibverb is not tranfering on VL 
based on SL.

Thanks,
Prasanna

--
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:[~2011-11-25 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 13:27 QoS SL=>VL issue in user mode librdmacm‏ Prasanna Vv
     [not found] ` <4ECF97AD.90904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2011-11-25 13:35   ` Prasanna Vv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox