[dpdk-dev] [PATCH 0/3] fix invalid Tx threshhold setup

Zhang, Qi Z qi.z.zhang at intel.com
Wed May 15 09:09:49 CEST 2019



> -----Original Message-----
> From: Xing, Beilei
> Sent: Wednesday, May 15, 2019 2:36 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Lu, Wenzhuo
> <wenzhuo.lu at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Ananyev,
> Konstantin <konstantin.ananyev at intel.com>
> Cc: dev at dpdk.org
> Subject: RE: [PATCH 0/3] fix invalid Tx threshhold setup
> 
> 
> 
> > -----Original Message-----
> > From: Zhang, Qi Z
> > Sent: Saturday, May 4, 2019 5:30 PM
> > To: Xing, Beilei <beilei.xing at intel.com>; Lu, Wenzhuo
> > <wenzhuo.lu at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Ananyev,
> > Konstantin <konstantin.ananyev at intel.com>
> > Cc: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>
> > Subject: [PATCH 0/3] fix invalid Tx threshhold setup
> >
> > When tx_free_thresh + tx_rs_thresh > nb_desc, it is possible that an
> > outdated DD status be checked as tx_next_dd, then segment fault happen
> > due to free a NULL mbuf pointer.
> >
> > The issue usually happens with an aggresive tx_free_thresh, for example:
> >
> > ./testpmd -c 0x3 -n 4 -- -i --rxq=16 --txq=16 --rxd=1024 --txd=1024 --
> > txfreet=1020
> >
> > The patchset fix this issue on i40e, ixgbe and ice.
> >
> > Qi Zhang (3):
> >   net/i40e: fix invalid Tx threshold setup
> >   net/ice: fix invalid Tx threshold setup
> >   net/ixgbe: fix invalid Tx threshold setup
> >
> >  drivers/net/i40e/i40e_rxtx.c   | 19 +++++++++++++++++--
> >  drivers/net/ice/ice_rxtx.c     | 21 ++++++++++++++++++---
> >  drivers/net/ixgbe/ixgbe_rxtx.c | 19 +++++++++++++++++--
> >  3 files changed, 52 insertions(+), 7 deletions(-)
> >
> > --
> > 2.13.6
> 
> Acked-by: Beilei Xing <beilei.xing at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list