From: Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>,
Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"oren-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<oren-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Tzahi Oved <tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH RFC v2 08/10] IB/mlx5: Support IB_WR_REG_SIG_MR
Date: Sun, 3 Nov 2013 14:20:02 +0200 [thread overview]
Message-ID: <52763F72.1080107@mellanox.com> (raw)
In-Reply-To: <527575D0.9050802-HInyCGIudOg@public.gmane.org>
On 11/2/2013 11:59 PM, Bart Van Assche wrote:
> On 2/11/2013 12:21, Or Gerlitz wrote:
>> On Fri, Nov 1, 2013 at 10:37 PM, Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
>> wrote:
>>> On 31/10/2013 5:24, Sagi Grimberg wrote:
>>>>
>>>> This patch implements IB_WR_REG_SIG_MR posted by the user.
>>>>
>>>> Baisically this WR involvs 3 WQEs in order to prepare and properly
>>>> register the signature layout:
>>>>
>>>> 1. post UMR WR to register the sig_mr in one of two possible ways:
>>>> * In case the user registered a single MR for data so the UMR
>>>> data
>>>> segment
>>>> consists of:
>>>> - single klm (data MR) passed by the user
>>>> - BSF with signature attributes requested by the user.
>>>> * In case the user registered 2 MRs, one for data and one for
>>>> protection,
>>>> the UMR consists of:
>>>> - strided block format which includes data and protection
>>>> MRs and
>>>> their repetitive block format.
>>>> - BSF with signature attributes requested by the user.
>>>>
>>>> 2. post SET_PSV in order to set the for the memory domain initial
>>>> signature parameters passed by the user.
>>>>
>>>> 3. post SET_PSV in order to set the for the wire domain initial
>>>> signature parameters passed by the user.
>>>>
>>>> This patch also introduces some helper functions to set the BSF
>>>> correctly
>>>> and determining the signature format selectors.
>>>
>>>
>>> Has it already been explained somewhere what the abbreviations KLM,
>>> BSF and
>>> PSV stand for ?
>>
>> Bart, these are all HW T10 related objects/concepts, we made an effort
>> to keep them contained within the mlx5 driver such that they don't
>> show up on the IB core layer. If this helps for the review, Sagi can
>> spare few words on each, sure.
>
> Hello Or,
>
> I would certainly appreciate it if these abbreviations could be
> clarified further. That would allow me to understand what has been
> explained in the above patch description :-)
>
> Bart.
>
>
Hey Bart,
As Or said, these concepts are vendor specific and not exposed to IB
core layer And their naming is also pure Mellanox.
This is also might change in future generation HCAs.
In general the sig_mr (signature enabled) is a memory region that can
register other memory regions (hint: data MR and protection MR) and is
attached to (mlx5) signature objects.
KLM: A tuple {key, addr, len} that is used for indirect registration.
BSF: this is the object that describes the wire and memory layouts. we
call it a byte-stream format.
PSV: this is the signature variable that is computing the guards - used
for generation and/or validation. exists for each domain.
So We constructed REG_SIG_MR operation as a 3-way operation:
- Online registration for sig_mr: Register in an indirect manner for
data and protection (if exists).
If no protection exists in memory domain the sig_mr registers the
data buffer (KLM).
If protection exists in memory domain (DIX) the sig_mr registers data
and protections buffers (KLMs)
In the DIX case, order to transfer DIF every pi_interval the
registration also defines the strided format of the execution
(pi_interval of data followed by 8byte of protection in a repetitive
manner).
- Define signature format of wire/memory domains (BSF object)
tell the HW how to treat the signature layout in each domain
(signature type, pi_interval etc...)
- Set the signature variables for each domain (memory, wire)
Here we place the seeds that the HW starts signature computation (In
the DIF case, Initial CRC, Initial ref_tag, initial app_tag).
Sagi.
--
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:[~2013-11-03 12:20 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 12:24 [PATCH RFC v2 00/10] Introduce Signature feature Sagi Grimberg
[not found] ` <1383222255-22699-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-10-31 12:24 ` [PATCH RFC v2 01/10] IB/core: Introduce protected memory regions Sagi Grimberg
[not found] ` <1383222255-22699-2-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-01 17:09 ` Bart Van Assche
[not found] ` <5273E03C.3010501-HInyCGIudOg@public.gmane.org>
2013-11-03 12:14 ` Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 02/10] IB/core: Introduce Signature Verbs API Sagi Grimberg
[not found] ` <1383222255-22699-3-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-01 15:13 ` Bart Van Assche
[not found] ` <5273C4FC.4070708-HInyCGIudOg@public.gmane.org>
2013-11-03 12:15 ` Sagi Grimberg
2013-11-01 18:46 ` Bart Van Assche
[not found] ` <5273F6F4.3000300-HInyCGIudOg@public.gmane.org>
2013-11-03 12:15 ` Sagi Grimberg
[not found] ` <52763E68.2040605-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-03 14:41 ` Bart Van Assche
[not found] ` <5276608D.2020605-HInyCGIudOg@public.gmane.org>
2013-11-03 16:30 ` Sagi Grimberg
2013-11-01 22:23 ` Bart Van Assche
[not found] ` <527429E7.7010705-HInyCGIudOg@public.gmane.org>
2013-11-03 12:16 ` Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 03/10] IB/mlx5, mlx5_core: Support for create_mr and destroy_mr Sagi Grimberg
[not found] ` <1383222255-22699-4-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-10-31 12:52 ` Jack Wang
[not found] ` <52725299.7020105-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-31 12:59 ` Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 04/10] IB/mlx5: Initialize mlx5_ib_qp signature related Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 05/10] IB/mlx5: Break wqe handling to begin & finish routines Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 06/10] IB/mlx5: remove MTT access mode from umr flags helper function Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 07/10] IB/mlx5: Keep mlx5 MRs in a radix tree under device Sagi Grimberg
[not found] ` <1383222255-22699-8-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-01 20:46 ` Bart Van Assche
[not found] ` <5274131C.90601-HInyCGIudOg@public.gmane.org>
2013-11-03 12:16 ` Sagi Grimberg
[not found] ` <52763E88.4050300-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-03 13:40 ` Or Gerlitz
2013-10-31 12:24 ` [PATCH RFC v2 08/10] IB/mlx5: Support IB_WR_REG_SIG_MR Sagi Grimberg
[not found] ` <1383222255-22699-9-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-10-31 13:01 ` Jack Wang
2013-11-01 15:05 ` Bart Van Assche
[not found] ` <5273C32E.2020405-HInyCGIudOg@public.gmane.org>
2013-11-03 12:16 ` Sagi Grimberg
2013-11-01 20:37 ` Bart Van Assche
[not found] ` <527410F3.6040704-HInyCGIudOg@public.gmane.org>
2013-11-02 19:21 ` Or Gerlitz
[not found] ` <CAJZOPZLnyqzzx91ohmW+exy0k8g-FX6reSBCGmh_F2tTGWWOog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-02 21:59 ` Bart Van Assche
[not found] ` <527575D0.9050802-HInyCGIudOg@public.gmane.org>
2013-11-03 12:20 ` Sagi Grimberg [this message]
2013-10-31 12:24 ` [PATCH RFC v2 09/10] IB/mlx5: Collect signature error completion Sagi Grimberg
2013-10-31 12:24 ` [PATCH RFC v2 10/10] IB/mlx5: Publish support in signature feature Sagi Grimberg
2013-10-31 12:55 ` [PATCH RFC v2 00/10] Introduce Signature feature Jack Wang
[not found] ` <5272535D.4090805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-31 13:20 ` Sagi Grimberg
[not found] ` <52725930.7030702-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-10-31 13:29 ` Jack Wang
2013-11-01 15:03 ` Bart Van Assche
[not found] ` <5273C2B6.7010901-HInyCGIudOg@public.gmane.org>
2013-11-02 1:36 ` Nicholas A. Bellinger
[not found] ` <1383356167.4216.16.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2013-11-02 21:57 ` Bart Van Assche
[not found] ` <52757555.6090907-HInyCGIudOg@public.gmane.org>
2013-11-04 18:41 ` Nicholas A. Bellinger
[not found] ` <1383590471.4216.22.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2013-11-05 9:13 ` Sagi Grimberg
[not found] ` <5278B6B2.1010006-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-05 18:30 ` Nicholas A. Bellinger
2013-11-01 22:06 ` Bart Van Assche
[not found] ` <527425DA.7040609-HInyCGIudOg@public.gmane.org>
2013-11-03 12:13 ` Sagi Grimberg
2013-11-03 12:14 ` Sagi Grimberg
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=52763F72.1080107@mellanox.com \
--to=sagig-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=bvanassche-HInyCGIudOg@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=oren-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=tzahio-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox