[dpdk-dev] [PATCH v6 00/11] al: replace calls to rte_panic and refrain from new instances
David Marchand
david.marchand at redhat.com
Wed May 8 16:47:07 CEST 2019
On Wed, May 8, 2019 at 1:16 PM Thomas Monjalon <thomas at monjalon.net> wrote:
> I did a status of rte_panic/rte_exit calls in libs.
>
> There are a lot of cleanups to do in EAL.
> We may apply the same kind of solution for Linux, FreeBSD and Windows.
>
>
Thanks for the list.
Only checked at the mbuf part for now.
librte_mbuf:
> void rte_mbuf_sanity_check
> rte_panic
>
This function does panic yes, but we have a non-panicking equivalent
version of this function: rte_mbuf_check().
When RTE_LIBRTE_MBUF_DEBUG is set, a lot of internals in rte_mbuf call
_rte_mbuf_sanity_check which calls rte_mbuf_sanity_check.
--
David Marchand
More information about the dev
mailing list