[dpdk-stable] [dpdk-dev] [PATCH v2 6/6] ethdev: return named opaque type instead of void pointer

Stephen Hemminger stephen at networkplumber.org
Tue Jan 9 19:58:11 CET 2018


On Tue,  9 Jan 2018 16:23:17 +0000
Ferruh Yigit <ferruh.yigit at intel.com> wrote:

> "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.
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

My  comment was "yes I agree pointer should have opaque type"

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the stable mailing list