ixgbe_sriov.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*******************************************************************************
  2. Intel 10 Gigabit PCI Express Linux driver
  3. Copyright(c) 1999 - 2009 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. int ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter,
  23. int entries, u16 *hash_list, u32 vf);
  24. void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter);
  25. int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, u32 vf);
  26. void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf);
  27. void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf);
  28. void ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf);
  29. void ixgbe_msg_task(struct ixgbe_adapter *adapter);
  30. int ixgbe_set_vf_mac(struct ixgbe_adapter *adapter,
  31. int vf, unsigned char *mac_addr);
  32. int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
  33. void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter);
  34. void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
  35. void ixgbe_dump_registers(struct ixgbe_adapter *adapter);
  36. #endif /* _IXGBE_SRIOV_H_ */