[dpdk-dev] [PATCH v3 02/56] net/txgbe: add ethdev probe and remove
Jiawen Wu
jiawenwu at trustnetic.com
Fri Oct 16 11:52:25 CEST 2020
On 10/15/2020 8:56 AM Ferruh Yigit wrote:
> 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)
Since there is no config/common_base, which file should I add the default values
of these config parameters? (RTE_LIBRTE_TXGBE_DEBUG_RX .. etc)
More information about the dev
mailing list