DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
dpdklibs
include
dpdklibs
FlowControl.hpp
Go to the documentation of this file.
1
8
9
#ifndef DPDKLIBS_INCLUDE_DPDKLIBS_FLOWCONTROL_HPP_
10
#define DPDKLIBS_INCLUDE_DPDKLIBS_FLOWCONTROL_HPP_
11
12
#include <stdint.h>
13
#include <rte_flow.h>
14
15
namespace
dunedaq
{
16
namespace
dpdklibs
{
17
18
static
constexpr
uint32_t
MAX_PATTERN_NUM
= 3;
19
static
constexpr
uint32_t
MAX_ACTION_NUM
= 2;
20
21
struct
rte_flow *
22
generate_ipv4_flow
(uint16_t port_id, uint16_t rx_q,
23
uint32_t src_ip, uint32_t src_mask,
24
uint32_t dest_ip, uint32_t dest_mask,
25
struct
rte_flow_error *
error
);
26
27
struct
rte_flow *
28
generate_drop_flow
(uint16_t port_id,
struct
rte_flow_error *
error
);
29
30
struct
rte_flow *
31
generate_arp_flow
(uint16_t port_id, uint16_t rx_q,
struct
rte_flow_error *
error
);
32
33
}
// namespace dpdklibs
34
}
// namespace dunedaq
35
36
#endif
// DPDKLIBS_INCLUDE_DPDKLIBS_FLOWCONTROL_HPP_
dunedaq::dpdklibs
Definition
ARP.hpp:16
dunedaq::dpdklibs::MAX_ACTION_NUM
static constexpr uint32_t MAX_ACTION_NUM
Definition
FlowControl.hpp:19
dunedaq::dpdklibs::generate_ipv4_flow
struct rte_flow * generate_ipv4_flow(uint16_t port_id, uint16_t rx_q, uint32_t src_ip, uint32_t src_mask, uint32_t dest_ip, uint32_t dest_mask, struct rte_flow_error *error)
Definition
FlowControl.cpp:42
dunedaq::dpdklibs::MAX_PATTERN_NUM
static constexpr uint32_t MAX_PATTERN_NUM
Definition
FlowControl.hpp:18
dunedaq::dpdklibs::generate_arp_flow
struct rte_flow * generate_arp_flow(uint16_t port_id, uint16_t rx_q, struct rte_flow_error *error)
Definition
FlowControl.cpp:168
dunedaq::dpdklibs::generate_drop_flow
struct rte_flow * generate_drop_flow(uint16_t port_id, struct rte_flow_error *error)
Definition
FlowControl.cpp:115
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::error
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error
Definition
CIBModuleIssues.hpp:47
Generated on
for DUNE-DAQ by
1.17.0