Re: [dpdk-dev] [PATCH v4 2/3] ethdev: convert static logtype usage to dynamic

2018-06-19 Thread Andrew Rybchenko
On 06/19/2018 04:04 AM, Ferruh Yigit wrote: Replace RTE_PMD_DEBUG_TRACE with RTE_ETHDEV_LOG. RTE_PMD_DEBUG_TRACE is using hardcoded PMD logtype and ERR log level, controlled by compile time flags. RTE_ETHDEV_LOG is using dynamic ethdev_logtype. Also a few minor cleanups, like - use %u for unsig

[dpdk-dev] [PATCH v4 2/3] ethdev: convert static logtype usage to dynamic

2018-06-18 Thread Ferruh Yigit
Replace RTE_PMD_DEBUG_TRACE with RTE_ETHDEV_LOG. RTE_PMD_DEBUG_TRACE is using hardcoded PMD logtype and ERR log level, controlled by compile time flags. RTE_ETHDEV_LOG is using dynamic ethdev_logtype. Also a few minor cleanups, like - use %u for unsigned values like port_id which is uint16_t - us