---
name: "rte_eth_event_macsec_desc"
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_eth_event_macsec_desc"
---

# rte\_eth\_event\_macsec\_desc(3)

## NAME

rte\_eth\_event\_macsec\_desc

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

enum **rte\_eth\_event\_macsec\_type** **type**\
 enum **rte\_eth\_event\_macsec\_subtype** **subtype**\
 uint64\_t **metadata**\

## Detailed Description

Descriptor for **RTE\_ETH\_EVENT\_MACSEC** event. Used by ethdev to send extra information of the MACsec offload event.

Definition at line **4035** of file **rte\_ethdev.h**.

## Field Documentation

### enum rte\_eth\_event\_macsec\_type type

Type of RTE\_ETH\_EVENT\_MACSEC\_\* event.

Definition at line **4037** of file **rte\_ethdev.h**.

### enum rte\_eth\_event\_macsec\_subtype subtype

Type of RTE\_ETH\_SUBEVENT\_MACSEC\_\* subevent.

Definition at line **4039** of file **rte\_ethdev.h**.

### uint64\_t metadata

Event specific metadata.

For the following events, *userdata* registered with the *rte\_security\_session* would be returned as metadata.

**See also**

struct **rte\_security\_session\_conf**

Definition at line **4049** of file **rte\_ethdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
