Re: [dpdk-dev] [PATCH v3] mbuf: fix bulk allocation when debug enabled

2017-05-10 Thread Thomas Monjalon
10/05/2017 17:13, Olivier Matz: > From: Gregory Etelson > > The debug assertions when allocating a raw mbuf are not correct since > commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool"), > which triggers a panic when using this function in debug mode > > Change the expected number of segme

[dpdk-dev] [PATCH v3] mbuf: fix bulk allocation when debug enabled

2017-05-10 Thread Olivier Matz
From: Gregory Etelson The debug assertions when allocating a raw mbuf are not correct since commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool"), which triggers a panic when using this function in debug mode Change the expected number of segments to 1 instead of 0, and factorize these san