DPDK  23.03.0
Data Fields
rte_swx_table_selector_params Struct Reference

#include <rte_swx_table_selector.h>

Data Fields

uint32_t group_id_offset
 
uint32_t selector_size
 
uint32_t selector_offset
 
uint8_t * selector_mask
 
uint32_t member_id_offset
 
uint32_t n_groups_max
 
uint32_t n_members_per_group_max
 

Detailed Description

Selector table creation parameters.

Definition at line 25 of file rte_swx_table_selector.h.

Field Documentation

◆ group_id_offset

uint32_t group_id_offset

Group ID offset.

Definition at line 27 of file rte_swx_table_selector.h.

◆ selector_size

uint32_t selector_size

Selector size in bytes. Must be non-zero.

Definition at line 30 of file rte_swx_table_selector.h.

◆ selector_offset

uint32_t selector_offset

Offset of the first byte of the selector within the selector buffer.

Definition at line 33 of file rte_swx_table_selector.h.

◆ selector_mask

uint8_t* selector_mask

Mask of selector_size bytes logically laid over the bytes at positions selector_offset* .. (selector_offset + selector_size - 1) of the selector buffer in order to specify which bits from the selector buffer are part of the selector and which ones are not. A bit value of 1 in the selector_mask means the respective bit in the selector buffer is part of the selector, while a bit value of 0 means the opposite. A NULL value means that all the bits are part of the selector, i.e. the selector_mask is an all-ones mask.

Definition at line 43 of file rte_swx_table_selector.h.

◆ member_id_offset

uint32_t member_id_offset

Member ID offset.

Definition at line 46 of file rte_swx_table_selector.h.

◆ n_groups_max

uint32_t n_groups_max

Maximum number of groups. Must be non-zero.

Definition at line 49 of file rte_swx_table_selector.h.

◆ n_members_per_group_max

uint32_t n_members_per_group_max

Maximum number of members per group. Must be non-zero.

Definition at line 52 of file rte_swx_table_selector.h.


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