> -----Original Message-----
> From: David Marchand [mailto:david.march...@redhat.com]
> Sent: Wednesday, July 24, 2019 11:59 AM
> To: dev@dpdk.org
> Cc: olivier.m...@6wind.com; sta...@dpdk.org; Lu, Wenzhuo
> <wenzhuo...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Iremonger,
> Bernard <bernard.iremon...@intel.com>
> Subject: [PATCH] app/testpmd: fix eth packet dump for small buffers
> 
> In the rather unlikely case where the first segment is too small to contain an
> ethernet header, we can't go and directly dereference the mbuf data buffer.
> 
> Using rte_pktmbuf_read is a little more expensive but this is still acceptable
> for a debugging feature.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: David Marchand <david.march...@redhat.com>

Acked-by: Bernard Iremonger <bernard.iremon...@intel.com>

Reply via email to