|
@@ -922,11 +922,15 @@ struct net_device_ops {
|
|
u16 xid,
|
|
u16 xid,
|
|
struct scatterlist *sgl,
|
|
struct scatterlist *sgl,
|
|
unsigned int sgc);
|
|
unsigned int sgc);
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_LIBFCOE) || defined(CONFIG_LIBFCOE_MODULE)
|
|
#define NETDEV_FCOE_WWNN 0
|
|
#define NETDEV_FCOE_WWNN 0
|
|
#define NETDEV_FCOE_WWPN 1
|
|
#define NETDEV_FCOE_WWPN 1
|
|
int (*ndo_fcoe_get_wwn)(struct net_device *dev,
|
|
int (*ndo_fcoe_get_wwn)(struct net_device *dev,
|
|
u64 *wwn, int type);
|
|
u64 *wwn, int type);
|
|
#endif
|
|
#endif
|
|
|
|
+
|
|
#ifdef CONFIG_RFS_ACCEL
|
|
#ifdef CONFIG_RFS_ACCEL
|
|
int (*ndo_rx_flow_steer)(struct net_device *dev,
|
|
int (*ndo_rx_flow_steer)(struct net_device *dev,
|
|
const struct sk_buff *skb,
|
|
const struct sk_buff *skb,
|