NDN-DPDK
High-Speed Named Data Networking Forwarder
|
mbuf alignment requirements for encoding or packet modification. More...
#include <common.h>
Data Fields | |
uint16_t | fragmentPayloadSize |
Max payload size per fragment. More... | |
bool | linearize |
Whether packet must be linearized into contiguous mbufs. More... | |
mbuf alignment requirements for encoding or packet modification.
If linearize
is set to true, encoders should output direct mbufs, copying payload when necessary. Each mbuf
should have at least RTE_PKTMBUF_HEADROOM+LpHeaderHeadroom
headroom and its data_len
cannot exceed fragmentPayloadSize
. FaceTx will prepend NDNLPv2 headers to each mbuf and transmit it as a NDNLPv2 fragment.
If linearize
is set to false, encoders may use a mix of direct and indirect mbufs with arbitrary boundaries. FaceTx will perform fragmentation as needed. fragmentPayloadSize
is ignored.
uint16_t PacketTxAlign::fragmentPayloadSize |
Max payload size per fragment.
bool PacketTxAlign::linearize |
Whether packet must be linearized into contiguous mbufs.