diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c1b2341897c..c3487a6bdf9 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -686,6 +686,9 @@ struct netdev_rx_queue { | |||
686 | * int (*ndo_set_vf_tx_rate)(struct net_device *dev, int vf, int rate); | 686 | * int (*ndo_set_vf_tx_rate)(struct net_device *dev, int vf, int rate); |
687 | * int (*ndo_get_vf_config)(struct net_device *dev, | 687 | * int (*ndo_get_vf_config)(struct net_device *dev, |
688 | * int vf, struct ifla_vf_info *ivf); | 688 | * int vf, struct ifla_vf_info *ivf); |
689 | * int (*ndo_set_vf_port)(struct net_device *dev, int vf, | ||
690 | * struct nlattr *port[]); | ||
691 | * int (*ndo_get_vf_port)(struct net_device *dev, int vf, struct sk_buff *skb); | ||
689 | */ | 692 | */ |
690 | #define HAVE_NET_DEVICE_OPS | 693 | #define HAVE_NET_DEVICE_OPS |
691 | struct net_device_ops { | 694 | struct net_device_ops { |
@@ -735,6 +738,11 @@ struct net_device_ops { | |||
735 | int (*ndo_get_vf_config)(struct net_device *dev, | 738 | int (*ndo_get_vf_config)(struct net_device *dev, |
736 | int vf, | 739 | int vf, |
737 | struct ifla_vf_info *ivf); | 740 | struct ifla_vf_info *ivf); |
741 | int (*ndo_set_vf_port)(struct net_device *dev, | ||
742 | int vf, | ||
743 | struct nlattr *port[]); | ||
744 | int (*ndo_get_vf_port)(struct net_device *dev, | ||
745 | int vf, struct sk_buff *skb); | ||
738 | #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) | 746 | #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) |
739 | int (*ndo_fcoe_enable)(struct net_device *dev); | 747 | int (*ndo_fcoe_enable)(struct net_device *dev); |
740 | int (*ndo_fcoe_disable)(struct net_device *dev); | 748 | int (*ndo_fcoe_disable)(struct net_device *dev); |