ixgbe_sriov.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*******************************************************************************
  2. Intel 10 Gigabit PCI Express Linux driver
  3. Copyright(c) 1999 - 2011 Intel Corporation.
  4. This program is free software; you can redistribute it and/or modify it
  5. under the terms and conditions of the GNU General Public License,
  6. version 2, as published by the Free Software Foundation.
  7. This program is distributed in the hope it will be useful, but WITHOUT
  8. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. this program; if not, write to the Free Software Foundation, Inc.,
  13. 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  14. The full GNU General Public License is included in this distribution in
  15. the file called "COPYING".
  16. Contact Information:
  17. e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
  18. Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
  19. *******************************************************************************/
  20. #ifndef _IXGBE_SRIOV_H_
  21. #define _IXGBE_SRIOV_H_
  22. void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter);
  23. void ixgbe_msg_task(struct ixgbe_adapter *adapter);
  24. int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
  25. void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter);
  26. void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
  27. void ixgbe_dump_registers(struct ixgbe_adapter *adapter);
  28. int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac);
  29. int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan,
  30. u8 qos);
  31. int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
  32. int ixgbe_ndo_get_vf_config(struct net_device *netdev,
  33. int vf, struct ifla_vf_info *ivi);
  34. void ixgbe_check_vf_rate_limit(struct ixgbe_adapter *adapter);
  35. #endif /* _IXGBE_SRIOV_H_ */