Re: [dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom

2017-07-01 Thread Thomas Monjalon
30/06/2017 16:27, Olivier Matz: > On Wed, 28 Jun 2017 15:25:12 +0300, Vasily Philipov > wrote: > > rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable > > with any segment, not only with headered ones, so is_header should be 0 > > when we call for sanity check inside them. > > > >

Re: [dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom

2017-06-30 Thread Olivier Matz
On Wed, 28 Jun 2017 15:25:12 +0300, Vasily Philipov wrote: > rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable > with any segment, not only with headered ones, so is_header should be 0 > when we call for sanity check inside them. > > Fixes: af75078fece3 ("first public release")

[dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom

2017-06-28 Thread Vasily Philipov
rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable with any segment, not only with headered ones, so is_header should be 0 when we call for sanity check inside them. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Vasily Philipov --- lib/librte_mb