diff options
author | Yi Zou <yi.zou@intel.com> | 2009-05-13 09:11:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 15:00:08 -0400 |
commit | 332d4a7d981e25d239c5d723a4f35020397dc606 (patch) | |
tree | 2bcbd270cc623746c46d4f707a2355504ff40542 /drivers/net/ixgbe/ixgbe.h | |
parent | d0ed89373f2da1a0d83697d87441e519caf18cf7 (diff) |
ixgbe: Implement FCoE Rx side large receive offload feature to 82599
This patch implements the FCoE Rx side offload feature in ixgbe_main.c
to 82599 using the Rx offload infrastructure code added in the previous
patch. The large receive offload by Direct Data Placement (DDP) for
FCoE is achieved by implementing the ndo_fcoe_ddp_setup and ndo_fcoe_ddp_done
in net_device_ops via netdev. It is up to the ULD, i.e., fcoe and libfc
to query and setup large receive offload accordingly through the corresponding
netdev upon creating fcoe instances.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 5581fa3976df..db6d3ea1b9f0 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -386,6 +386,13 @@ extern void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter); | |||
386 | extern int ixgbe_fso(struct ixgbe_adapter *adapter, | 386 | extern int ixgbe_fso(struct ixgbe_adapter *adapter, |
387 | struct ixgbe_ring *tx_ring, struct sk_buff *skb, | 387 | struct ixgbe_ring *tx_ring, struct sk_buff *skb, |
388 | u32 tx_flags, u8 *hdr_len); | 388 | u32 tx_flags, u8 *hdr_len); |
389 | extern void ixgbe_cleanup_fcoe(struct ixgbe_adapter *adapter); | ||
390 | extern int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, | ||
391 | union ixgbe_adv_rx_desc *rx_desc, | ||
392 | struct sk_buff *skb); | ||
393 | extern int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid, | ||
394 | struct scatterlist *sgl, unsigned int sgc); | ||
395 | extern int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid); | ||
389 | #endif /* IXGBE_FCOE */ | 396 | #endif /* IXGBE_FCOE */ |
390 | 397 | ||
391 | #endif /* _IXGBE_H_ */ | 398 | #endif /* _IXGBE_H_ */ |