DOCA-AR 1.0
 
Loading...
Searching...
No Matches
doca_ar_pipe.c File Reference

build needed doca-flow pipe More...

#include "doca_ar_pipe.h"

Functions

 DOCA_LOG_REGISTER (DOCA_AR_PIPE)
 
int build_upstream_vxlanPipe ()
 build critical doca-flow pipe used to fwd vxlan connection from host and routing them onto the best path
 
int build_upstream_rssPipe ()
 fwd the new flow from host onto the control plane (ARM)
 
int build_downstream_rssPipe ()
 fwd the probe packets from network onto the control plane
 
int build_downstream_hairpinPipe ()
 fwd other traffic from network to host
 
int doca_ar_pipe_init ()
 build needed pipe
 
int doca_ar_add_new_flow (struct doca_ar_conn *conn)
 add entry to the vxlan pipe so that ar can come into effect
 
int doca_ar_flow_aging ()
 aged expired conns from doca-flow table(FDB) and del them from conntrack table
 

Variables

struct doca_flow_pipe * upstream_vxlanPipe = NULL
 critical doca-flow pipe used to fwd vxlan connection from host and routing them onto the best path
 
struct doca_flow_pipe * upstream_rssPipe = NULL
 fwd the new flow from host onto the control plane (ARM)
 
struct doca_flow_pipe * downstream_rssPipe = NULL
 fwd the probe packets from network onto the control plane
 
struct doca_flow_pipe * downstream_hairpinPipe = NULL
 fwd other traffic from network to host
 

Detailed Description

build needed doca-flow pipe

Author
Mark Chen (markc.nosp@m.hen7.nosp@m.7888@.nosp@m.gmai.nosp@m.l.com)
Version
1.0
Date
2024-01-07

Function Documentation

◆ build_downstream_hairpinPipe()

int build_downstream_hairpinPipe ( )

fwd other traffic from network to host

Returns
int

◆ build_downstream_rssPipe()

int build_downstream_rssPipe ( )

fwd the probe packets from network onto the control plane

Returns
int

◆ build_upstream_rssPipe()

int build_upstream_rssPipe ( )

fwd the new flow from host onto the control plane (ARM)

Returns
int

◆ build_upstream_vxlanPipe()

int build_upstream_vxlanPipe ( )

build critical doca-flow pipe used to fwd vxlan connection from host and routing them onto the best path

Returns
int

◆ doca_ar_add_new_flow()

int doca_ar_add_new_flow ( struct doca_ar_conn * conn)

add entry to the vxlan pipe so that ar can come into effect

Parameters
conn
Returns
int

◆ doca_ar_flow_aging()

int doca_ar_flow_aging ( )

aged expired conns from doca-flow table(FDB) and del them from conntrack table

Returns
int the amount of aged conns

◆ doca_ar_pipe_init()

int doca_ar_pipe_init ( )

build needed pipe

Returns
int

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( DOCA_AR_PIPE )

Variable Documentation

◆ downstream_hairpinPipe

struct doca_flow_pipe* downstream_hairpinPipe = NULL

fwd other traffic from network to host

◆ downstream_rssPipe

struct doca_flow_pipe* downstream_rssPipe = NULL

fwd the probe packets from network onto the control plane

◆ upstream_rssPipe

struct doca_flow_pipe* upstream_rssPipe = NULL

fwd the new flow from host onto the control plane (ARM)

◆ upstream_vxlanPipe

struct doca_flow_pipe* upstream_vxlanPipe = NULL

critical doca-flow pipe used to fwd vxlan connection from host and routing them onto the best path