On Sun,  3 Sep 2017 23:49:44 +0800
Jeff Guo <jia....@intel.com> wrote:

> +                     /**
> +                      * add device uevent file descriptor
> +                      * into wait list for uevent monitoring.
> +                      */
> +                     ev.events = EPOLLIN | EPOLLPRI | EPOLLRDHUP | EPOLLHUP;
> +                     ev.data.fd = src->intr_handle.uevent_fd;
> +                     if (epoll_ctl(pfd, EPOLL_CTL_ADD,
> +                                     src->intr_handle.uevent_fd, &ev) < 0){
> +                             rte_panic("Error adding uevent_fd %d epoll_ctl"
> +                                     ", %s\n",
> +                                     src->intr_handle.uevent_fd,
> +                                     strerror(errno));

Panicing a user application under load is not going to make people happy

Reply via email to