[dpdk-dev] [PATCH] eal: fix proc type auto detection

2019-07-23 Thread Anatoly Burakov
Currently, primary process holds an exclusive lock on the config file, thereby preventing other primaries from spinning up. However, when the primary dies, the lock is no longer being held, even though there might be other secondary processes still running. The fix is two-fold. First of all, downg

Re: [dpdk-dev] [PATCH] eal: fix proc type auto detection

2019-07-23 Thread Stephen Hemminger
On Tue, 23 Jul 2019 14:19:53 +0100 Anatoly Burakov wrote: > diff --git a/lib/librte_eal/linux/eal/eal.c b/lib/librte_eal/linux/eal/eal.c > index 34db78753..54feb24a3 100644 > --- a/lib/librte_eal/linux/eal/eal.c > +++ b/lib/librte_eal/linux/eal/eal.c > @@ -83,6 +83,13 @@ static struct flock wr_lo