[dpdk-dev] [PATCH v3 02/56] net/txgbe: add ethdev probe and remove
Ferruh Yigit
ferruh.yigit at intel.com
Thu Oct 15 02:56:07 CEST 2020
On 10/14/2020 6:54 AM, Jiawen Wu wrote:
> Add basic PCIe ethdev probe and remove.
>
> Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
<...>
> +RTE_LOG_REGISTER(txgbe_logtype_init, pmd.net.txgbe.init, NOTICE);
> +RTE_LOG_REGISTER(txgbe_logtype_driver, pmd.net.txgbe.driver, NOTICE);
> +
> +#ifdef RTE_LIBRTE_TXGBE_DEBUG_RX
> + RTE_LOG_REGISTER(txgbe_logtype_rx, pmd.net.txgbe.rx, DEBUG);
> +#endif
> +#ifdef RTE_LIBRTE_TXGBE_DEBUG_TX
> + RTE_LOG_REGISTER(txgbe_logtype_tx, pmd.net.txgbe.tx, DEBUG);
> +#endif
> +
> +#ifdef RTE_LIBRTE_TXGBE_DEBUG_TX_FREE
> + RTE_LOG_REGISTER(txgbe_logtype_tx_free, pmd.net.txgbe.tx_free, DEBUG);
> +#endif
Can you please document available logging types in the driver documentation?
("pmd.net.txgbe.init", .. etc)
More information about the dev
mailing list