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

2015-10-30 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 v2 04/11] eal/linux: not allow to enable zero intr efd

2015-10-30 Thread He, Shaopeng
> -Original Message- > From: Liang, Cunming > Sent: Friday, October 30, 2015 1:28 PM > To: dev at dpdk.org > Cc: Zhang, Helin; He, Shaopeng; Wu, Jingjing; Liang, Cunming > Subject: [PATCH v2 04/11] eal/linux: not allow to enable zero intr efd > > The patch adds condition check to avoid en