[dpdk-dev] 回复: [PATCH v9 5/5] distributor: use wait until scheme

Feifei Wang Feifei.Wang2 at arm.com
Tue Nov 2 03:00:16 CET 2021



> -----邮件原件-----
> 发件人: dev <dev-bounces at dpdk.org> 代表 Pattan, Reshma
> 发送时间: Tuesday, November 2, 2021 12:05 AM
> 收件人: Feifei Wang <Feifei.Wang2 at arm.com>; Hunt, David
> <david.hunt at intel.com>
> 抄送: dev at dpdk.org; nd <nd at arm.com>; jerinjacobk at gmail.com;
> stephen at networkplumber.org; thomas at monjalon.net;
> david.marchand at redhat.com; Ruifeng Wang <Ruifeng.Wang at arm.com>;
> jerinj at marvell.com
> 主题: Re: [dpdk-dev] [PATCH v9 5/5] distributor: use wait until scheme
> 
> 
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Feifei Wang
> > ---
> >  lib/distributor/rte_distributor_single.c | 10 ++++------
> 
> Hi ,
> 
> rte_distributor.c  file also has couple of places where similar change can be
> done, just wondering was that missed ?
Thanks for your reminding.
I just checked rte_distributor.c and there are 6 places which have rte_pause.

However, I think these places cannot apply the new helper due to that they need
to do other actions in the loop besides waiting. 
Our new helper can only wait for the change of this variable, not do other actions.

Best Regards
Feifei 
> 
> Thanks,
> Reshma



More information about the dev mailing list