summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_sriov.h
diff options
context:
space:
mode:
authorGreg Rose2010-01-22 23:46:40 +0100
committerDavid S. Miller2010-01-23 10:13:55 +0100
commit767081adbd920ce93e3f1cbe797d0631637f92b3 (patch)
treeac2abe391813533691229513fb89dbcfe4d4a0ea /drivers/net/ixgbe/ixgbe_sriov.h
parentixgbe: Allow the VF driver to be loaded before the PF driver (diff)
downloadkernel-qcow2-linux-767081adbd920ce93e3f1cbe797d0631637f92b3.tar.gz
kernel-qcow2-linux-767081adbd920ce93e3f1cbe797d0631637f92b3.tar.xz
kernel-qcow2-linux-767081adbd920ce93e3f1cbe797d0631637f92b3.zip
ixgbe: Improve reset coordination between the PF and the VF
Inadequate coordination between the PF driver and the VF driver results in tx hangs in the VF driver when you perform certain actions that will lead to a re-init of the PF. Add feature to notify active VFs when the PF is about to re-initialize so that the VFs can take appropriate action. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_sriov.h')
-rw-r--r--drivers/net/ixgbe/ixgbe_sriov.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_sriov.h b/drivers/net/ixgbe/ixgbe_sriov.h
index 664b237eacb9..51d1106c45a1 100644
--- a/drivers/net/ixgbe/ixgbe_sriov.h
+++ b/drivers/net/ixgbe/ixgbe_sriov.h
@@ -39,6 +39,8 @@ void ixgbe_msg_task(struct ixgbe_adapter *adapter);
int ixgbe_set_vf_mac(struct ixgbe_adapter *adapter,
int vf, unsigned char *mac_addr);
int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
+void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter);
+void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
void ixgbe_dump_registers(struct ixgbe_adapter *adapter);
#endif /* _IXGBE_SRIOV_H_ */