DPDK  16.04.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

Examples:
ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 79 of file rte_table_lpm.h.

Field Documentation

const char* name

Table name

Examples:
ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 81 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 86 of file rte_table_lpm.h.

uint32_t number_tbl8s

This field is currently unused.

Definition at line 89 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 94 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 98 of file rte_table_lpm.h.


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