Declaration file for the DpdkTransport class.
More...
#include <netinet/ether.h>
#include <rte_byteorder.h>
#include <rte_cycles.h>
#include <rte_debug.h>
#include <rte_distributor.h>
#include <rte_eal.h>
#include <rte_ethdev.h>
#include <rte_ether.h>
#include <rte_flow.h>
#include <rte_ip.h>
#include <rte_malloc.h>
#include <rte_pause.h>
#include <rte_prefetch.h>
#include <rte_udp.h>
#include <unistd.h>
#include <cinttypes>
#include <string>
#include "utils.h"
Go to the source code of this file.
Declaration file for the DpdkTransport class.
Declaration file for the Memory related storage classes. Table / PtrGrid / PtrCube / 1D buffer allocation & free.
◆ kJumboFrameMaxSize
constexpr size_t kJumboFrameMaxSize = 0x2600 |
|
staticconstexpr |
◆ kMacAddrBtyes
constexpr size_t kMacAddrBtyes = 17 |
|
staticconstexpr |
◆ kMBufCacheSize
constexpr size_t kMBufCacheSize = 128 |
|
staticconstexpr |
◆ kNumMBufs
constexpr size_t kNumMBufs = ((64 * 1024) - 1) |
|
staticconstexpr |
◆ kPayloadOffset
constexpr size_t kPayloadOffset |
|
staticconstexpr |
Initial value:=
sizeof(rte_ether_hdr) + sizeof(rte_ipv4_hdr) + sizeof(rte_udp_hdr)
Offset to the payload starting from the beginning of the UDP frame.
◆ kRxBatchSize
constexpr size_t kRxBatchSize = 16 |
|
staticconstexpr |
Maximum number of packets received in rx_burst.
◆ kRxRingSize
constexpr size_t kRxRingSize = 2048 |
|
staticconstexpr |
◆ kTxBatchSize
constexpr size_t kTxBatchSize = 1 |
|
staticconstexpr |
◆ kTxRingSize
constexpr size_t kTxRingSize = 2048 |
|
staticconstexpr |