DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
FlowControl.hpp File Reference
#include <stdint.h>
#include <rte_flow.h>
Include dependency graph for FlowControl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dunedaq
 Including Qt Headers.
 
namespace  dunedaq::dpdklibs
 

Functions

struct rte_flow * dunedaq::dpdklibs::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)
 
struct rte_flow * dunedaq::dpdklibs::generate_drop_flow (uint16_t port_id, struct rte_flow_error *error)
 
struct rte_flow * dunedaq::dpdklibs::generate_arp_flow (uint16_t port_id, uint16_t rx_q, struct rte_flow_error *error)
 

Variables

static constexpr uint32_t dunedaq::dpdklibs::MAX_PATTERN_NUM = 3
 
static constexpr uint32_t dunedaq::dpdklibs::MAX_ACTION_NUM = 2
 

Detailed Description

Setup flow-control on NIC based on Flow API

This is part of the DUNE DAQ , copyright 2020. Licensing/copyright details are in the COPYING file that you should have received with this code.

Definition in file FlowControl.hpp.