NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Functions | |
void | EthPassthru_FaceRxInput (Face *face, int rxThread, FaceRxInputCtx *ctx) |
Process a burst of received Ethernet frames on a pass-through face. More... | |
STATIC_ASSERT_FUNC_TYPE (Face_RxInputFunc, EthPassthru_FaceRxInput) | |
void | EthPassthru_TapPortRxBurst (RxGroup *rxg, RxGroupBurstCtx *ctx) |
Receive Ethernet frames on a TAP ethdev associated with a pass-through face. More... | |
STATIC_ASSERT_FUNC_TYPE (RxGroup_RxBurstFunc, EthPassthru_TapPortRxBurst) | |
uint16_t | EthPassthru_TxLoop (Face *face, int txThread) |
Process outgoing Ethernet frames on a pass-through face. More... | |
STATIC_ASSERT_FUNC_TYPE (Face_TxLoopFunc, EthPassthru_TxLoop) | |
void EthPassthru_FaceRxInput | ( | Face * | face, |
int | rxThread, | ||
FaceRxInputCtx * | ctx | ||
) |
Process a burst of received Ethernet frames on a pass-through face.
This is set as Face_RxInputFunc
of a pass-through face. It transmits every packet out of the associated TAP ethdev.
void EthPassthru_TapPortRxBurst | ( | RxGroup * | rxg, |
RxGroupBurstCtx * | ctx | ||
) |
Receive Ethernet frames on a TAP ethdev associated with a pass-through face.
This is set as RxGroup_RxBurstFunc
of a TAP ethdev associated with a pass-through face. It enqueues every packet into the output queue of the pass-through face.
uint16_t EthPassthru_TxLoop | ( | Face * | face, |
int | txThread | ||
) |
Process outgoing Ethernet frames on a pass-through face.
This is set as Face_TxLoopFunc
of a pass-through face. It transmits every packet out of the (physical) DPDK ethdev.
STATIC_ASSERT_FUNC_TYPE | ( | Face_RxInputFunc | , |
EthPassthru_FaceRxInput | |||
) |
STATIC_ASSERT_FUNC_TYPE | ( | Face_TxLoopFunc | , |
EthPassthru_TxLoop | |||
) |
STATIC_ASSERT_FUNC_TYPE | ( | RxGroup_RxBurstFunc | , |
EthPassthru_TapPortRxBurst | |||
) |