aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/netdevice.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5c405571cb60..7ed49f5335b1 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -582,6 +582,14 @@ struct net_device_ops {
582#define HAVE_NETDEV_POLL 582#define HAVE_NETDEV_POLL
583 void (*ndo_poll_controller)(struct net_device *dev); 583 void (*ndo_poll_controller)(struct net_device *dev);
584#endif 584#endif
585#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)
586 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
587 u16 xid,
588 struct scatterlist *sgl,
589 unsigned int sgc);
590 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
591 u16 xid);
592#endif
585}; 593};
586 594
587/* 595/*
@@ -843,6 +851,11 @@ struct net_device
843 struct dcbnl_rtnl_ops *dcbnl_ops; 851 struct dcbnl_rtnl_ops *dcbnl_ops;
844#endif 852#endif
845 853
854#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)
855 /* max exchange id for FCoE LRO by ddp */
856 unsigned int fcoe_ddp_xid;
857#endif
858
846#ifdef CONFIG_COMPAT_NET_DEV_OPS 859#ifdef CONFIG_COMPAT_NET_DEV_OPS
847 struct { 860 struct {
848 int (*init)(struct net_device *dev); 861 int (*init)(struct net_device *dev);