[dpdk-dev] [PATCH v3] driver/net/mpipe: fix the crash/hung issue when testpmd quits
Bruce Richardson
bruce.richardson at intel.com
Fri Feb 26 18:35:58 CET 2016
On Wed, Feb 10, 2016 at 12:15:21AM -0500, Liming Sun wrote:
> Fixes: the hung/crash issue when quitting testpmd under high
> traffic rate. The following issue were found and fixed.
> 1. edesc->size is not initialized properly in mpipe_do_xmit() and could
> cause buffer leak or corruption when HW buffer return is used.
> 2. Check the 'idesc.be' error bit in mpipe_recv_flush() to make sure
> buffer is valid before releasing it. This is to avoid issues when
> running out of buffers.
> 3. priv->rx_buffers counter is not accurate when HW buffer return is
> used. Remove this counter to simplify the code.
>
> Signed-off-by: Liming Sun <lsun at ezchip.com>
> Acked-by: Zhigang Lu <zlu at ezchip.com>
> ---
Applied to dpdk-next-net/rel_16_04
/Bruce
More information about the dev
mailing list