GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
rte_epoll.h(3) DPDK rte_epoll.h(3)

rte_epoll.h

#include <stdint.h>
#include <rte_stdatomic.h>


struct rte_epoll_event


#define RTE_EPOLL_PER_THREAD -1


int rte_epoll_wait (int epfd, struct rte_epoll_event *events, int maxevents, int timeout)
int rte_epoll_wait_interruptible (int epfd, struct rte_epoll_event *events, int maxevents, int timeout)
int rte_epoll_ctl (int epfd, int op, int fd, struct rte_epoll_event *event)

The rte_epoll provides interfaces functions to add delete events, wait poll for an event.

Definition in file rte_epoll.h.

to hint using per thread epfd

Definition at line 48 of file rte_epoll.h.

It waits for events on the epoll instance. Retries if signal received.

Parameters

epfd Epoll instance fd on which the caller wait for events.
events Memory area contains the events that will be available for the caller.
maxevents Up to maxevents are returned, must greater than zero.
timeout Specifying a timeout of -1 causes a block indefinitely. Specifying a timeout equal to zero cause to return immediately.

Returns

  • On success, returns the number of available event.
  • On failure, a negative value.

It waits for events on the epoll instance. Does not retry if signal received.

Parameters

epfd Epoll instance fd on which the caller wait for events.
events Memory area contains the events that will be available for the caller.
maxevents Up to maxevents are returned, must greater than zero.
timeout Specifying a timeout of -1 causes a block indefinitely. Specifying a timeout equal to zero cause to return immediately.

Returns

  • On success, returns the number of available event.
  • On failure, a negative value.

It performs control operations on epoll instance referred by the epfd. It requests that the operation op be performed for the target fd.

Parameters

epfd Epoll instance fd on which the caller perform control operations.
op The operation be performed for the target fd.
fd The target fd on which the control ops perform.
event Describes the object linked to the fd. Note: The caller must take care the object deletion after CTL_DEL.

Returns

  • On success, zero.
  • On failure, a negative value.

Generated automatically by Doxygen for DPDK from the source code.

Tue Jun 30 2026 Version 25.11.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.