DPDK  21.02.0
Data Fields
rte_table_lpm_params Struct Reference

#include <rte_table_lpm.h>

Data Fields

const char * name
uint32_t n_rules
uint32_t number_tbl8s
uint32_t entry_unique_size
uint32_t offset

Detailed Description

LPM table parameters


Definition at line 50 of file rte_table_lpm.h.

Field Documentation

const char* name

Table name

Definition at line 52 of file rte_table_lpm.h.

uint32_t n_rules

Maximum number of LPM rules (i.e. IP routes) Number of tbl8s to allocate.

Definition at line 55 of file rte_table_lpm.h.

uint32_t number_tbl8s

This field is currently unused.

Definition at line 58 of file rte_table_lpm.h.

uint32_t entry_unique_size

Number of bytes at the start of the table entry that uniquely identify the entry. Cannot be bigger than table entry size.

Definition at line 65 of file rte_table_lpm.h.

uint32_t offset

Byte offset within input packet meta-data where lookup key (i.e. the destination IP address) is located.

Definition at line 69 of file rte_table_lpm.h.

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