public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Prasanna Vv <prasanna.vv-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: QoS SL=>VL issue in user mode librdmacm‏
Date: Fri, 25 Nov 2011 18:57:09 +0530	[thread overview]
Message-ID: <4ECF97AD.90904@oracle.com> (raw)

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

             reply	other threads:[~2011-11-25 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 13:27 Prasanna Vv [this message]
     [not found] ` <4ECF97AD.90904-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2011-11-25 13:35   ` QoS SL=>VL issue in user mode librdmacm‏ Prasanna Vv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECF97AD.90904@oracle.com \
    --to=prasanna.vv-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox