#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include "doca_types.h"
#include <doca_log.h>
#include <doca_bitfield.h>
#include "doca_flow.h"
#include "doca_flow_net.h"
#include "flow_common.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (FLOW_IP_IN_IP) |
| |
| static doca_error_t | create_hairpin_pipe (struct doca_flow_port *port, int dest_port_id, bool is_root, struct entries_status *status, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_encap_pipe_entries (struct doca_flow_pipe *pipe, struct entries_status *status, struct doca_flow_pipe_entry *encap_entries[]) |
| |
| static doca_error_t | create_encap_pipe (struct doca_flow_port *port, uint32_t port_id, struct doca_flow_pipe **encap_pipe) |
| |
| static doca_error_t | add_decap_pipe_entries (struct doca_flow_pipe *pipe, struct entries_status *status, struct doca_flow_pipe_entry *decap_entries[]) |
| |
| static doca_error_t | create_decap_pipe (struct doca_flow_port *port, struct doca_flow_pipe *next_pipe, struct doca_flow_pipe **decap_pipe) |
| |
| static doca_error_t | prepare_encap_pipeline (struct doca_flow_port *ingress_port, struct doca_flow_port *egress_port, uint32_t egress_port_id, struct entries_status *status, struct doca_flow_pipe_entry *encap_entries[]) |
| |
| static doca_error_t | prepare_decap_pipeline (struct doca_flow_port *ingress_port, int egress_port_id, struct entries_status *status, struct doca_flow_pipe_entry *decap_entries[]) |
| |
| doca_error_t | flow_ip_in_ip (int nb_queues) |
| |
◆ NB_DECAP_ACTIONS
| #define NB_DECAP_ACTIONS (1) |
◆ NB_DECAP_PIPE_ENTRIES
| #define NB_DECAP_PIPE_ENTRIES (2) |
◆ NB_EGRESS_PIPE_ENTRIES
◆ NB_ENCAP_ACTIONS
| #define NB_ENCAP_ACTIONS (2) |
◆ NB_ENCAP_PIPE_ENTRIES
| #define NB_ENCAP_PIPE_ENTRIES (2) |
◆ NB_HAIRPIN_PIPE_ENTRIES
| #define NB_HAIRPIN_PIPE_ENTRIES (1) |
◆ NB_INGRESS_PIPE_ENTRIES
◆ NEXT_HEADER_IPV4
| #define NEXT_HEADER_IPV4 (4) |
◆ NEXT_HEADER_IPV6
| #define NEXT_HEADER_IPV6 (41) |
◆ TOTAL_ENTRIES
◆ WAITING_TIME
◆ add_decap_pipe_entries()
| static doca_error_t add_decap_pipe_entries |
( |
struct doca_flow_pipe * |
pipe, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry * |
decap_entries[] |
|
) |
| |
|
static |
◆ add_encap_pipe_entries()
| static doca_error_t add_encap_pipe_entries |
( |
struct doca_flow_pipe * |
pipe, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry * |
encap_entries[] |
|
) |
| |
|
static |
◆ create_decap_pipe()
| static doca_error_t create_decap_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct doca_flow_pipe * |
next_pipe, |
|
|
struct doca_flow_pipe ** |
decap_pipe |
|
) |
| |
|
static |
◆ create_encap_pipe()
| static doca_error_t create_encap_pipe |
( |
struct doca_flow_port * |
port, |
|
|
uint32_t |
port_id, |
|
|
struct doca_flow_pipe ** |
encap_pipe |
|
) |
| |
|
static |
◆ create_hairpin_pipe()
| static doca_error_t create_hairpin_pipe |
( |
struct doca_flow_port * |
port, |
|
|
int |
dest_port_id, |
|
|
bool |
is_root, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
FLOW_IP_IN_IP |
| ) |
|
◆ flow_ip_in_ip()
◆ prepare_decap_pipeline()
| static doca_error_t prepare_decap_pipeline |
( |
struct doca_flow_port * |
ingress_port, |
|
|
int |
egress_port_id, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry * |
decap_entries[] |
|
) |
| |
|
static |
◆ prepare_encap_pipeline()
| static doca_error_t prepare_encap_pipeline |
( |
struct doca_flow_port * |
ingress_port, |
|
|
struct doca_flow_port * |
egress_port, |
|
|
uint32_t |
egress_port_id, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe_entry * |
encap_entries[] |
|
) |
| |
|
static |