#include "logging/Logging.hpp"
#include <boost/program_options/parsers.hpp>
#include "dpdklibs/EALSetup.hpp"
#include "dpdklibs/Issues.hpp"
#include <rte_eal.h>
#include <rte_ethdev.h>
Go to the source code of this file.
|
std::string | dunedaq::dpdklibs::ealutils::get_mac_addr_str (const rte_ether_addr &addr) |
|
void | dunedaq::dpdklibs::ealutils::iface_conf_rss_mode (struct rte_eth_conf &iface_conf, bool mode=false, bool offload=false) |
|
int | dunedaq::dpdklibs::ealutils::iface_promiscuous_mode (std::uint16_t iface, bool mode=false) |
|
int | dunedaq::dpdklibs::ealutils::iface_init (uint16_t iface, uint16_t rx_rings, uint16_t tx_rings, uint16_t rx_ring_size, uint16_t tx_ring_size, std::map< int, std::unique_ptr< rte_mempool > > &mbuf_pool, bool with_reset=false, bool with_mq_rss=false, bool check_link_status=false) |
|
std::unique_ptr< rte_mempool > | dunedaq::dpdklibs::ealutils::get_mempool (const std::string &pool_name, int num_mbufs=NUM_MBUFS, int mbuf_cache_size=MBUF_CACHE_SIZE, int data_room_size=9800, int socket_id=0) |
|
std::vector< const char * > | dunedaq::dpdklibs::ealutils::construct_eal_argv (const std::vector< std::string > &std_argv) |
|
void | dunedaq::dpdklibs::ealutils::init_eal (int argc, const char *argv[]) |
|
void | dunedaq::dpdklibs::ealutils::init_eal (const std::vector< std::string > &args) |
|
int | dunedaq::dpdklibs::ealutils::get_available_ifaces () |
|
int | dunedaq::dpdklibs::ealutils::wait_for_lcores () |
|
void | dunedaq::dpdklibs::ealutils::finish_eal () |
|
◆ MBUF_CACHE_SIZE
#define MBUF_CACHE_SIZE 250 |
◆ NUM_MBUFS
◆ PG_JUMBO_FRAME_LEN
#define PG_JUMBO_FRAME_LEN (9600 + RTE_ETHER_CRC_LEN + RTE_ETHER_HDR_LEN) |
◆ RTE_JUMBO_ETHER_MTU
#define RTE_JUMBO_ETHER_MTU (PG_JUMBO_FRAME_LEN - RTE_ETHER_HDR_LEN - RTE_ETHER_CRC_LEN) /*< Ethernet MTU. */ |