]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/rte_pmd_ixgbe.h
net/ixgbe: ping VF when PF status changes
[dpdk.git] / drivers / net / ixgbe / rte_pmd_ixgbe.h
index 4d7b507da85174cfca4f1e5bf6fdae2be8d6bf9f..cdb747eafab2e577730d3824f79669e1a4bb4837 100644 (file)
 
 #include <rte_ethdev.h>
 
+/**
+ * Notify VF when PF link status changes.
+ *
+ * @param port
+ *   The port identifier of the Ethernet device.
+ * @param vf
+ *   VF id.
+ * @return
+ *   - (0) if successful.
+ *   - (-ENODEV) if *port* invalid.
+ *   - (-EINVAL) if *vf* invalid.
+ */
+int rte_pmd_ixgbe_ping_vf(uint8_t port, uint16_t vf);
+
 /**
  * Set the VF MAC address.
  *