3#ifndef _DPDKPortConfiguration_0_dunedaq__appmodel_0_appmodel_H_
4#define _DPDKPortConfiguration_0_dunedaq__appmodel_0_appmodel_H_
21 class ProcessingResource;
40 virtual
void init(
bool init_children);
58 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
99 inline static const
std::
string s_mtu = "mtu";
129 std::lock_guard scoped_lock(
m_mutex);
144 std::lock_guard scoped_lock(
m_mutex);
160 std::lock_guard scoped_lock(
m_mutex);
175 std::lock_guard scoped_lock(
m_mutex);
191 std::lock_guard scoped_lock(
m_mutex);
206 std::lock_guard scoped_lock(
m_mutex);
222 std::lock_guard scoped_lock(
m_mutex);
237 std::lock_guard scoped_lock(
m_mutex);
253 std::lock_guard scoped_lock(
m_mutex);
268 std::lock_guard scoped_lock(
m_mutex);
284 std::lock_guard scoped_lock(
m_mutex);
299 std::lock_guard scoped_lock(
m_mutex);
315 std::lock_guard scoped_lock(
m_mutex);
330 std::lock_guard scoped_lock(
m_mutex);
346 std::lock_guard scoped_lock(
m_mutex);
361 std::lock_guard scoped_lock(
m_mutex);
377 std::lock_guard scoped_lock(
m_mutex);
392 std::lock_guard scoped_lock(
m_mutex);
409 std::lock_guard scoped_lock(
m_mutex);
425 std::lock_guard scoped_lock(
m_mutex);
434 inline static const std::string
s_used_lcores =
"used_lcores";
446 const std::vector<const dunedaq::confmodel::ProcessingResource*>&
449 std::lock_guard scoped_lock(
m_mutex);
464 set_used_lcores(
const std::vector<const dunedaq::confmodel::ProcessingResource*>& value);
472 return obj.print_object(s);
uint32_t get_burst_size() const
Get "burst_size" attribute value.
int16_t get_source_to_rx_queue_multiplexing() const
Get "source_to_rx_queue_multiplexing" attribute value. Indicates how many source streams are put onto...
uint32_t get_mbuf_cache_size() const
Get "mbuf_cache_size" attribute value.
uint32_t m_mbuf_cache_size
const std::vector< const dunedaq::confmodel::ProcessingResource * > & get_used_lcores() const
Get "used_lcores" relationship value. associates CPUs to the data reception workload.
uint32_t m_lcore_sleep_us
void set_burst_size(uint32_t value)
Set "burst_size" attribute value.
static const std::string & __get_used_lcores_str() noexcept
int16_t m_source_to_rx_queue_multiplexing
void set_num_bufs(uint32_t value)
Set "num_bufs" attribute value.
virtual ~DPDKPortConfiguration() noexcept
static const std::string s_num_bufs
DPDKPortConfiguration(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_mbuf_cache_size(uint32_t value)
Set "mbuf_cache_size" attribute value.
void set_lcore_sleep_us(uint32_t value)
Set "lcore_sleep_us" attribute value.
uint32_t get_rx_ring_size() const
Get "rx_ring_size" attribute value.
static const std::string s_rx_ring_size
static const std::string s_burst_size
void set_mtu(uint32_t value)
Set "mtu" attribute value.
static const std::string & __get_burst_size_str() noexcept
static const std::string & s_class_name
static const std::string s_flow_control
static const std::string & __get_mtu_str() noexcept
bool get_flow_control() const
Get "flow_control" attribute value.
friend class conffwk::DalFactory
void set_source_to_rx_queue_multiplexing(int16_t value)
Set "source_to_rx_queue_multiplexing" attribute value. Indicates how many source streams are put onto...
static const std::string s_source_to_rx_queue_multiplexing
void set_rx_ring_size(uint32_t value)
Set "rx_ring_size" attribute value.
uint32_t get_num_bufs() const
Get "num_bufs" attribute value.
static const std::string s_mbuf_cache_size
uint32_t get_lcore_sleep_us() const
Get "lcore_sleep_us" attribute value.
static const std::string & __get_num_bufs_str() noexcept
static const std::string & __get_mbuf_cache_size_str() noexcept
static const std::string s_mtu
std::vector< const dunedaq::confmodel::ProcessingResource * > m_used_lcores
void set_flow_control(bool value)
Set "flow_control" attribute value.
friend class conffwk::DalObject
static const std::string s_lcore_sleep_us
bool get_promiscuous_mode() const
Get "promiscuous_mode" attribute value.
static const std::string s_promiscuous_mode
virtual std::vector< const dunedaq::conffwk::DalObject * > get(const std::string &name, bool upcast_unregistered=true) const
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject...
void set_used_lcores(const std::vector< const dunedaq::confmodel::ProcessingResource * > &value)
Set "used_lcores" relationship value. associates CPUs to the data reception workload.
static const std::string & __get_lcore_sleep_us_str() noexcept
void set_tx_ring_size(uint32_t value)
Set "tx_ring_size" attribute value.
static const std::string & __get_tx_ring_size_str() noexcept
virtual void init(bool init_children)
uint32_t get_mtu() const
Get "mtu" attribute value.
static const std::string & __get_source_to_rx_queue_multiplexing_str() noexcept
void set_promiscuous_mode(bool value)
Set "promiscuous_mode" attribute value.
static const std::string & __get_flow_control_str() noexcept
static const std::string s_used_lcores
static const std::string s_tx_ring_size
static const std::string & __get_promiscuous_mode_str() noexcept
static const std::string & __get_rx_ring_size_str() noexcept
uint32_t get_tx_ring_size() const
Get "tx_ring_size" attribute value.
void set_by_val(const std::string &name, T value)
Set attribute value.
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL object.
ConfigObject p_obj
Config object used by given template object.
void check_init() const
Check and initialize object if necessary.
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constDPDKPortConfiguration * >::const_iterator DPDKPortConfigurationIterator