[PATCH v4] net/i40e: fix the issue caused by PF and VF release order

Zhang, Qi Z qi.z.zhang at intel.com
Mon Aug 8 02:30:42 CEST 2022



> -----Original Message-----
> From: Zhang, Qi Z
> Sent: Monday, August 8, 2022 8:06 AM
> To: Zhang, Yuying <yuying.zhang at intel.com>; Zhang, Ke1X
> <ke1x.zhang at intel.com>; thomas at monjalon.net; Xing, Beilei
> <beilei.xing at intel.com>; ferruh.yigit at xilinx.com; Zhou, YidingX
> <yidingx.zhou at intel.com>; dev at dpdk.org
> Cc: stable at dpdk.org
> Subject: RE: [PATCH v4] net/i40e: fix the issue caused by PF and VF release
> order
> 
> 
> 
> > -----Original Message-----
> > From: Zhang, Yuying <yuying.zhang at intel.com>
> > Sent: Tuesday, August 2, 2022 10:16 AM
> > To: Zhang, Ke1X <ke1x.zhang at intel.com>; thomas at monjalon.net; Xing,
> > Beilei <beilei.xing at intel.com>; ferruh.yigit at xilinx.com; Zhou, YidingX
> > <yidingx.zhou at intel.com>; dev at dpdk.org
> > Cc: stable at dpdk.org
> > Subject: RE: [PATCH v4] net/i40e: fix the issue caused by PF and VF
> > release order
> >
> > Hi Ke,
> >
> > Please update commit log.
> > LGTM.
> >
> > > -----Original Message-----
> > > From: Zhang, Ke1X <ke1x.zhang at intel.com>
> > > Sent: Friday, July 15, 2022 5:04 PM
> > > To: thomas at monjalon.net; Zhang, Yuying <yuying.zhang at intel.com>;
> > > Xing, Beilei <beilei.xing at intel.com>; ferruh.yigit at xilinx.com; Zhou,
> > > YidingX <yidingx.zhou at intel.com>; dev at dpdk.org
> > > Cc: Zhang, Ke1X <ke1x.zhang at intel.com>; stable at dpdk.org
> > > Subject: [PATCH v4] net/i40e: fix the issue caused by PF and VF
> > > release order
> > >
> > > A segmentation fault occurs when testpmd exit.
> > >
> > > This is due to fetching the device name from PF, PF is freed firstly
> > > and then VF representor is called later.
> > >
> > > This commit fixes the bug by fetching the device name from VF
> > > representor not PF.
> >
> > instead of PF
> >
> > >
> > > Fixes: e391a7b7f815 ("net/i40e: fix multi-process shared data")
> > > Cc: stable at dpdk.org
> > >
> > > Signed-off-by: Ke Zhang <ke1x.zhang at intel.com>
> > Acked-by: Yuying Zhang <yuying.zhang at intel.com>
> 
> Applied to dpdk-next-net-intel.

Overwritten by v5 with refined commit log
> 
> Thanks
> Qi



More information about the stable mailing list