ethdev: add return values to callback process API
[dpdk.git] / drivers / net / bonding / rte_eth_bond_private.h
index 71067da..53470f6 100644 (file)
@@ -232,9 +232,6 @@ mac_address_get(struct rte_eth_dev *eth_dev, struct ether_addr *dst_mac_addr);
 int
 mac_address_slaves_update(struct rte_eth_dev *bonded_eth_dev);
 
-uint8_t
-number_of_sockets(void);
-
 int
 bond_ethdev_mode_set(struct rte_eth_dev *eth_dev, int mode);
 
@@ -263,9 +260,9 @@ void
 bond_ethdev_primary_set(struct bond_dev_private *internals,
                uint8_t slave_port_id);
 
-void
+int
 bond_ethdev_lsc_event_callback(uint8_t port_id, enum rte_eth_event_type type,
-               void *param);
+               void *param, void *ret_param);
 
 int
 bond_ethdev_parse_slave_port_kvarg(const char *key,