---
name: "rte_pmd_cnxk_eventdev.h"
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_cnxk_eventdev.h"
---

# rte\_pmd\_cnxk\_eventdev.h(3)

## NAME

rte\_pmd\_cnxk\_eventdev.h

## SYNOPSIS

`#include <rte_common.h>`\
 `#include <rte_compat.h>`\

### Functions

\_\_rte\_experimental void **rte\_pmd\_cnxk\_eventdev\_wait\_head** (uint8\_t dev, uint8\_t port)\
 \_\_rte\_experimental uint8\_t **rte\_pmd\_cnxk\_eventdev\_is\_head** (uint8\_t dev, uint8\_t port)\

## Detailed Description

Marvell CNXK eventdev PMD specific functions.

Definition in file **rte\_pmd\_cnxk\_eventdev.h**.

## Function Documentation

### \_\_rte\_experimental void rte\_pmd\_cnxk\_eventdev\_wait\_head (uint8\_t dev, uint8\_t port)

Wait for the currently active flow context on the event port to become HEAD of the flow-chain.

**Parameters**

*dev* Event device identifier.\
 *port* Event port identifier.

### \_\_rte\_experimental uint8\_t rte\_pmd\_cnxk\_eventdev\_is\_head (uint8\_t dev, uint8\_t port)

Check if the currently active flow context on the event port is the HEAD of the flow-chain.

**Parameters**

*dev* Event device identifier.\
 *port* Event port identifier.

**Returns**

Status of the currently held flow context 0 not the head of the flow-chain 1 head of the flow-chain

## Author

Generated automatically by Doxygen for DPDK from the source code.
