#include <string.h>
#include <unistd.h>
#include <rte_byteorder.h>
#include <doca_log.h>
#include <doca_flow.h>
#include "flow_common.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (FLOW_DROP) |
| |
| static doca_error_t | create_hairpin_pipe (struct doca_flow_port *port, int port_id, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | create_classifier_pipe (struct doca_flow_port *port, struct doca_flow_pipe *drop_pipe, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status, struct doca_flow_pipe_entry **entry) |
| |
| static doca_error_t | create_drop_pipe (struct doca_flow_port *port, struct doca_flow_pipe *hairpin_pipe, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_drop_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status, struct doca_flow_pipe_entry **entry) |
| |
| doca_error_t | flow_drop (int nb_queues) |
| |
◆ pipe_entry_index
| Enumerator |
|---|
| CLASSIFIER_PIPE_ENTRY | |
| DROP_PIPE_ENTRY | |
| HAIRPIN_PIPE_ENTRY | |
Definition at line 36 of file flow_drop_sample.c.
◆ add_drop_pipe_entry()
| static doca_error_t add_drop_pipe_entry |
( |
struct doca_flow_pipe * |
pipe, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry ** |
entry |
|
) |
| |
|
static |
◆ add_pipe_entry()
| static doca_error_t add_pipe_entry |
( |
struct doca_flow_pipe * |
pipe, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry ** |
entry |
|
) |
| |
|
static |
◆ create_classifier_pipe()
| static doca_error_t create_classifier_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct doca_flow_pipe * |
drop_pipe, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_drop_pipe()
| static doca_error_t create_drop_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct doca_flow_pipe * |
hairpin_pipe, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_hairpin_pipe()
| static doca_error_t create_hairpin_pipe |
( |
struct doca_flow_port * |
port, |
|
|
int |
port_id, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
FLOW_DROP |
| ) |
|
◆ flow_drop()