---
name: "rte_swx_table_selector_params"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_swx_table_selector_params"
---

# rte\_swx\_table\_selector\_params(3)

## NAME

rte\_swx\_table\_selector\_params

## SYNOPSIS

`#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

### uint32\_t group\_id\_offset

Group ID offset.

Definition at line **27** of file **rte\_swx\_table\_selector.h**.

### uint32\_t selector\_size

Selector size in bytes. Must be non-zero.

Definition at line **30** of file **rte\_swx\_table\_selector.h**.

### 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**.

### 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**.

### uint32\_t member\_id\_offset

Member ID offset.

Definition at line **46** of file **rte\_swx\_table\_selector.h**.

### uint32\_t n\_groups\_max

Maximum number of groups. Must be non-zero.

Definition at line **49** of file **rte\_swx\_table\_selector.h**.

### 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**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
