* [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
@ 2016-07-23 0:24 ` James Smart
0 siblings, 0 replies; 6+ messages in thread
From: James Smart @ 2016-07-23 0:24 UTC (permalink / raw)
To: linux-nvme, linux-scsi
This patchset adds NVME support to the lpfc FC driver. It reworks
the core driver for both NVME and SCSI protocol support, then adds the
nvme-over-fabrics host and target interfaces which connect to the
NVME FC transport lower-level api.
Patches are cut against the linux-nvme for-4.8/drivers branch
Dependent on:
-the u64 parser patch just posted
-the lpfc 11.2.0.0 patch set posted to linux-scsi a couple weeks back.
http://www.spinics.net/lists/linux-scsi/msg97964.html
http://www.spinics.net/lists/linux-scsi/msg98219.html
Caveats:
-Depends on the lpfc 11.2.0.0 patch set posted to linux-scsi being present
in the tree:
http://www.spinics.net/lists/linux-scsi/msg97964.html
http://www.spinics.net/lists/linux-scsi/msg98219.html
-Depends on the NVME FC Transport patches
-cut against the linux-nvme for-4.8/drivers branch
-Individual patches not tested much individually. All testing has been
with all 3 patches together - base, host, and target.
-Driver depends on NVME-supporting firmware which is not yet generally
available. Contact me if there is a need to obtain the firmware.
-- james
James Smart (3):
nvme_fabrics: Rework lpfc base driver to support the NVME protocol
nvme-fabrics: Add nvme host FC transport support to lpfc driver
nvme-fabrics: Add nvme target FC transport support to lpfc driver
drivers/scsi/lpfc/Makefile | 7 +-
drivers/scsi/lpfc/lpfc.h | 43 +-
drivers/scsi/lpfc/lpfc_attr.c | 69 +-
drivers/scsi/lpfc/lpfc_crtn.h | 32 +-
drivers/scsi/lpfc/lpfc_ct.c | 379 +++++++---
drivers/scsi/lpfc/lpfc_debugfs.c | 636 ++++++++++++++--
drivers/scsi/lpfc/lpfc_debugfs.h | 119 ++-
drivers/scsi/lpfc/lpfc_disc.h | 17 +-
drivers/scsi/lpfc/lpfc_els.c | 212 ++++--
drivers/scsi/lpfc/lpfc_hbadisc.c | 352 ++++++++-
drivers/scsi/lpfc/lpfc_hw.h | 49 +-
drivers/scsi/lpfc/lpfc_hw4.h | 128 +++-
drivers/scsi/lpfc/lpfc_init.c | 744 ++++++++++++++----
drivers/scsi/lpfc/lpfc_logmsg.h | 1 +
drivers/scsi/lpfc/lpfc_mbox.c | 19 +-
drivers/scsi/lpfc/lpfc_mem.c | 122 ++-
drivers/scsi/lpfc/lpfc_nportdisc.c | 150 +++-
drivers/scsi/lpfc/lpfc_nvme.c | 1447 ++++++++++++++++++++++++++++++++++++
drivers/scsi/lpfc/lpfc_nvme.h | 62 ++
drivers/scsi/lpfc/lpfc_nvmet.c | 1269 +++++++++++++++++++++++++++++++
drivers/scsi/lpfc/lpfc_nvmet.h | 72 ++
drivers/scsi/lpfc/lpfc_scsi.c | 12 +-
drivers/scsi/lpfc/lpfc_scsi.h | 19 +-
drivers/scsi/lpfc/lpfc_sli.c | 785 +++++++++++++++----
drivers/scsi/lpfc/lpfc_sli.h | 30 +-
drivers/scsi/lpfc/lpfc_sli4.h | 28 +-
drivers/scsi/lpfc/lpfc_version.h | 2 +-
drivers/scsi/lpfc/lpfc_vport.c | 1 +
28 files changed, 6121 insertions(+), 685 deletions(-)
create mode 100644 drivers/scsi/lpfc/lpfc_nvme.c
create mode 100644 drivers/scsi/lpfc/lpfc_nvme.h
create mode 100644 drivers/scsi/lpfc/lpfc_nvmet.c
create mode 100644 drivers/scsi/lpfc/lpfc_nvmet.h
--
2.5.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
@ 2016-07-23 0:24 ` James Smart
0 siblings, 0 replies; 6+ messages in thread
From: James Smart @ 2016-07-23 0:24 UTC (permalink / raw)
This patchset adds NVME support to the lpfc FC driver. It reworks
the core driver for both NVME and SCSI protocol support, then adds the
nvme-over-fabrics host and target interfaces which connect to the
NVME FC transport lower-level api.
Patches are cut against the linux-nvme for-4.8/drivers branch
Dependent on:
-the u64 parser patch just posted
-the lpfc 11.2.0.0 patch set posted to linux-scsi a couple weeks back.
http://www.spinics.net/lists/linux-scsi/msg97964.html
http://www.spinics.net/lists/linux-scsi/msg98219.html
Caveats:
-Depends on the lpfc 11.2.0.0 patch set posted to linux-scsi being present
in the tree:
http://www.spinics.net/lists/linux-scsi/msg97964.html
http://www.spinics.net/lists/linux-scsi/msg98219.html
-Depends on the NVME FC Transport patches
-cut against the linux-nvme for-4.8/drivers branch
-Individual patches not tested much individually. All testing has been
with all 3 patches together - base, host, and target.
-Driver depends on NVME-supporting firmware which is not yet generally
available. Contact me if there is a need to obtain the firmware.
-- james
James Smart (3):
nvme_fabrics: Rework lpfc base driver to support the NVME protocol
nvme-fabrics: Add nvme host FC transport support to lpfc driver
nvme-fabrics: Add nvme target FC transport support to lpfc driver
drivers/scsi/lpfc/Makefile | 7 +-
drivers/scsi/lpfc/lpfc.h | 43 +-
drivers/scsi/lpfc/lpfc_attr.c | 69 +-
drivers/scsi/lpfc/lpfc_crtn.h | 32 +-
drivers/scsi/lpfc/lpfc_ct.c | 379 +++++++---
drivers/scsi/lpfc/lpfc_debugfs.c | 636 ++++++++++++++--
drivers/scsi/lpfc/lpfc_debugfs.h | 119 ++-
drivers/scsi/lpfc/lpfc_disc.h | 17 +-
drivers/scsi/lpfc/lpfc_els.c | 212 ++++--
drivers/scsi/lpfc/lpfc_hbadisc.c | 352 ++++++++-
drivers/scsi/lpfc/lpfc_hw.h | 49 +-
drivers/scsi/lpfc/lpfc_hw4.h | 128 +++-
drivers/scsi/lpfc/lpfc_init.c | 744 ++++++++++++++----
drivers/scsi/lpfc/lpfc_logmsg.h | 1 +
drivers/scsi/lpfc/lpfc_mbox.c | 19 +-
drivers/scsi/lpfc/lpfc_mem.c | 122 ++-
drivers/scsi/lpfc/lpfc_nportdisc.c | 150 +++-
drivers/scsi/lpfc/lpfc_nvme.c | 1447 ++++++++++++++++++++++++++++++++++++
drivers/scsi/lpfc/lpfc_nvme.h | 62 ++
drivers/scsi/lpfc/lpfc_nvmet.c | 1269 +++++++++++++++++++++++++++++++
drivers/scsi/lpfc/lpfc_nvmet.h | 72 ++
drivers/scsi/lpfc/lpfc_scsi.c | 12 +-
drivers/scsi/lpfc/lpfc_scsi.h | 19 +-
drivers/scsi/lpfc/lpfc_sli.c | 785 +++++++++++++++----
drivers/scsi/lpfc/lpfc_sli.h | 30 +-
drivers/scsi/lpfc/lpfc_sli4.h | 28 +-
drivers/scsi/lpfc/lpfc_version.h | 2 +-
drivers/scsi/lpfc/lpfc_vport.c | 1 +
28 files changed, 6121 insertions(+), 685 deletions(-)
create mode 100644 drivers/scsi/lpfc/lpfc_nvme.c
create mode 100644 drivers/scsi/lpfc/lpfc_nvme.h
create mode 100644 drivers/scsi/lpfc/lpfc_nvmet.c
create mode 100644 drivers/scsi/lpfc/lpfc_nvmet.h
--
2.5.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
2016-07-23 0:24 ` James Smart
@ 2016-08-11 21:24 ` Christoph Hellwig
-1 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2016-08-11 21:24 UTC (permalink / raw)
To: James Smart; +Cc: linux-nvme, linux-scsi
On Fri, Jul 22, 2016 at 05:24:00PM -0700, James Smart wrote:
>
> This patchset adds NVME support to the lpfc FC driver. It reworks
> the core driver for both NVME and SCSI protocol support, then adds the
> nvme-over-fabrics host and target interfaces which connect to the
> NVME FC transport lower-level api.
>
> Patches are cut against the linux-nvme for-4.8/drivers branch
Before reviewing the details: what's the plan for merging this as we'll
have dependencies on both the SCSI and the block tree?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
@ 2016-08-11 21:24 ` Christoph Hellwig
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2016-08-11 21:24 UTC (permalink / raw)
On Fri, Jul 22, 2016@05:24:00PM -0700, James Smart wrote:
>
> This patchset adds NVME support to the lpfc FC driver. It reworks
> the core driver for both NVME and SCSI protocol support, then adds the
> nvme-over-fabrics host and target interfaces which connect to the
> NVME FC transport lower-level api.
>
> Patches are cut against the linux-nvme for-4.8/drivers branch
Before reviewing the details: what's the plan for merging this as we'll
have dependencies on both the SCSI and the block tree?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
2016-08-11 21:24 ` Christoph Hellwig
@ 2016-08-22 17:41 ` James Smart
-1 siblings, 0 replies; 6+ messages in thread
From: James Smart @ 2016-08-22 17:41 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-nvme, linux-scsi
On 8/11/2016 2:24 PM, Christoph Hellwig wrote:
> On Fri, Jul 22, 2016 at 05:24:00PM -0700, James Smart wrote:
>> This patchset adds NVME support to the lpfc FC driver. It reworks
>> the core driver for both NVME and SCSI protocol support, then adds the
>> nvme-over-fabrics host and target interfaces which connect to the
>> NVME FC transport lower-level api.
>>
>> Patches are cut against the linux-nvme for-4.8/drivers branch
> Before reviewing the details: what's the plan for merging this as we'll
> have dependencies on both the SCSI and the block tree?
Good question. With the first round of lpfc patches, I tried to ensure
we had all the cross-protocol infrastructure in place such that the
driver can have 2 halves that effectively run independently. I'm hoping
it means that I can submit scsi stuff independent from nvme stuff, but
we'll have to see how it goes over time.
I'm open to suggestions on how best to manage the 2 trees - e.g. scsi
stuff goes in scsi tree, and if a dependency then has to be pulled into
block ? nvme stuff only to block. The initial lpfc patch set should
have all the scsi infrastructure pulled into the 4.8 merge, so hopefully
that dependency has been resolved already.
-- james
Any recommendations ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc
@ 2016-08-22 17:41 ` James Smart
0 siblings, 0 replies; 6+ messages in thread
From: James Smart @ 2016-08-22 17:41 UTC (permalink / raw)
On 8/11/2016 2:24 PM, Christoph Hellwig wrote:
> On Fri, Jul 22, 2016@05:24:00PM -0700, James Smart wrote:
>> This patchset adds NVME support to the lpfc FC driver. It reworks
>> the core driver for both NVME and SCSI protocol support, then adds the
>> nvme-over-fabrics host and target interfaces which connect to the
>> NVME FC transport lower-level api.
>>
>> Patches are cut against the linux-nvme for-4.8/drivers branch
> Before reviewing the details: what's the plan for merging this as we'll
> have dependencies on both the SCSI and the block tree?
Good question. With the first round of lpfc patches, I tried to ensure
we had all the cross-protocol infrastructure in place such that the
driver can have 2 halves that effectively run independently. I'm hoping
it means that I can submit scsi stuff independent from nvme stuff, but
we'll have to see how it goes over time.
I'm open to suggestions on how best to manage the 2 trees - e.g. scsi
stuff goes in scsi tree, and if a dependency then has to be pulled into
block ? nvme stuff only to block. The initial lpfc patch set should
have all the scsi infrastructure pulled into the 4.8 merge, so hopefully
that dependency has been resolved already.
-- james
Any recommendations ?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-22 17:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-23 0:24 [PATCH 0/3] nvme-fabrics: Add NVME FC Transport support to lpfc James Smart
2016-07-23 0:24 ` James Smart
2016-08-11 21:24 ` Christoph Hellwig
2016-08-11 21:24 ` Christoph Hellwig
2016-08-22 17:41 ` James Smart
2016-08-22 17:41 ` James Smart
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.