The first patch of this patchset contains a fix for EAL PCI probing, to avoid a race-condition where a primary and secondary probe PCI devices at the same time.
The second patch adds a function that can be polled by a process to detect if a DPDK primary process is alive. This function does not rely on rte_eal_init(), as this uses the EAL and thus stops a primary from starting. The functionality provided by this patch is very useful for providing additional services to DPDK primary applications such as monitoring statistics and performing fault detection. v8: - include implementation of function (got lost in v7) v7: - split patch into two, one for eal fix, one for adding functionality v6: - Fix license header v5: - Renamed returns in doc from words to digits - Fixed line spacing in docs - Fixed line spacing in EAL header - Rebased to master (Makefile conflicts) v4: - Rebased to git head (2.3 -> 16.04 changes) v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved co Harry van Haaren (2): eal: fix race-condition in pri/sec proc startup eal: add function to check if primary proc alive doc/guides/rel_notes/release_16_04.rst | 8 ++++ lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/eal.c | 6 +-- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_proc.c | 61 +++++++++++++++++++++++++ lib/librte_eal/common/include/rte_eal.h | 20 +++++++- lib/librte_eal/linuxapp/eal/Makefile | 3 +- lib/librte_eal/linuxapp/eal/eal.c | 6 +-- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 9 files changed, 99 insertions(+), 8 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_proc.c -- 2.5.0