All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Alex Rosenbaum <rosenbaumalex-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V1 rdma-core 1/3] verbs: Enable creating QP with a given source QP number
Date: Thu, 7 Sep 2017 13:29:09 -0600	[thread overview]
Message-ID: <20170907192909.GA5364@obsidianresearch.com> (raw)
In-Reply-To: <CAFgAxU8QqEQwCMnu=_1hjRVMHJ_242pXykxHuJ9PftxTV77TUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, Sep 07, 2017 at 09:46:39PM +0300, Alex Rosenbaum wrote:
> On Thu, Sep 7, 2017 at 6:16 PM, Jason Gunthorpe
> <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> wrote:
> > On Thu, Sep 07, 2017 at 03:12:05PM +0300, Yishai Hadas wrote:
> >> +uint32_t                source_qpn;     /* Source QP number, creation flag IBV_QP_CREATE_SOURCE_QPN should be set */
> >
> > I think more discussion in the man page is required for this
> > feature. Eg that it is a SEND ONLY QP and only works for UD.
> 
> Verbs UD QP can handle receive of ingress packets sent with
> BTH.DestQPN = ibv_qp->qp_num. This is applicable also in this case.
> 
> Also, future implementation might include RC source qpn use case. This
> can be accomplished by setting the HCA's QPN to be the same as the
> 'source qpn' value, and returning that to the user.
> 
> We prefer not to limit the API definition in the man page.

Well, you have to define what the API does, specifically.

If you expect it to RX then you need to specify that. Does it steal
the traffic? Does it get a copy? Do you need to use flow steering to
do that?

Same for RC.

There is nothing wrong with specifying the API limit that exist today,
it helps people understand what the feature is and how to use it.

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:[~2017-09-07 19:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 12:12 [PATCH V1 rdma-core 0/3] Verbs support for source QPN Yishai Hadas
     [not found] ` <1504786327-820-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-09-07 12:12   ` [PATCH V1 rdma-core 1/3] verbs: Enable creating QP with a given source QP number Yishai Hadas
     [not found]     ` <1504786327-820-2-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-09-07 15:16       ` Jason Gunthorpe
     [not found]         ` <20170907151641.GC20644-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-09-07 18:46           ` Alex Rosenbaum
     [not found]             ` <CAFgAxU8QqEQwCMnu=_1hjRVMHJ_242pXykxHuJ9PftxTV77TUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-07 19:29               ` Jason Gunthorpe [this message]
     [not found]                 ` <20170907192909.GA5364-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-09-10  6:54                   ` Alex Rosenbaum
     [not found]                     ` <CAFgAxU8bkhb6tvB=1GUzqW2Dg-43Y+pZkDaXvFOE+5CEMLs6Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-11 16:28                       ` Jason Gunthorpe
     [not found]                         ` <20170911162854.GE32117-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-09-12 11:38                           ` Yishai Hadas
2017-09-07 12:12   ` [PATCH V1 rdma-core 2/3] mlx5: Add support for managing " Yishai Hadas
2017-09-07 12:12   ` [PATCH V1 rdma-core 3/3] mlx5: Add support for sending UD packets with source QPN Yishai Hadas
2017-09-13 11:35   ` [PATCH V1 rdma-core 0/3] Verbs support for " Yishai Hadas

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=20170907192909.GA5364@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=rosenbaumalex-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.