[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-08 Thread David Marchand
On Tue, Mar 8, 2016 at 2:57 PM, Van Haaren, Harry wrote: >> From: David Marchand [mailto:david.marchand at 6wind.com] >> >> The issue is that if a secondary process is initialized, it holds a read >> >> lock on /var/run/.rte_config and this prevents a primary from starting. >> > >> > The new

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-08 Thread Van Haaren, Harry
> From: David Marchand [mailto:david.marchand at 6wind.com] > >> The issue is that if a secondary process is initialized, it holds a read > >> lock on /var/run/.rte_config and this prevents a primary from starting. > > > > The new function is advertised as a monitoring feature. > > But it seems

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-08 Thread David Marchand
On Tue, Mar 8, 2016 at 12:13 PM, Thomas Monjalon wrote: > 2016-03-08 09:58, Van Haaren, Harry: >> From: David Marchand [mailto:david.marchand at 6wind.com] >> > When I look at this new api, I am under the impression that you are >> > supposed to check for primary liveliness once dpdk init has

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-08 Thread Thomas Monjalon
2016-03-08 09:58, Van Haaren, Harry: > From: David Marchand [mailto:david.marchand at 6wind.com] > > When I look at this new api, I am under the impression that you are > > supposed to check for primary liveliness once dpdk init has finished > > (from your secondary process point of view), not

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-08 Thread Van Haaren, Harry
Hi David, > From: David Marchand [mailto:david.marchand at 6wind.com] > Subject: Re: [PATCH v6] eal: add function to check if primary proc alive > When I look at this new api, I am under the impression that you are > supposed to check for primary liveliness once dpdk init has finished > (from

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-07 Thread Harry van Haaren
This patch adds a new function to the EAL API: int rte_eal_primary_proc_alive(const char *path); The function indicates if a primary process is alive right now. This functionality is implemented by testing for a write- lock on the config file, and the function tests for a lock. The use case for