---
name: "rte_version_suffix"
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_version.h"
---

# rte\_version\_suffix(3)

Part of [rte\_version.h(3)](/rte_version.h/3.md).

## NAME

rte\_version.h

## SYNOPSIS

`#include <string.h>`\
 `#include <stdio.h>`\

### Macros

\#define **RTE\_VERSION\_NUM**(a,  b,  c,  d)   ((a) \<\< 24 \| (b) \<\< 16 \| (c) \<\< 8 \| (d))\
 \#define **RTE\_VERSION**\

### Functions

const char \* **rte\_version\_prefix** (void)\
 unsigned int **rte\_version\_year** (void)\
 unsigned int **rte\_version\_month** (void)\
 unsigned int **rte\_version\_minor** (void)\
 const char \* **rte\_version\_suffix** (void)\
 unsigned int **rte\_version\_release** (void)\
 const char \* **rte\_version** (void)\

## Detailed Description

Definitions of DPDK version numbers

Definition in file **rte\_version.h**.

## Macro Definition Documentation

### #define RTE\_VERSION\_NUM(a, b, c, d) ((a) \<\< 24 \| (b) \<\< 16 \| (c) \<\< 8 \| (d))

Macro to compute a version number usable for comparisons

Definition at line **23** of file **rte\_version.h**.

### #define RTE\_VERSION

**Value:**.PP

```
            RTE_VERSION_NUM( \
            RTE_VER_YEAR, \
            RTE_VER_MONTH, \
            RTE_VER_MINOR, \
            RTE_VER_RELEASE)
```

All version numbers in one to compare with **RTE\_VERSION\_NUM()**

Definition at line **28** of file **rte\_version.h**.

## Function Documentation

### const char \* rte\_version\_prefix (void)

Function to return DPDK version prefix string

### unsigned int rte\_version\_year (void)

Function to return DPDK version year

### unsigned int rte\_version\_month (void)

Function to return DPDK version month

### unsigned int rte\_version\_minor (void)

Function to return DPDK minor version number

### const char \* rte\_version\_suffix (void)

Function to return DPDK version suffix for any release candidates

### unsigned int rte\_version\_release (void)

Function to return DPDK version release candidate value

### const char \* rte\_version (void)

Function returning version string

**Returns**

DPDK version string

## Author

Generated automatically by Doxygen for DPDK from the source code.
