[dpdk-dev] [PATCH v4 04/13] eal/linux: not allow to enable zero intr efd

2015-11-04 Thread Cunming Liang
The patch adds condition check to avoid enable nothing. In disable state, both max_intr and nb_efd are zero. Signed-off-by: Cunming Liang --- lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h | 3 ++- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 8 +++- lib/lib

[dpdk-dev] [PATCH v4 04/13] eal/linux: not allow to enable zero intr efd

2015-11-04 Thread David Marchand
On Wed, Nov 4, 2015 at 9:45 AM, Cunming Liang wrote: > The patch adds condition check to avoid enable nothing. > In disable state, both max_intr and nb_efd are zero. > > Signed-off-by: Cunming Liang > Acked-by: David Marchand -- David Marchand