netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Add support to FCoE offload through net_device (v2)
@ 2009-02-27 22:06 Yi Zou
  2009-03-04  7:57 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Zou @ 2009-02-27 22:06 UTC (permalink / raw)
  To: netdev, linux-scsi; +Cc: yi.zou

This is set of revised patches for adding offload support of
Fiber Channel over Ethernet (FCoE) offload support through net_device
for the Open-FCoE project maintained at http://www.open-fcoe.org.

The original submission can be found at:
http://marc.info/?l=linux-scsi&m=123507707821705&w=2

The included patches would add FCoE offload support through the net_device
struct as shown in the series of patches followed here. This is achieved
by adding nedev feature flags for FCoE FC CRC offload and large send offload
through gso. The large receive offload by direct data placement (ddp) is
achieved by the two function pointers to net_device_ops, to setup and release
ddp context, ndo_fcoe_ddp_setup and ndo_fcoe_ddp_done. One data member is
added to net_device strut, namely fcoe_ddp_xid, which inidates the maximum
exchange id allowed by LLD to perform ddp on the read I/O request.

As the following patches touch both netdev and libfc/fcoe, and they are
applicable to the current tip at www.open-fcoe.org w/ patches available at:
http://marc.info/?l=linux-scsi&m=123576089125544&w=2 If they look alright,
I will rework them later to be directly applicable to net-next, where the
aforementioned fcoe/libfc fix patches are expected to be in kernel already
through scsi-fixes.

Thanks.

yi
---

Chris Leech (2):
      net: define feature flags for FCoE offloads
      net: reclaim 8 upper bits of the netdev->features from GSO

Yi Zou (9):
      fcoe: fcoe fc crc offload indication by skb->ip_summed
      fcoe: add support to FCoE offload support in fcoe_sw through net_device
      libfc: add support of large receive offload by ddp in fc_fcp
      fcoe: add support to large send by gso through net_device for fcoe_sw
      libfc: use lso_max for sequence offload
      fcoe,libfc: check offload features from LLD through netdev
      net: add FCoE offload support through net_device
      net: add NETIF_F_FCOE_CRC to can_checksum_protocol
      net,fcoe: add ETH_P_FCOE for Fibre Channel over Ethernet (FCoE)


 drivers/net/xen-netfront.c   |    2 +
 drivers/scsi/fcoe/fcoe_sw.c  |   67 ++++++++++++++++++++++++++++++++++++++++-
 drivers/scsi/fcoe/libfcoe.c  |   16 ++++++++--
 drivers/scsi/libfc/fc_exch.c |    4 ++
 drivers/scsi/libfc/fc_fcp.c  |   69 +++++++++++++++++++++++++++++++++++++++++-
 include/linux/if_ether.h     |    1 +
 include/linux/netdevice.h    |   18 ++++++++++-
 include/linux/skbuff.h       |    2 +
 include/scsi/fc/fc_fcoe.h    |    7 ----
 include/scsi/fc_frame.h      |   19 +-----------
 include/scsi/libfc.h         |   31 +++++++++++++++++++
 include/scsi/libfcoe.h       |   18 -----------
 net/core/dev.c               |    4 ++
 13 files changed, 206 insertions(+), 52 deletions(-)

-- 
Signature: Yi Zou <yi.zou@intel.com>

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

* Re: [PATCH 00/11] Add support to FCoE offload through net_device (v2)
  2009-02-27 22:06 [PATCH 00/11] Add support to FCoE offload through net_device (v2) Yi Zou
@ 2009-03-04  7:57 ` David Miller
  2009-03-05 21:59   ` James Bottomley
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2009-03-04  7:57 UTC (permalink / raw)
  To: yi.zou; +Cc: netdev, linux-scsi

From: Yi Zou <yi.zou@intel.com>
Date: Fri, 27 Feb 2009 14:06:32 -0800

