]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bonding/rte_eth_bond_pmd.c
ethdev: change link status get functions to return int
[dpdk.git] / drivers / net / bonding / rte_eth_bond_pmd.c
index 4c517e676d0e44d85b6515f1c05ae96a437d8b49..627d8de63efb1c4b2daaa1dd59438d3fa1d68baa 100644 (file)
@@ -2358,7 +2358,7 @@ bond_ethdev_slave_link_status_change_monitor(void *cb_arg)
 static int
 bond_ethdev_link_update(struct rte_eth_dev *ethdev, int wait_to_complete)
 {
-       void (*link_update)(uint16_t port_id, struct rte_eth_link *eth_link);
+       int (*link_update)(uint16_t port_id, struct rte_eth_link *eth_link);
 
        struct bond_dev_private *bond_ctx;
        struct rte_eth_link slave_link;