DPDK  22.11.0
Data Fields
rte_lpm_config Struct Reference

#include <rte_lpm.h>

Data Fields

uint32_t max_rules
 
uint32_t number_tbl8s
 
int flags
 

Detailed Description

LPM configuration structure.

Examples:
examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/rt.c, examples/l3fwd-power/main.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 112 of file rte_lpm.h.

Field Documentation

◆ max_rules

uint32_t max_rules

Max number of rules.

Examples:
examples/ipsec-secgw/rt.c, examples/l3fwd-power/main.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 113 of file rte_lpm.h.

◆ number_tbl8s

uint32_t number_tbl8s

Number of tbl8s to allocate.

Examples:
examples/ipsec-secgw/rt.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 114 of file rte_lpm.h.

◆ flags

int flags

This field is currently unused.

Examples:
examples/l3fwd/l3fwd_lpm.c.

Definition at line 115 of file rte_lpm.h.


The documentation for this struct was generated from the following file: