From mboxrd@z Thu Jan 1 00:00:00 1970 From: Naresh Kumar Inna Subject: Re: [V4 PATCH 0/8] csiostor: Chelsio FCoE offload driver submission Date: Tue, 18 Sep 2012 09:54:49 +0530 Message-ID: <5057F791.8020702@chelsio.com> References: <1347470328-32490-1-git-send-email-naresh@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from stargate.chelsio.com ([67.207.112.58]:31129 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751486Ab2IREZD (ORCPT ); Tue, 18 Sep 2012 00:25:03 -0400 In-Reply-To: <1347470328-32490-1-git-send-email-naresh@chelsio.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "JBottomley@parallels.com" Cc: naresh@chelsio.com, "linux-scsi@vger.kernel.org" , Dimitrios Michailidis , Casey Leedom , "netdev@vger.kernel.org" , Chethan Seshadri Hi James, Could you please consider merging version V4 of the driver patches, if you think they are in good shape now? Thanks, Naresh. On 9/12/2012 10:48 PM, Naresh Kumar Inna wrote: > This is the initial submission of the Chelsio FCoE offload driver (csiostor) > to the upstream kernel. This driver currently supports FCoE offload > functionality over Chelsio T4-based 10Gb Converged Network Adapters. > > The following patches contain the driver sources for csiostor driver and > updates to firmware/hardware header files shared between csiostor, > cxgb4 (Chelsio T4-based NIC driver) and cxgb4vf (Chelsio T4-based Virtual > Function NIC driver). The csiostor driver is dependent on these > header updates. These patches have been generated against scsi 'misc' branch. > > csiostor is a low level SCSI driver that interfaces with PCI, SCSI midlayer and > FC transport subsystems. This driver claims the FCoE PCIe function on > Chelsio Converged Network Adapters. It relies on firmware events for slow path > operations like discovery, thereby offloading session management. The driver > programs firmware via Work Request interfaces for fast path I/O offload > features. > > In this version (V4), the patches have been re-arranged to make them bisectable. > > Here is the brief description of patches: > [V4 PATCH 1/8]: Updates to header files shared between cxgb4, cxgb4vf and > csiostor. > [V4 PATCH 2/8]: Header files part 1. > [V4 PATCH 3/8]: Header files part 2. > [V4 PATCH 4/8]: Driver initialization and Work Request services. > [V4 PATCH 5/8]: FC transport interfaces and mailbox services. > [V4 PATCH 6/8]: Local and remote port state tracking functionality. > [V4 PATCH 7/8]: Interrupt handling and fast path I/O functionality. > [V4 PATCH 8/8]: Hardware interface, Makefile and Kconfig changes. > > Naresh Kumar Inna (8): > cxgb4/cxgb4vf: Chelsio FCoE offload driver submission (common header > updates). > csiostor: Chelsio FCoE offload driver submission (headers part 1). > csiostor: Chelsio FCoE offload driver submission (headers part 2). > csiostor: Chelsio FCoE offload driver submission (sources part 1). > csiostor: Chelsio FCoE offload driver submission (sources part 2). > csiostor: Chelsio FCoE offload driver submission (sources part 3). > csiostor: Chelsio FCoE offload driver submission (sources part 4). > csiostor: Chelsio FCoE offload driver submission (sources part 5). > > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +- > drivers/net/ethernet/chelsio/cxgb4/sge.c | 10 +- > drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 16 +- > drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 1 + > drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 69 +- > drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 104 +- > drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 11 +- > drivers/scsi/Kconfig | 1 + > drivers/scsi/Makefile | 1 + > drivers/scsi/csiostor/Kconfig | 19 + > drivers/scsi/csiostor/Makefile | 11 + > drivers/scsi/csiostor/csio_attr.c | 809 +++++ > drivers/scsi/csiostor/csio_defs.h | 108 + > drivers/scsi/csiostor/csio_hw.c | 4396 +++++++++++++++++++++++ > drivers/scsi/csiostor/csio_hw.h | 666 ++++ > drivers/scsi/csiostor/csio_init.c | 1272 +++++++ > drivers/scsi/csiostor/csio_init.h | 158 + > drivers/scsi/csiostor/csio_isr.c | 624 ++++ > drivers/scsi/csiostor/csio_lnode.c | 2148 +++++++++++ > drivers/scsi/csiostor/csio_lnode.h | 255 ++ > drivers/scsi/csiostor/csio_mb.c | 1769 +++++++++ > drivers/scsi/csiostor/csio_mb.h | 278 ++ > drivers/scsi/csiostor/csio_rnode.c | 889 +++++ > drivers/scsi/csiostor/csio_rnode.h | 141 + > drivers/scsi/csiostor/csio_scsi.c | 2560 +++++++++++++ > drivers/scsi/csiostor/csio_scsi.h | 342 ++ > drivers/scsi/csiostor/csio_wr.c | 1632 +++++++++ > drivers/scsi/csiostor/csio_wr.h | 512 +++ > drivers/scsi/csiostor/t4fw_api_stor.h | 578 +++ > 29 files changed, 19345 insertions(+), 37 deletions(-) > create mode 100644 drivers/scsi/csiostor/Kconfig > create mode 100644 drivers/scsi/csiostor/Makefile > create mode 100644 drivers/scsi/csiostor/csio_attr.c > create mode 100644 drivers/scsi/csiostor/csio_defs.h > create mode 100644 drivers/scsi/csiostor/csio_hw.c > create mode 100644 drivers/scsi/csiostor/csio_hw.h > create mode 100644 drivers/scsi/csiostor/csio_init.c > create mode 100644 drivers/scsi/csiostor/csio_init.h > create mode 100644 drivers/scsi/csiostor/csio_isr.c > create mode 100644 drivers/scsi/csiostor/csio_lnode.c > create mode 100644 drivers/scsi/csiostor/csio_lnode.h > create mode 100644 drivers/scsi/csiostor/csio_mb.c > create mode 100644 drivers/scsi/csiostor/csio_mb.h > create mode 100644 drivers/scsi/csiostor/csio_rnode.c > create mode 100644 drivers/scsi/csiostor/csio_rnode.h > create mode 100644 drivers/scsi/csiostor/csio_scsi.c > create mode 100644 drivers/scsi/csiostor/csio_scsi.h > create mode 100644 drivers/scsi/csiostor/csio_wr.c > create mode 100644 drivers/scsi/csiostor/csio_wr.h > create mode 100644 drivers/scsi/csiostor/t4fw_api_stor.h > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Naresh Kumar Inna Subject: Re: [V4 PATCH 0/8] csiostor: Chelsio FCoE offload driver submission Date: Tue, 18 Sep 2012 09:54:49 +0530 Message-ID: <5057F791.8020702@chelsio.com> References: <1347470328-32490-1-git-send-email-naresh@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: , "linux-scsi@vger.kernel.org" , Dimitrios Michailidis , Casey Leedom , "netdev@vger.kernel.org" , Chethan Seshadri To: "JBottomley@parallels.com" Return-path: In-Reply-To: <1347470328-32490-1-git-send-email-naresh@chelsio.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi James, Could you please consider merging version V4 of the driver patches, if you think they are in good shape now? Thanks, Naresh. On 9/12/2012 10:48 PM, Naresh Kumar Inna wrote: > This is the initial submission of the Chelsio FCoE offload driver (csiostor) > to the upstream kernel. This driver currently supports FCoE offload > functionality over Chelsio T4-based 10Gb Converged Network Adapters. > > The following patches contain the driver sources for csiostor driver and > updates to firmware/hardware header files shared between csiostor, > cxgb4 (Chelsio T4-based NIC driver) and cxgb4vf (Chelsio T4-based Virtual > Function NIC driver). The csiostor driver is dependent on these > header updates. These patches have been generated against scsi 'misc' branch. > > csiostor is a low level SCSI driver that interfaces with PCI, SCSI midlayer and > FC transport subsystems. This driver claims the FCoE PCIe function on > Chelsio Converged Network Adapters. It relies on firmware events for slow path > operations like discovery, thereby offloading session management. The driver > programs firmware via Work Request interfaces for fast path I/O offload > features. > > In this version (V4), the patches have been re-arranged to make them bisectable. > > Here is the brief description of patches: > [V4 PATCH 1/8]: Updates to header files shared between cxgb4, cxgb4vf and > csiostor. > [V4 PATCH 2/8]: Header files part 1. > [V4 PATCH 3/8]: Header files part 2. > [V4 PATCH 4/8]: Driver initialization and Work Request services. > [V4 PATCH 5/8]: FC transport interfaces and mailbox services. > [V4 PATCH 6/8]: Local and remote port state tracking functionality. > [V4 PATCH 7/8]: Interrupt handling and fast path I/O functionality. > [V4 PATCH 8/8]: Hardware interface, Makefile and Kconfig changes. > > Naresh Kumar Inna (8): > cxgb4/cxgb4vf: Chelsio FCoE offload driver submission (common header > updates). > csiostor: Chelsio FCoE offload driver submission (headers part 1). > csiostor: Chelsio FCoE offload driver submission (headers part 2). > csiostor: Chelsio FCoE offload driver submission (sources part 1). > csiostor: Chelsio FCoE offload driver submission (sources part 2). > csiostor: Chelsio FCoE offload driver submission (sources part 3). > csiostor: Chelsio FCoE offload driver submission (sources part 4). > csiostor: Chelsio FCoE offload driver submission (sources part 5). > > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +- > drivers/net/ethernet/chelsio/cxgb4/sge.c | 10 +- > drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 16 +- > drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 1 + > drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 69 +- > drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 104 +- > drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 11 +- > drivers/scsi/Kconfig | 1 + > drivers/scsi/Makefile | 1 + > drivers/scsi/csiostor/Kconfig | 19 + > drivers/scsi/csiostor/Makefile | 11 + > drivers/scsi/csiostor/csio_attr.c | 809 +++++ > drivers/scsi/csiostor/csio_defs.h | 108 + > drivers/scsi/csiostor/csio_hw.c | 4396 +++++++++++++++++++++++ > drivers/scsi/csiostor/csio_hw.h | 666 ++++ > drivers/scsi/csiostor/csio_init.c | 1272 +++++++ > drivers/scsi/csiostor/csio_init.h | 158 + > drivers/scsi/csiostor/csio_isr.c | 624 ++++ > drivers/scsi/csiostor/csio_lnode.c | 2148 +++++++++++ > drivers/scsi/csiostor/csio_lnode.h | 255 ++ > drivers/scsi/csiostor/csio_mb.c | 1769 +++++++++ > drivers/scsi/csiostor/csio_mb.h | 278 ++ > drivers/scsi/csiostor/csio_rnode.c | 889 +++++ > drivers/scsi/csiostor/csio_rnode.h | 141 + > drivers/scsi/csiostor/csio_scsi.c | 2560 +++++++++++++ > drivers/scsi/csiostor/csio_scsi.h | 342 ++ > drivers/scsi/csiostor/csio_wr.c | 1632 +++++++++ > drivers/scsi/csiostor/csio_wr.h | 512 +++ > drivers/scsi/csiostor/t4fw_api_stor.h | 578 +++ > 29 files changed, 19345 insertions(+), 37 deletions(-) > create mode 100644 drivers/scsi/csiostor/Kconfig > create mode 100644 drivers/scsi/csiostor/Makefile > create mode 100644 drivers/scsi/csiostor/csio_attr.c > create mode 100644 drivers/scsi/csiostor/csio_defs.h > create mode 100644 drivers/scsi/csiostor/csio_hw.c > create mode 100644 drivers/scsi/csiostor/csio_hw.h > create mode 100644 drivers/scsi/csiostor/csio_init.c > create mode 100644 drivers/scsi/csiostor/csio_init.h > create mode 100644 drivers/scsi/csiostor/csio_isr.c > create mode 100644 drivers/scsi/csiostor/csio_lnode.c > create mode 100644 drivers/scsi/csiostor/csio_lnode.h > create mode 100644 drivers/scsi/csiostor/csio_mb.c > create mode 100644 drivers/scsi/csiostor/csio_mb.h > create mode 100644 drivers/scsi/csiostor/csio_rnode.c > create mode 100644 drivers/scsi/csiostor/csio_rnode.h > create mode 100644 drivers/scsi/csiostor/csio_scsi.c > create mode 100644 drivers/scsi/csiostor/csio_scsi.h > create mode 100644 drivers/scsi/csiostor/csio_wr.c > create mode 100644 drivers/scsi/csiostor/csio_wr.h > create mode 100644 drivers/scsi/csiostor/t4fw_api_stor.h >