[dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD
bruce.richardson at intel.com
Tue Oct 10 13:39:59 CEST 2017
On Tue, Oct 10, 2017 at 07:05:33AM -0400, Roger B. Melton wrote:
> Hi Bruce,
> I can. It will take a day or 2 to get the results.
Thanks. Keep us posted. We want to ensure we have the best fix possible
for the issue in this release.
> On 10/10/17 4:48 AM, Bruce Richardson wrote:
> > +Roger Melton
> > On Tue, Oct 10, 2017 at 09:22:05AM -0400, Qi Zhang wrote:
> > > vPMD tx does not set sw_ring's mbuf to NULL after free it.
> > > So to prevent same mbuf be free again, we need more carefully
> > > check in i40e_tx_queue_release_mbufs.
> > >
> > > Fixes: b4669bb95038 ("i40e: add vector Tx")
> > > Cc: stable at dpdk.org
> > >
> > > Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
> > > ---
> > > v2:
> > > - fix at i40e_tx_queue_release_mbufs so no performance impact.
> > >
> > This patch also supercedes this one, http://dpdk.org/dev/patchwork/patch/29814/
> > right?
> > Roger, can you please confirm that this alternative fix works in your
> > testing and that your patch is no longer necessary too.
> > Thanks,
> > /Bruce
> > .
More information about the dev