DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
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
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
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
83
84 // @brief How many ticks between timestamps
86 };
87
88} // namespace dunedaq::dpdklibs::nicsender
89
90#endif // DUNEDAQ_DPDKLIBS_NICSENDER_STRUCTS_HPP
std::vector< dunedaq::dpdklibs::nicsender::String > Ips
Definition Structs.hpp:40
std::vector< dunedaq::dpdklibs::nicsender::Core > CoreList
Definition Structs.hpp:54