---
name: "rte_swx_ctl_table_match_field_info"
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_ctl_table_match_field_info"
---

# rte\_swx\_ctl\_table\_match\_field\_info(3)

## NAME

rte\_swx\_ctl\_table\_match\_field\_info

## SYNOPSIS

`#include <rte_swx_ctl.h>`

### Data Fields

enum **rte\_swx\_table\_match\_type** **match\_type**\
 int **is\_header**\
 uint32\_t **n\_bits**\
 uint32\_t **offset**\

## Detailed Description

Table match field info.

If (n\_bits, offset) are known for all the match fields of the table, then the table (key\_offset, key\_size, key\_mask0) can be computed.

Definition at line **273** of file **rte\_swx\_ctl.h**.

## Field Documentation

### enum rte\_swx\_table\_match\_type match\_type

Match type of the current match field.

Definition at line **275** of file **rte\_swx\_ctl.h**.

### int is\_header

Non-zero (true) when the current match field is part of a registered header, zero (false) when it is part of the registered meta-data.

Definition at line **280** of file **rte\_swx\_ctl.h**.

### uint32\_t n\_bits

Match field size (in bits).

Definition at line **283** of file **rte\_swx\_ctl.h**.

### uint32\_t offset

Match field offset within its parent struct (one of the headers or the meta-data).

Definition at line **288** of file **rte\_swx\_ctl.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
