aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-10-28 14:24:35 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-29 04:04:03 -0400
commitdf5c79452f26f2a3d0883a213102515cfeb7aae9 (patch)
tree2e1533451f2024a99c32380e459479b66b658f02 /include
parent383ff34bebc2eccae71686fbd72e1cd948859675 (diff)
net: Add ndo_fcoe_get_wwn to net_device_ops
Add ndo_fcoe_get_wwn so Fiber Channel over Ethernet (FCoE) can make use of the provided World Wide Port Name (WWPN) and World Wide Node Name (WWNN) from the underlying network interface driver. Signed-off-by: Yi Zou <yi.zou@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index e7c227d7cb98..656110a46e96 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -635,6 +635,10 @@ struct net_device_ops {
635 unsigned int sgc); 635 unsigned int sgc);
636 int (*ndo_fcoe_ddp_done)(struct net_device *dev, 636 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
637 u16 xid); 637 u16 xid);
638#define NETDEV_FCOE_WWNN 0
639#define NETDEV_FCOE_WWPN 1
640 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
641 u64 *wwn, int type);
638#endif 642#endif
639}; 643};
640 644