> This is set of revised patches for adding offload support of
> Fiber Channel over Ethernet (FCoE) offload support through net_device
> for the Open-FCoE project maintained at http://www.open-fcoe.org.
> 
> The original submission can be found at:
> http://marc.info/?l=linux-scsi&m=123507707821705&w=2
> 
> The included patches would add FCoE offload support through the net_device
> struct as shown in the series of patches followed here. This is achieved
> by adding nedev feature flags for FCoE FC CRC offload and large send offload
> through gso. The large receive offload by direct data placement (ddp) is
> achieved by the two function pointers to net_device_ops, to setup and release
> ddp context, ndo_fcoe_ddp_setup and ndo_fcoe_ddp_done. One data member is
> added to net_device strut, namely fcoe_ddp_xid, which inidates the maximum
> exchange id allowed by LLD to perform ddp on the read I/O request.
> 
> As the following patches touch both netdev and libfc/fcoe, and they are
> applicable to the current tip at www.open-fcoe.org w/ patches available at:
> http://marc.info/?l=linux-scsi&m=123576089125544&w=2 If they look alright,
> I will rework them later to be directly applicable to net-next, where the
> aforementioned fcoe/libfc fix patches are expected to be in kernel already
> through scsi-fixes.

I am fine with these changes, they look good.


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

* Re: [PATCH 00/11] Add support to FCoE offload through net_device (v2)
  2009-03-04  7:57 ` David Miller
@ 2009-03-05 21:59   ` James Bottomley
  2009-03-06  0:10     ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2009-03-05 21:59 UTC (permalink / raw)
  To: David Miller; +Cc: yi.zou, netdev, linux-scsi

On Tue, 2009-03-03 at 23:57 -0800, David Miller wrote:
> From: Yi Zou <yi.zou@intel.com>
> Date: Fri, 27 Feb 2009 14:06:32 -0800
> 
> > This is set of revised patches for adding offload support of
> > Fiber Channel over Ethernet (FCoE) offload support through net_device
> > for the Open-FCoE project maintained at http://www.open-fcoe.org.
> > 
> > The original submission can be found at:
> > http://marc.info/?l=linux-scsi&m=123507707821705&w=2
> > 
> > The included patches would add FCoE offload support through the net_device
> > struct as shown in the series of patches followed here. This is achieved
> > by adding nedev feature flags for FCoE FC CRC offload and large send offload
> > through gso. The large receive offload by direct data placement (ddp) is
> > achieved by the two function pointers to net_device_ops, to setup and release
> > ddp context, ndo_fcoe_ddp_setup and ndo_fcoe_ddp_done. One data member is
> > added to net_device strut, namely fcoe_ddp_xid, which inidates the maximum
> > exchange id allowed by LLD to perform ddp on the read I/O request.
> > 
> > As the following patches touch both netdev and libfc/fcoe, and they are
> > applicable to the current tip at www.open-fcoe.org w/ patches available at:
> > http://marc.info/?l=linux-scsi&m=123576089125544&w=2 If they look alright,
> > I will rework them later to be directly applicable to net-next, where the
> > aforementioned fcoe/libfc fix patches are expected to be in kernel already
> > through scsi-fixes.
> 
> I am fine with these changes, they look good.

Did you want to take the four pure net pieces through your tree, and
I'll run a postmerge tree based on your net tree, or just have me take
them through the SCSI tree?

James



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

* Re: [PATCH 00/11] Add support to FCoE offload through net_device (v2)
  2009-03-05 21:59   ` James Bottomley
@ 2009-03-06  0:10     ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2009-03-06  0:10 UTC (permalink / raw)
  To: James.Bottomley; +Cc: yi.zou, netdev, linux-scsi

From: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: Thu, 05 Mar 2009 21:59:20 +0000

> On Tue, 2009-03-03 at 23:57 -0800, David Miller wrote:
> > I am fine with these changes, they look good.
> 
> Did you want to take the four pure net pieces through your tree, and
> I'll run a postmerge tree based on your net tree, or just have me take
> them through the SCSI tree?

You can take them all via your SCSI tree.  I think it works best
that way.

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

end of thread, other threads:[~2009-03-06  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27 22:06 [PATCH 00/11] Add support to FCoE offload through net_device (v2) Yi Zou
2009-03-04  7:57 ` David Miller
2009-03-05 21:59   ` James Bottomley
2009-03-06  0:10     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).