[dpdk-stable] [PATCH v1] net/iavf: fix cannot release mbufs issue

Zhang, Qi Z qi.z.zhang at intel.com
Wed Nov 11 09:19:25 CET 2020



> -----Original Message-----
> From: Wu, Jingjing <jingjing.wu at intel.com>
> Sent: Wednesday, November 11, 2020 1:16 PM
> To: Xu, Ting <ting.xu at intel.com>; dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei <beilei.xing at intel.com>;
> stable at dpdk.org
> Subject: RE: [PATCH v1] net/iavf: fix cannot release mbufs issue
> 
> 
> 
> > -----Original Message-----
> > From: Xu, Ting <ting.xu at intel.com>
> > Sent: Wednesday, November 11, 2020 11:07 AM
> > To: dev at dpdk.org
> > Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei
> > <beilei.xing at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Xu,
> > Ting <ting.xu at intel.com>; stable at dpdk.org
> > Subject: [PATCH v1] net/iavf: fix cannot release mbufs issue
> >
> > In the function _iavf_rx_queue_release_mbufs_vec to release rx mbufs,
> > rxq->rxrearm_nb is given the value of rx descriptor number at last.
> > However, since the process to release and allocate mbufs lacks the
> > initialization of rxrearm_nb, if we try to release mbufs next time, it
> > will return without releasing directly. In this patch, rxrearm_nb is
> > initialized to be zero in rx queue reset.
> >
> > Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Ting Xu <ting.xu at intel.com>
> 
> Acked-by: Jingjing Wu <jingjing.wu at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
> 



More information about the stable mailing list