NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Enumerations | Functions
rxepoll.c File Reference
#include "rxepoll.h"
#include "face.h"

Enumerations

enum  { MaxEvents = 4 , MaxPacketsPerSocket = MaxBurstSize / MaxEvents }
 

Functions

void SocketRxEpoll_PrepareEvent (struct epoll_event *e, FaceID id, int fd)
 
void SocketRxEpoll_RxBurst (RxGroup *rxg, RxGroupBurstCtx *ctx)
 
 STATIC_ASSERT_FUNC_TYPE (RxGroup_RxBurstFunc, SocketRxEpoll_RxBurst)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MaxEvents 
MaxPacketsPerSocket 

Function Documentation

◆ SocketRxEpoll_PrepareEvent()

void SocketRxEpoll_PrepareEvent ( struct epoll_event *  e,
FaceID  id,
int  fd 
)

◆ SocketRxEpoll_RxBurst()

void SocketRxEpoll_RxBurst ( RxGroup rxg,
RxGroupBurstCtx ctx 
)

◆ STATIC_ASSERT_FUNC_TYPE()

STATIC_ASSERT_FUNC_TYPE ( RxGroup_RxBurstFunc  ,
SocketRxEpoll_RxBurst   
)