FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::net::DpdkConfig Struct Reference

#include <fastmm/net/dpdk_datagram_source.hpp>

Public Attributes

std::vector< std::string > eal_args
 argv[1..] of rte_eal_init
 
std::string port
 ethdev name ("net_af_packet0", "0000:00:06.0"); "" = first
 
std::vector< DpdkSubscription > subscriptions
 line = index, at most 256
 
std::uint16_t rx_descriptors = 1024
 
std::uint16_t tx_descriptors = 512
 
std::uint32_t mbufs = 8191
 
std::uint32_t batch = 32
 frames per rx burst, at most 256
 
bool verify_udp_checksum = false
 
std::string exception_port
 Kernel exception path: ethdev name of a net_tap vdev ("" = none).
 
std::string exception_ip
 
std::int64_t exception_interval_ns = 20'000
 

Member Data Documentation

◆ eal_args

std::vector<std::string> fastmm::net::DpdkConfig::eal_args

argv[1..] of rte_eal_init

◆ port

std::string fastmm::net::DpdkConfig::port

ethdev name ("net_af_packet0", "0000:00:06.0"); "" = first

◆ subscriptions

std::vector<DpdkSubscription> fastmm::net::DpdkConfig::subscriptions

line = index, at most 256

◆ rx_descriptors

std::uint16_t fastmm::net::DpdkConfig::rx_descriptors = 1024

◆ tx_descriptors

std::uint16_t fastmm::net::DpdkConfig::tx_descriptors = 512

◆ mbufs

std::uint32_t fastmm::net::DpdkConfig::mbufs = 8191

◆ batch

std::uint32_t fastmm::net::DpdkConfig::batch = 32

frames per rx burst, at most 256

◆ verify_udp_checksum

bool fastmm::net::DpdkConfig::verify_udp_checksum = false

◆ exception_port

std::string fastmm::net::DpdkConfig::exception_port

Kernel exception path: ethdev name of a net_tap vdev ("" = none).

Its netdev gets the port's MAC and exception_ip ("a.b.c.d/len", "" = leave it unconfigured) and is brought up.

◆ exception_ip

std::string fastmm::net::DpdkConfig::exception_ip

◆ exception_interval_ns

std::int64_t fastmm::net::DpdkConfig::exception_interval_ns = 20'000