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 "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
12#include <ers/Issue.hpp>
13
14#include <string>
15
16namespace dunedaq {
18 FailedToSetupInterface,
19 "Interface [" << ifaceid << "] setup failed: " << error,
20 ((int)ifaceid)((int)error));
21
22ERS_DECLARE_ISSUE(dpdklibs, InvalidEALPort, "Interface [" << ifaceid << "] is not a valid port: ", ((int)ifaceid));
23
24ERS_DECLARE_ISSUE(dpdklibs, LinkOffline, "Link offline for interface [" << ifaceid << "]", ((int)ifaceid));
25
27 MainCoreConflict,
28 "The main core [" << main_core << "] conflicts with the worker cores list ",
29 ((int)main_core));
30
32 MissingSourceIDOutputs,
33 "The following of source ids are available as SourceModels for interface " << ifaceid << ": "
34 << srcs_str,
35 ((int)ifaceid)((std::string)srcs_str));
36
38 FailedToRetrieveInterfaceInfo,
39 "Failed to retrieve device info for interfce [" << ifaceid << "]: " << error,
40 ((int)ifaceid)((int)error));
41
43 FailedToRetrieveLinkStatus,
44 "Failed to retrieve link status for interfce [" << ifaceid << "]: " << error,
45 ((int)ifaceid)((int)error));
46
48 FailedToResetInterface,
49 "Failed to reset interfce [" << ifaceid << "]: " << error,
50 ((int)ifaceid)((int)error));
51
53 FailedToConfigureInterface,
54 "Failed to configure interface [" << ifaceid << "], stage " << stage << " : " << error,
55 ((int)ifaceid)((std::string)stage)((int)error));
56
58 FailedToSendData,
59 "Sink ID [" << sink_id << "] Number of packets that failed to send: " << count,
60 ((std::string)sink_id)((int)count));
61
63 PacketErrors,
64 "Interface [" << id << "] " << error << " packet error counts: " << count,
65 ((std::string)id)((std::string)error)((int)count));
66
67}
68
69#endif /* DPDKLIBS_INCLUDE_DPDKLIBS_DPDKISSUES_HPP_ */
The DUNE-DAQ namespace.
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error