From: Yishai Hadas <yishaih-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Parav Pandit <pandit.parav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
alexv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH for-next 2/7] IB: Introduce Work Queue object and its verbs
Date: Thu, 15 Oct 2015 17:12:51 +0300 [thread overview]
Message-ID: <561FB463.8030602@dev.mellanox.co.il> (raw)
In-Reply-To: <CAG53R5V7u7o+cVQnqhfjXdUjKJRVBiMx5CF3snWAWKG6ZbWMow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 10/15/2015 12:13 PM, Parav Pandit wrote:
> Just curious, why does WQ need to be bind to PD?
> Isn't ucontext sufficient?
> Or because kcontext doesn't exist, PD serves that role?
> Or Is this just manifestation of how hardware behave?
PD is an attribute of a work queue (i.e. send/receive queue), it's used
by the hardware for security validation before scattering to a memory
region. For that, an external WQ object needs a PD, letting the
hardware makes that validation.
> Since you mentioned, "QP can be configured to use "external" WQ
> object", it might be worth to reuse the WQ across multiple QPs of
> different PD?
Correct, external WQ can be used across multiple QPs, in that case its
PD is used by the hardware for security validation when it accesses to
the MR, in that case the QP's PD is not in use.
> Because MR and QP validation check has to happen among MR and actual
> QP and might not require that check against WQ.
No, in that case of an external WQ its PD is used and the QP's PD is not
in use.
--
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
next prev parent reply other threads:[~2015-10-15 14:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 7:16 [PATCH for-next 0/7] Verbs RSS Yishai Hadas
[not found] ` <1444893410-13242-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-10-15 7:16 ` [PATCH for-next 1/7] net/mlx5_core: Expose transobj APIs from mlx5 core Yishai Hadas
2015-10-15 7:16 ` [PATCH for-next 2/7] IB: Introduce Work Queue object and its verbs Yishai Hadas
[not found] ` <1444893410-13242-3-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-10-15 8:50 ` Sagi Grimberg
[not found] ` <561F68D0.4050205-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-10-18 15:13 ` Yishai Hadas
2015-10-15 9:13 ` Parav Pandit
[not found] ` <CAG53R5V7u7o+cVQnqhfjXdUjKJRVBiMx5CF3snWAWKG6ZbWMow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-15 14:12 ` Yishai Hadas [this message]
[not found] ` <561FB463.8030602-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-10-15 15:17 ` Parav Pandit
[not found] ` <CAG53R5U256Nt=3xd3sVUuf8J1icdK5YEiQFoQjR_HB_=5-cVww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-15 16:25 ` Yishai Hadas
[not found] ` <561FD375.3000205-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-10-15 16:49 ` Parav Pandit
[not found] ` <CAG53R5UmEhOh3n-+9qMoDthAtROdWQXstwqAFxzx8Urx1ZETnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-18 15:08 ` Yishai Hadas
[not found] ` <5623B5D3.2020206-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-10-18 15:15 ` Parav Pandit
[not found] ` <CAG53R5VFK20e-=1VANya3XQCWts0wyhttsdp+SVJ=MR_27smnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-18 15:38 ` Devesh Sharma
2015-10-15 7:16 ` [PATCH for-next 3/7] IB/uverbs: Add WQ support Yishai Hadas
2015-10-15 7:16 ` [PATCH for-next 4/7] IB/mlx5: Add receive Work Queue verbs Yishai Hadas
2015-10-15 7:16 ` [PATCH for-next 5/7] IB: Introduce Receive Work Queue indirection table Yishai Hadas
2015-10-15 7:16 ` [PATCH for-next 6/7] IB/uverbs: Introduce RWQ Indirection table Yishai Hadas
2015-10-15 7:16 ` [PATCH for-next 7/7] IB/mlx5: Add Receive Work Queue Indirection table operations 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=561FB463.8030602@dev.mellanox.co.il \
--to=yishaih-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=alexv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pandit.parav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=tzahio-VPRAkNaXOzVWk0Htik3J/w@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.