---
name: "rte_pmd_mlx5_geneve_tlv"
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_pmd_mlx5_geneve_tlv"
---

# rte\_pmd\_mlx5\_geneve\_tlv(3)

## NAME

rte\_pmd\_mlx5\_geneve\_tlv

## SYNOPSIS

`#include <rte_pmd_mlx5.h>`

### Data Fields

**rte\_be16\_t** **option\_class**\
 uint8\_t **option\_type**\
 uint8\_t **option\_len**\
 uint8\_t **match\_on\_class\_mode**\
 uint8\_t **offset**\
 uint8\_t **sample\_len**\
 **rte\_be32\_t** \* **match\_data\_mask**\

## Detailed Description

User configuration structure using to create parser for single GENEVE TLV option.

Definition at line **283** of file **rte\_pmd\_mlx5.h**.

## Field Documentation

### rte\_be16\_t option\_class

The class of the GENEVE TLV option. Relevant only when 'match\_on\_class\_mode' is 1.

Definition at line **288** of file **rte\_pmd\_mlx5.h**.

### uint8\_t option\_type

The type of the GENEVE TLV option. This field is the identifier of the option.

Definition at line **293** of file **rte\_pmd\_mlx5.h**.

### uint8\_t option\_len

The length of the GENEVE TLV option data excluding the option header in DW granularity.

Definition at line **298** of file **rte\_pmd\_mlx5.h**.

### uint8\_t match\_on\_class\_mode

Indicator about class field role in this option: 0 - class is ignored. 1 - class is fixed (the class defines the option along with the type). 2 - class matching per flow.

Definition at line **305** of file **rte\_pmd\_mlx5.h**.

### uint8\_t offset

The offset of the first sample in DW granularity. This offset is relative to first of option data. The 'match\_data\_mask' corresponds to option data since this offset.

Definition at line **311** of file **rte\_pmd\_mlx5.h**.

### uint8\_t sample\_len

The number of DW to sample. This field describes the length of 'match\_data\_mask' in DW granularity.

Definition at line **317** of file **rte\_pmd\_mlx5.h**.

### rte\_be32\_t\* match\_data\_mask

Array of DWs which each bit marks if this bit should be sampled. Each nonzero DW consumes one DW from maximum 7 DW in total.

Definition at line **322** of file **rte\_pmd\_mlx5.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
