---
name: "rte_swx_ctl_learner_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_learner_info"
---

# rte\_swx\_ctl\_learner\_info(3)

## NAME

rte\_swx\_ctl\_learner\_info

## SYNOPSIS

`#include <rte_swx_ctl.h>`

### Data Fields

char **name** \[**RTE\_SWX\_CTL\_NAME\_SIZE**\]\
 uint32\_t **n\_match\_fields**\
 uint32\_t **n\_actions**\
 int **default\_action\_is\_const**\
 uint32\_t **size**\
 uint32\_t **n\_key\_timeouts**\

## Detailed Description

Learner table info.

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

## Field Documentation

### char name\[RTE\_SWX\_CTL\_NAME\_SIZE\]

Learner table name.

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

### uint32\_t n\_match\_fields

Number of match fields.

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

### uint32\_t n\_actions

Number of actions.

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

### int default\_action\_is\_const

Non-zero (true) when the default action is constant, therefore it cannot be changed; zero (false) when the default action not constant, therefore it can be changed.

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

### uint32\_t size

Learner table size parameter.

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

### uint32\_t n\_key\_timeouts

Number of possible key timeout values.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
