DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
build
dpdklibs
codegen
include
dpdklibs
nicsender
Structs.hpp
Go to the documentation of this file.
1
/*
2
* This file is 100% generated. Any manual edits will likely be lost.
3
*
4
* This contains struct and other type definitions for shema in
5
* namespace dunedaq::dpdklibs::nicsender.
6
*/
7
#ifndef DUNEDAQ_DPDKLIBS_NICSENDER_STRUCTS_HPP
8
#define DUNEDAQ_DPDKLIBS_NICSENDER_STRUCTS_HPP
9
10
#include <cstdint>
11
12
#include <vector>
13
#include <string>
14
15
namespace
dunedaq::dpdklibs::nicsender
{
16
17
// @brief A count of more things
18
using
BigCount
= int64_t;
19
20
21
// @brief
22
using
Choice
= bool;
23
24
// @brief An ID of a thingy
25
using
Identifier
= int32_t;
26
27
28
// @brief A string field
29
using
String
= std::string;
30
31
// @brief Count of things
32
using
Count
= uint32_t;
// NOLINT
33
34
35
// @brief A float number
36
using
Float
= float;
37
38
39
// @brief A list of ips
40
using
Ips
= std::vector<dunedaq::dpdklibs::nicsender::String>;
41
42
// @brief
43
struct
Core
44
{
45
46
// @brief ID of lcore
47
Identifier
lcore_id
= 0;
48
49
// @brief Source IP that will be in the headers sent by this lcore
50
Ips
src_ips
= {};
51
};
52
53
// @brief A list of cores
54
using
CoreList
= std::vector<dunedaq::dpdklibs::nicsender::Core>;
55
56
// @brief Generic UIO sender DAQ Module Configuration
57
struct
Conf
58
{
59
60
// @brief Physical card identifier (in the same host)
61
Identifier
card_id
= 0;
62
63
// @brief A string with EAL arguments
64
String
eal_arg_list
=
""
;
65
66
// @brief The frontend type (wib, wib2, daphne, tde)
67
String
frontend_type
=
""
;
68
69
// @brief Number of cores that will be used for sending
70
Count
number_of_cores
= 1;
71
72
// @brief Number of cores that will be used for sending
73
Count
number_of_ips_per_core
= 1;
74
75
// @brief Burst size used when sending
76
BigCount
burst_size
= 1;
77
78
// @brief Rate used for the sender
79
Float
rate
= 1.0;
80
81
// @brief Core lists used for sending
82
CoreList
core_list
= {};
83
84
// @brief How many ticks between timestamps
85
BigCount
time_tick_difference
= 0;
86
};
87
88
}
// namespace dunedaq::dpdklibs::nicsender
89
90
#endif
// DUNEDAQ_DPDKLIBS_NICSENDER_STRUCTS_HPP
dunedaq::dpdklibs::nicreader::Choice
bool Choice
Definition
Structs.hpp:22
dunedaq::dpdklibs::nicreader::Identifier
int32_t Identifier
Definition
Structs.hpp:38
dunedaq::dpdklibs::nicreader::BigCount
int64_t BigCount
Definition
Structs.hpp:18
dunedaq::dpdklibs::nicreader::Float
float Float
Definition
Structs.hpp:177
dunedaq::dpdklibs::nicsender
Definition
Nljs.hpp:16
dunedaq::dpdklibs::nicsender::Ips
std::vector< dunedaq::dpdklibs::nicsender::String > Ips
Definition
Structs.hpp:40
dunedaq::dpdklibs::nicsender::CoreList
std::vector< dunedaq::dpdklibs::nicsender::Core > CoreList
Definition
Structs.hpp:54
dunedaq::listrev::listreverser::Count
int32_t Count
Definition
Structs.hpp:16
dunedaq::timinglibs::timingcmd::String
std::string String
Definition
Structs.hpp:68
dunedaq::dpdklibs::nicsender::Conf
Definition
Structs.hpp:58
dunedaq::dpdklibs::nicsender::Conf::card_id
Identifier card_id
Definition
Structs.hpp:61
dunedaq::dpdklibs::nicsender::Conf::number_of_ips_per_core
Count number_of_ips_per_core
Definition
Structs.hpp:73
dunedaq::dpdklibs::nicsender::Conf::core_list
CoreList core_list
Definition
Structs.hpp:82
dunedaq::dpdklibs::nicsender::Conf::burst_size
BigCount burst_size
Definition
Structs.hpp:76
dunedaq::dpdklibs::nicsender::Conf::eal_arg_list
String eal_arg_list
Definition
Structs.hpp:64
dunedaq::dpdklibs::nicsender::Conf::rate
Float rate
Definition
Structs.hpp:79
dunedaq::dpdklibs::nicsender::Conf::number_of_cores
Count number_of_cores
Definition
Structs.hpp:70
dunedaq::dpdklibs::nicsender::Conf::frontend_type
String frontend_type
Definition
Structs.hpp:67
dunedaq::dpdklibs::nicsender::Conf::time_tick_difference
BigCount time_tick_difference
Definition
Structs.hpp:85
dunedaq::dpdklibs::nicsender::Core
Definition
Structs.hpp:44
dunedaq::dpdklibs::nicsender::Core::src_ips
Ips src_ips
Definition
Structs.hpp:50
dunedaq::dpdklibs::nicsender::Core::lcore_id
Identifier lcore_id
Definition
Structs.hpp:47
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0