DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Issues.hpp
Go to the documentation of this file.
1
8#ifndef DPDKLIBS_INCLUDE_DPDKLIBS_DPDKISSUES_HPP_
9#define DPDKLIBS_INCLUDE_DPDKLIBS_DPDKISSUES_HPP_
10
11#include <ers/Issue.hpp>
12#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
13
14#include <string>
15
16namespace dunedaq {
18 FailedToSetupInterface,
19 "Interface [" << ifaceid << "] setup failed: " << error,
20 ((int)ifaceid)((int)error)
21 );
22
24 InvalidEALPort,
25 "Interface [" << ifaceid << "] is not a valid port: ",
26 ((int)ifaceid)
27 );
28
30 LinkOffline,
31 "Link offline for interface [" << ifaceid << "]",
32 ((int)ifaceid)
33 );
34
36 MainCoreConflict,
37 "The main core [" << main_core << "] conflicts with the worker cores list ",
38 ((int)main_core)
39 );
40
42 FailedToRetrieveInterfaceInfo,
43 "Failed to retrieve device info for interfce [" << ifaceid << "]: " << error,
44 ((int)ifaceid)((int)error)
45 );
46
48 FailedToRetrieveLinkStatus,
49 "Failed to retrieve link status for interfce [" << ifaceid << "]: " << error,
50 ((int)ifaceid)((int)error)
51 );
52
54 FailedToResetInterface,
55 "Failed to reset interfce [" << ifaceid << "]: " << error,
56 ((int)ifaceid)((int)error)
57 );
58
60 FailedToConfigureInterface,
61 "Failed to configure interface [" << ifaceid << "], stage " << stage << " : " << error,
62 ((int)ifaceid)((std::string)stage)((int)error)
63 );
64
66 FailedToSendData,
67 "Sink ID [" << sink_id << "] Number of packets that failed to send: " << count,
68 ((std::string)sink_id)((int)count)
69 );
70
72 PacketErrors,
73 "Interface [" << id << "] " << error << " packet error counts: " << count,
74 ((std::string)id)((std::string)error)((int)count)
75 );
76
77}
78
79
80#endif /* DPDKLIBS_INCLUDE_DPDKLIBS_DPDKISSUES_HPP_ */
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Including Qt Headers.
Factory couldn t std::string alg_name Invalid configuration error
Definition Issues.hpp:34