Re: [dpdk-dev] [PATCH v2 3/3] mbuf: standardize library debug flag

2020-07-09 Thread Lukasz Wojciechowski
W dniu 26.06.2020 o 19:00, Bruce Richardson pisze: > On Wed, Apr 22, 2020 at 11:45:55PM +0200, Lukasz Wojciechowski wrote: >> Use standardized debug macro RTE_DEBUG_MBUF instead of >> RTE_LIBRTE_MBUF_DEBUG for wrapping sanity checks. >> >> Add runtime control of running sanity checks basing on >>

Re: [dpdk-dev] [PATCH v2 3/3] mbuf: standardize library debug flag

2020-06-26 Thread Bruce Richardson
On Wed, Apr 22, 2020 at 11:45:55PM +0200, Lukasz Wojciechowski wrote: > Use standardized debug macro RTE_DEBUG_MBUF instead of > RTE_LIBRTE_MBUF_DEBUG for wrapping sanity checks. > > Add runtime control of running sanity checks basing on > rte_log_can_log() function. > > To run mbuf sanity checks

[dpdk-dev] [PATCH v2 3/3] mbuf: standardize library debug flag

2020-04-22 Thread Lukasz Wojciechowski
Use standardized debug macro RTE_DEBUG_MBUF instead of RTE_LIBRTE_MBUF_DEBUG for wrapping sanity checks. Add runtime control of running sanity checks basing on rte_log_can_log() function. To run mbuf sanity checks all following conditions must occur: 1) RTE_DEBUG_MBUF - must be defined, this can