FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
flow.c File Reference
+ Include dependency graph for flow.c:

Go to the source code of this file.

Functions

static int dpdk_flow_add (dpdk_device_t *xd, vnet_flow_t *f, dpdk_flow_entry_t *fe)
 
int dpdk_flow_ops_fn (vnet_main_t *vnm, vnet_flow_dev_op_t op, u32 dev_instance, u32 flow_index, uword *private_data)
 
u8format_dpdk_flow (u8 *s, va_list *args)
 

Variables

static const struct rte_flow_attr ingress = {.ingress = 1 }
 
static const struct rte_flow_item_eth any_eth [2] = { }
 
static const struct rte_flow_item_vlan any_vlan [2] = { }
 

Function Documentation

◆ dpdk_flow_add()

static int dpdk_flow_add ( dpdk_device_t xd,
vnet_flow_t f,
dpdk_flow_entry_t fe 
)
static

Definition at line 37 of file flow.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dpdk_flow_ops_fn()

int dpdk_flow_ops_fn ( vnet_main_t vnm,
vnet_flow_dev_op_t  op,
u32  dev_instance,
u32  flow_index,
uword private_data 
)

Definition at line 251 of file flow.c.

+ Here is the call graph for this function:

◆ format_dpdk_flow()

u8* format_dpdk_flow ( u8 s,
va_list *  args 
)

Definition at line 378 of file flow.c.

+ Here is the call graph for this function:

Variable Documentation

◆ any_eth

const struct rte_flow_item_eth any_eth[2] = { }
static

Definition at line 33 of file flow.c.

◆ any_vlan

const struct rte_flow_item_vlan any_vlan[2] = { }
static

Definition at line 34 of file flow.c.

◆ ingress

const struct rte_flow_attr ingress = {.ingress = 1 }
static

Definition at line 32 of file flow.c.