public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: brendan doyle <brendan.doyle-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Boris Chiu <boris.chiu-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
	"Weiny, Ira" <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Pramod Gunjikar
	<Pramod.Gunjikar-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Fwd: Re: [PATCH] libibmad: To reserve upper 8 bits of tid used by solaris SRIOV driver
Date: Thu, 21 Mar 2013 20:40:59 +0000	[thread overview]
Message-ID: <514B705B.8030500@oracle.com> (raw)
In-Reply-To: <20130321184507.GB8044-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>


On 21/03/2013 18:45, Jason Gunthorpe wrote:
> On Thu, Mar 21, 2013 at 06:14:47PM +0000, brendan doyle wrote:
>> Ok so I think we are essentially on the same page...
>>
>>> This is already the case, only the lower 32 bits are available for
>>> application use, the upper 32 bits are all reserved for the kernel,
>> This is not an IB spec defined delineation, but an OF one. Perhaps
>> there was some community discussion to architect it this way but it
>> is not documented. At the very least this patch should document
>> this.
> Well, it is how /dev/umad works - IBA does not define the umad api,
> Solaris is copying the Linux umad API, so it should work the same..
>
> There is no need to specify the format of the upper 32 bits, it is
> kernel specific and has no impact on the application. The kernel
> should use those bits as necessary to demux flows between users of
> umad, be they processes or VMs.
>
>> So how about modifying the patch such that mad_trid() is something like:
> Looks like a reasonable clarification of existing usage to me.

Great, so we'll modify the patch and resubmit.

Thanks

>
> Jason

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

      parent reply	other threads:[~2013-03-21 20:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 19:35 [PATCH] libibmad: To reserve upper 8 bits of tid used by solaris SRIOV driver Boris Chiu
     [not found] ` <513F8386.5070208-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-03-20 22:11   ` Ira Weiny
     [not found]     ` <CAMLCd9LOuajya0_s4NhuUD4hUtHnc_NLi8sELnsEprash6t5Eg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-20 22:33       ` Jason Gunthorpe
     [not found]         ` <514A3996.601@oracle.com>
     [not found]           ` <514A3996.601-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-03-21  0:20             ` Fwd: " brendan doyle
     [not found]               ` <514A525F.7030706-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-03-21  0:51                 ` Weiny, Ira
     [not found]                   ` <2807E5FD2F6FDA4886F6618EAC48510EBB428F-8k97q/ur5Z1cIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-03-21  1:23                     ` brendan doyle
2013-03-21  5:07                 ` Jason Gunthorpe
     [not found]                   ` <20130321050709.GA20882-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2013-03-21 18:14                     ` brendan doyle
     [not found]                       ` <514B4E17.5020703-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2013-03-21 18:45                         ` Jason Gunthorpe
     [not found]                           ` <20130321184507.GB8044-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2013-03-21 20:40                             ` brendan doyle [this message]

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=514B705B.8030500@oracle.com \
    --to=brendan.doyle-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
    --cc=Pramod.Gunjikar-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=boris.chiu-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@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