On 5/8/2015 10:57 AM, Stephen Hemminger wrote:
> On Tue, 5 May 2015 13:39:38 +0800
> Cunming Liang wrote:
>
>> +else if (rc < 0) {
>> +/* epoll_wait fail */
>> +RTE_LOG(ERR, EAL, "epoll_wait returns with fail %s\n",
>> +strerror(errno));
> In real
On Tue, 5 May 2015 13:39:38 +0800
Cunming Liang 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.
Therefor
The patch adds 'rte_epoll_wait' and 'rte_epoll_ctl' for async event wakeup.
It defines 'struct rte_epoll_event' as the event param.
The 'op' uses the same enum as epoll_wait/ctl does.
The epoll event support to carry a raw user data and to register a callback
which is exectuted during wakeup.
Sig
3 matches
Mail list logo