From: Sagi Grimberg <sagig@dev.mellanox.co.il>
To: "Nicholas A. Bellinger" <nab@linux-iscsi.org>,
Sagi Grimberg <sagig@mellanox.com>
Cc: target-devel@vger.kernel.org, roland@kernel.org,
linux-rdma@vger.kernel.org, oren@mellanox.com,
martin.petersen@oracle.com
Subject: Re: [PATCH v2 00/12] T10-DIF Initial support for iSER target
Date: Thu, 20 Feb 2014 14:51:19 +0200 [thread overview]
Message-ID: <5305FA47.8040106@dev.mellanox.co.il> (raw)
In-Reply-To: <1392851690.22195.7.camel@haakon3.risingtidesystems.com>
On 2/20/2014 1:14 AM, Nicholas A. Bellinger wrote:
> On Wed, 2014-02-19 at 17:50 +0200, Sagi Grimberg wrote:
>> Hey Nic,
>>
>> I addressed your comments in the this set. I'll try to send the
>> initiator code for review in the next couple of days.
>>
>> This patchset introduces target side T10-PI offload support over
>> RDMA. Currently the implementation is for iSER transport but can
>> be easily extended to SRP (or FCoE in the future).
>>
>> Should mention that this patchset depends on RDMA signature
>> verbs making it for inclusion which will hopefully happen in
>> near future.
>>
>> This code was tested against iSER legacy initiator, and also
>> initiator that uses T10-PI offload as well. I'll clean up the
>> initiator code in the following days and submit that as well.
>>
>> This code works under medium loads using backstores:
>> - FileIO with DIF emulation.
>> - RD with DIF emulation.
>> - iBLOCK (scsi_debug with DIF support).
>>
>> Chnages from v1:
>> - Rebased rdma_dif (3.14-rc2)
>> - Target core:
>> - Pass zero_flag=true to alloc_sgl for protection buffers
>> - Removed Unneeded inline function rwprotect
>> - Pass is_write bool to sbc_set_prot_op_checks
>> - Send failure response for absence of protection buffers
>> when needed.
>> - iSER:
>> - Removed unneeded assignments in isert_set_sig_attrs
>>
>> Chnages from v0:
>> - Rebased from for-next
>> - Target core:
>> - Don't minor fixes for check_prot - to support transports
>> that doesn't use submit_map_sgls.
>> - file format - use escape values.
>> - Removed redundant prot_handover.
>> - Added protection checks and operation set.
>> - iSER:
>> - Added preperation routines for mapping/unmapping buffers
>> to ease the amount of code in isert_reg_rdma.
>> - Fixed print of DIF error (sector instead of offset).
>> - Fix RDMA length for protection on wire domain.
>> - Refactored reg_sig_mr to use helper routines.
>>
> Hey Sagi,
>
> FYI, this series did not compile:
>
> drivers/infiniband/ulp/isert/ib_isert.c: In function ‘isert_reg_sig_mr’:
> drivers/infiniband/ulp/isert/ib_isert.c:2531:2: error: expected ‘;’ before ‘ret’
> drivers/infiniband/ulp/isert/ib_isert.c: In function ‘isert_reg_rdma’:
> drivers/infiniband/ulp/isert/ib_isert.c:2611:24: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
> drivers/infiniband/ulp/isert/ib_isert.c:2625:24: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
> drivers/infiniband/ulp/isert/ib_isert.c:2667:43: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
> drivers/infiniband/ulp/isert/ib_isert.c: In function ‘isert_put_datain’:
> drivers/infiniband/ulp/isert/ib_isert.c:2711:24: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
> drivers/infiniband/ulp/isert/ib_isert.c:2732:24: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
> drivers/infiniband/ulp/isert/ib_isert.c: At top level:
> drivers/infiniband/ulp/isert/ib_isert.c:2468:1: warning: ‘isert_set_sig_attrs’ defined but not used [-Wunused-function]
> drivers/target/target_core_transport.c: In function ‘transport_generic_new_cmd’:
> drivers/target/target_core_transport.c:2221:22: warning: comparison between ‘enum target_prot_type’ and ‘enum target_prot_op’ [-Wenum-compare]
>
> Squashing the following patch(es) into your original series, and applied
> to target-pending/rdma-dif.
Ohhh, last second cosmetics...
Thanks for fixing it, won't happen again...
> Thank you,
Thank you...
> --nab
>
prev parent reply other threads:[~2014-02-20 12:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 15:50 [PATCH v2 00/12] T10-DIF Initial support for iSER target Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 01/12] Target/transport: Allocate protection sg if needed Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 02/12] Target/sbc: Set protection operation and relevant checks Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 03/12] Target/file: place escape values for protection information format Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 04/12] Target/sbc: don't return from sbc_check for non prot_sg Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 05/12] Target/core: Remove prot_handover use for now Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 06/12] Target/iscsi: Add T10-PI indication for iscsi_portal_group Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 07/12] Target/configfs: Expose iSCSI network portal group T10-PI support Sagi Grimberg
[not found] ` <1392825025-29943-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-19 15:50 ` [PATCH v2 08/12] Target/sbc: add debug print Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 09/12] IB/isert: Introduce isert_map/unmap_data_buf Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 10/12] IB/isert: Initialize T10-PI resources Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 11/12] IB/isert: Accept RDMA_WRITE completions Sagi Grimberg
2014-02-19 15:50 ` [PATCH v2 12/12] IB/isert: Support T10-PI protected transactions Sagi Grimberg
2014-03-13 18:15 ` Nicholas A. Bellinger
[not found] ` <1394734546.19265.2.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2014-03-13 18:57 ` Sagi Grimberg
2014-03-13 18:59 ` Nicholas A. Bellinger
2014-03-13 19:14 ` Sagi Grimberg
2014-03-13 19:16 ` Nicholas A. Bellinger
2014-02-19 23:14 ` [PATCH v2 00/12] T10-DIF Initial support for iSER target Nicholas A. Bellinger
2014-02-20 12:51 ` Sagi Grimberg [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=5305FA47.8040106@dev.mellanox.co.il \
--to=sagig@dev.mellanox.co.il \
--cc=linux-rdma@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=nab@linux-iscsi.org \
--cc=oren@mellanox.com \
--cc=roland@kernel.org \
--cc=sagig@mellanox.com \
--cc=target-devel@vger.kernel.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