ethdev: add return values to callback process API
authorBernard Iremonger <bernard.iremonger@intel.com>
Thu, 15 Jun 2017 12:29:50 +0000 (13:29 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 1 Jul 2017 15:19:55 +0000 (17:19 +0200)
commitd6af1a13d7a14d062d11b37f6e31caa0f3823fe0
tree4388046b9e072bdd04aabdbb41cc8ab8bec1181c
parentaae9817d5daf60d50046a981c66f2702ee88652c
ethdev: add return values to callback process API

Change the rte_eth_dev_callback_process function to return int,
and add a void *ret_param parameter.
The new parameter is used by ixgbe and i40e instead of abusing
the user data of the callback.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
26 files changed:
app/test-pmd/testpmd.c
doc/guides/rel_notes/deprecation.rst
drivers/net/bnxt/rte_pmd_bnxt.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/bonding/rte_eth_bond_private.h
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c
drivers/net/enic/enic_main.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_pf.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_pf.c
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/nfp/nfp_net.c
drivers/net/sfc/sfc_intr.c
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/vhost/rte_eth_vhost.c
drivers/net/virtio/virtio_ethdev.c
examples/link_status_interrupt/main.c
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map
test/test/test_link_bonding.c
test/test/virtual_pmd.c