diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h index 4713f9fc7f4..32c26d586c0 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h @@ -20,6 +20,7 @@    the file called "COPYING".    Contact Information: +  Linux NICS <linux.nics@intel.com>    e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>    Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 @@ -28,7 +29,14 @@  #ifndef _IXGBE_SRIOV_H_  #define _IXGBE_SRIOV_H_ +/*  ixgbe driver limit the max number of VFs could be enabled to + *  63 (IXGBE_MAX_VF_FUNCTIONS - 1) + */ +#define IXGBE_MAX_VFS_DRV_LIMIT  (IXGBE_MAX_VF_FUNCTIONS - 1) + +#ifdef CONFIG_PCI_IOV  void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter); +#endif  void ixgbe_msg_task(struct ixgbe_adapter *adapter);  int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);  void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter); @@ -36,7 +44,8 @@ void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);  int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac);  int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan,  			   u8 qos); -int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate); +int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, +			int max_tx_rate);  int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);  int ixgbe_ndo_get_vf_config(struct net_device *netdev,  			    int vf, struct ifla_vf_info *ivi);  | 
