b974e4a40c
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 <declan.doherty@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>