[dpdk-dev] [PATCH v4] librte_eal: fix wrong assert for arm and ppc

2017-09-27 Thread Lukasz Majczak
l/arm: add CPU flags for ARMv7") Fixes: 97523f822ba9 ("eal/arm: add CPU flags for ARMv8") Fixes: 9ae155385686 ("eal/ppc: cpu flag checks for IBM Power") Signed-off-by: Lukasz Majczak Acked-by: Jan Viktorin Acked-by: Chao Zhu --- lib/librte_eal/common/arch/arm/rte_cpufla

[dpdk-dev] [PATCH v3] librte_eal: fix wrong assert for arm and ppc

2017-09-25 Thread Lukasz Majczak
l/arm: add CPU flags for ARMv7") Fixes: 97523f822ba9 ("eal/arm: add CPU flags for ARMv8") Fixes: 9ae155385686 ("eal/ppc: cpu flag checks for IBM Power") Signed-off-by: Lukasz Majczak --- lib/librte_eal/common/arch/arm/rte_cpuflags.c| 2 +- lib/librte_eal/common/arch/p

[dpdk-dev] [PATCH v2] librte_eal: fix wrong assert for arm and ppc

2017-09-21 Thread Lukasz Majczak
l/arm: add CPU flags for ARMv7") Fixes: 97523f822ba9 ("eal/arm: add CPU flags for ARMv8") Fixes: 9ae155385686 ("eal/ppc: cpu flag checks for IBM Power") Signed-off-by: Lukasz Majczak --- lib/librte_eal/common/arch/arm/rte_cpuflags.c| 2 +- lib/librte_eal/common/arch/p

[dpdk-dev] [PATCH] librte_eal: fix wrong assert for arm and ppc

2017-09-21 Thread Lukasz Majczak
The assertion of return value from the open() function is done against 0, while it is a correct value - open() returns -1 in case of an error. It causes problems while trying to run as a daemon, in which case, this call to open() will return 0 as a valid descriptor. Signed-off-by: Lukasz Majczak