|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "logging/Logging.hpp"#include <rte_eal.h>#include <rte_ethdev.h>#include <algorithm>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | dunedaq |
| The DUNE-DAQ namespace. | |
| namespace | dunedaq::dpdklibs |
| namespace | dunedaq::dpdklibs::ifaceutils |
Macros | |
| #define | RX_RING_SIZE 1024 |
| #define | TX_RING_SIZE 1024 |
| #define | NUM_MBUFS 8191 |
| #define | MBUF_CACHE_SIZE 250 |
| #define | PG_JUMBO_FRAME_LEN (9600 + RTE_ETHER_CRC_LEN + RTE_ETHER_HDR_LEN) |
| #define | RTE_JUMBO_ETHER_MTU (PG_JUMBO_FRAME_LEN - RTE_ETHER_HDR_LEN - RTE_ETHER_CRC_LEN) /*< Ethernet MTU. */ |
Functions | |
| int | dunedaq::dpdklibs::ifaceutils::get_num_available_ifaces () |
| void | dunedaq::dpdklibs::ifaceutils::iface_conf_rss_mode (struct rte_eth_conf &iface_conf, bool mode=false, bool offload=false) |
| int | dunedaq::dpdklibs::ifaceutils::iface_promiscuous_mode (std::uint16_t iface, bool mode=false) |
| bool | dunedaq::dpdklibs::ifaceutils::iface_valid (uint16_t iface) |
| void | dunedaq::dpdklibs::ifaceutils::hex_digits_to_stream (std::ostringstream &ostrs, int value, char separator=' ', char fill='0', int digits=2) |
| std::string | dunedaq::dpdklibs::ifaceutils::get_iface_mac_str (uint16_t iface) |
| std::string | dunedaq::dpdklibs::ifaceutils::get_iface_pci_str (uint16_t iface) |
| int | dunedaq::dpdklibs::ifaceutils::iface_reset (uint16_t iface) |
Variables | |
| static volatile uint8_t | dunedaq::dpdklibs::ifaceutils::dpdk_quit_signal |
| static const struct rte_eth_conf | dunedaq::dpdklibs::ifaceutils::iface_conf_default |
RTE Interface setup functions for DPDK
This is part of the DUNE DAQ , copyright 2020. Licensing/copyright details are in the COPYING file that you should have received with this code.
Definition in file RTEIfaceSetup.hpp.
| #define MBUF_CACHE_SIZE 250 |
Definition at line 27 of file RTEIfaceSetup.hpp.
| #define NUM_MBUFS 8191 |
Definition at line 26 of file RTEIfaceSetup.hpp.
| #define PG_JUMBO_FRAME_LEN (9600 + RTE_ETHER_CRC_LEN + RTE_ETHER_HDR_LEN) |
Definition at line 29 of file RTEIfaceSetup.hpp.
| #define RTE_JUMBO_ETHER_MTU (PG_JUMBO_FRAME_LEN - RTE_ETHER_HDR_LEN - RTE_ETHER_CRC_LEN) /*< Ethernet MTU. */ |
Definition at line 31 of file RTEIfaceSetup.hpp.
| #define RX_RING_SIZE 1024 |
Definition at line 23 of file RTEIfaceSetup.hpp.
| #define TX_RING_SIZE 1024 |
Definition at line 24 of file RTEIfaceSetup.hpp.