public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] T10-PI Initial support for iSER initiator
@ 2014-02-23 12:19 Sagi Grimberg
       [not found] ` <1393157974-24931-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Sagi Grimberg @ 2014-02-23 12:19 UTC (permalink / raw)
  To: roland, nab; +Cc: oren, martin.petersen, michaelc, linux-scsi, linux-rdma

Hey Roland, Nic and Co

This patchset adds T10 protection information offload support over
RDMA signature verbs API. This set, along with the iSER target set,
allow end-to-end protection information passthrough and validation.
The patchset was tested against Linux SCSI target with iSER DIF
support applied.

The enablement of iSER DIF support is currently controlled with
module parameters (similar to lpfc for example) which make them
global. In the next phase we can consider passing these parameters
from iscsid nl messages, which would make them per-connection.

The approach I took with respect to escelating protection information
errors was minimal iSCSI intervention in protection information affairs.
I added libiscsi a hook asking the transport to check the protection
information status, and construct the proper sense data in case of errors
(the alternative of letting the transport to construct sense data seemed
much less appealing).

Note that this patchset comes on top of a pending patch for iSER to suppress
fastreg completions (http://marc.info/?l=linux-rdma&m=139047309831997&w=2).

Roland, I would like to hear your feedback on this.

Nic, You can go ahead and place this set on rdma-dif and start playing
with it (I can also gain some 0-DAY static checks).

The set is ordered by the following:
- Preperation patches (non/minor functionality changes).
- Add protection information execution support.
- Add protection information status check facilities.
- Publish T10-DIF support to SCSI midlayer according to
  IB device capabilities.

Sagi Grimberg (11):
  IB/iser: Avoid FRWR notation, use fastreg instead
  IB/iser: Push the desicion what memory key to use into fast_reg_mr
    routine
  IB/iser: Move fast_reg_descriptor initialization to a function
  IB/iser: Keep IB device attributes under iser_device
  IB/iser: Replace fastreg descriptor valid bool with indicators
    container
  IB/iser: Introduce pi_enable, pi_guard module parameters
  IB/iser: Initialize T10-PI resources
  IB/iser: Support T10-PI operations
  SCSI/libiscsi: Add check_protection callback for transports
  IB/iser: Implement check_protection
  IB/iser: Publish T10-PI support to SCSI midlayer

 drivers/infiniband/ulp/iser/iscsi_iser.c     |   46 ++++-
 drivers/infiniband/ulp/iser/iscsi_iser.h     |   59 ++++-
 drivers/infiniband/ulp/iser/iser_initiator.c |   49 ++++-
 drivers/infiniband/ulp/iser/iser_memory.c    |  348 +++++++++++++++++++++-----
 drivers/infiniband/ulp/iser/iser_verbs.c     |  273 +++++++++++++++------
 drivers/scsi/libiscsi.c                      |   32 +++
 include/scsi/libiscsi.h                      |    4 +
 include/scsi/scsi_transport_iscsi.h          |    1 +
 8 files changed, 666 insertions(+), 146 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-02-24 19:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23 12:19 [PATCH 00/11] T10-PI Initial support for iSER initiator Sagi Grimberg
     [not found] ` <1393157974-24931-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-23 12:19   ` [PATCH 01/11] IB/iser: Avoid FRWR notation, use fastreg instead Sagi Grimberg
2014-02-23 12:19   ` [PATCH 09/11] SCSI/libiscsi: Add check_protection callback for transports Sagi Grimberg
2014-02-23 12:19 ` [PATCH 02/11] IB/iser: Push the desicion what memory key to use into fast_reg_mr routine Sagi Grimberg
2014-02-23 12:19 ` [PATCH 03/11] IB/iser: Move fast_reg_descriptor initialization to a function Sagi Grimberg
2014-02-23 12:19 ` [PATCH 04/11] IB/iser: Keep IB device attributes under iser_device Sagi Grimberg
2014-02-23 12:19 ` [PATCH 05/11] IB/iser: Replace fastreg descriptor valid bool with indicators container Sagi Grimberg
     [not found]   ` <1393157974-24931-6-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-24  6:53     ` Nicholas A. Bellinger
     [not found]       ` <1393224839.22656.19.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2014-02-24  7:30         ` Nicholas A. Bellinger
     [not found]           ` <1393227000.22656.24.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2014-02-24  8:27             ` Sagi Grimberg
2014-02-24 19:52               ` Nicholas A. Bellinger
2014-02-23 12:19 ` [PATCH 06/11] IB/iser: Introduce pi_enable, pi_guard module parameters Sagi Grimberg
2014-02-23 12:19 ` [PATCH 07/11] IB/iser: Initialize T10-PI resources Sagi Grimberg
2014-02-23 12:19 ` [PATCH 08/11] IB/iser: Support T10-PI operations Sagi Grimberg
     [not found]   ` <1393157974-24931-9-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-24  6:50     ` Nicholas A. Bellinger
2014-02-23 12:19 ` [PATCH 10/11] IB/iser: Implement check_protection Sagi Grimberg
2014-02-23 12:19 ` [PATCH 11/11] IB/iser: Publish T10-PI support to SCSI midlayer Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox