ethdev: return named opaque type instead of void pointer
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 20 Mar 2018 16:34:04 +0000 (16:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit03d8f4710030645c138d8b0f74f5168db6954df9
tree53c4a157caad93ed7eaf66f71b050be28fb59cc9
parent462b66d89ab4df2c0c7fd4bc8d6759bbbc18e6d2
ethdev: return named opaque type instead of void pointer

"struct rte_eth_rxtx_callback" is defined as internal data structure and
used as named opaque type.

So the functions that are adding callbacks can return objects in this
type instead of void pointer.

Also const qualifier added to "struct rte_eth_rxtx_callback *" to
protect it better from application modification.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
doc/guides/rel_notes/deprecation.rst
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_latencystats/rte_latencystats.c
lib/librte_pdump/rte_pdump.c