[dpdk-dev] [PATCH v7 02/10] eal/linux: add rte_epoll_wait/ctl support

Liang, Cunming cunming.liang at intel.com
Mon May 11 05:32:48 CEST 2015



On 5/8/2015 10:57 AM, Stephen Hemminger wrote:
> On Tue,  5 May 2015 13:39:38 +0800
> Cunming Liang <cunming.liang at intel.com> wrote:
>
>> +	else if (rc < 0) {
>> +		/* epoll_wait fail */
>> +		RTE_LOG(ERR, EAL, "epoll_wait returns with fail %s\n",
>> +			strerror(errno));
> In real application there maybe other random signals.
> Therefore the code should ignore and return for case of EWOULDBLOCK and EINTR
[LCM] Thanks, you're right, when EINTR happens, shall continue 
epoll_wait instead of return.
Per EWOULDBLOCK, seems epoll_wait won't return it, so I assume your 
mention is about epoll event read.


More information about the dev mailing list