[dpdk-dev] [PATCH v6 02/10] ethdev: make error checking macros public

2015-11-10 Thread Adrien Mazarguil
On Tue, Nov 10, 2015 at 05:32:35PM +, Declan Doherty wrote: > Move the function pointer and port id checking macros to rte_ethdev and > rte_dev header files, so that they can be used in the static inline > functions there. Also replace the RTE_LOG call within > RTE_PMD_DEBUG_TRACE so this macro

[dpdk-dev] [PATCH v6 02/10] ethdev: make error checking macros public

2015-11-10 Thread Declan Doherty
Move the function pointer and port id checking macros to rte_ethdev and rte_dev header files, so that they can be used in the static inline functions there. Also replace the RTE_LOG call within RTE_PMD_DEBUG_TRACE so this macro can be built with the -pedantic flag Signed-off-by: Declan Doherty --