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

build needed doca-flow pipe More...

#include "doca_ar_env.h"
#include "doca_ar_conntrack.h"

Go to the source code of this file.

Macros

#define DEFAULT_TIMEOUT_US   (10000)
 default time out for processing offloaded entry
 
#define MAX_AGED_CT_PER_POLL   16
 the max amount of aged entry per polling the aging api
 

Functions

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
 

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

Macro Definition Documentation

◆ DEFAULT_TIMEOUT_US

#define DEFAULT_TIMEOUT_US   (10000)

default time out for processing offloaded entry

◆ MAX_AGED_CT_PER_POLL

#define MAX_AGED_CT_PER_POLL   16

the max amount of aged entry per polling the aging api

Function Documentation

◆ 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