DPDK  2.0.0
Macros | Functions
rte_version.h File Reference
#include <stdint.h>
#include <string.h>
#include <rte_common.h>

Macros

#define RTE_VER_PREFIX   "RTE"
#define RTE_VER_MAJOR   2
#define RTE_VER_MINOR   0
#define RTE_VER_PATCH_LEVEL   0
#define RTE_VER_SUFFIX   ""
#define RTE_VER_PATCH_RELEASE   16
#define RTE_VERSION_NUM(a, b, c, d)   ((a) << 24 | (b) << 16 | (c) << 8 | (d))
#define RTE_VERSION

Functions

static const char * rte_version (void)

Detailed Description

Definitions of Intel(R) DPDK version numbers

Macro Definition Documentation

#define RTE_VER_MAJOR   2

Major version number i.e. the x in x.y.z

#define RTE_VER_MINOR   0

Minor version number i.e. the y in x.y.z

#define RTE_VER_PATCH_LEVEL   0

Patch level number i.e. the z in x.y.z

#define RTE_VER_PATCH_RELEASE   16

Patch release number 0-15 = release candidates 16 = release

#define RTE_VER_PREFIX   "RTE"

String that appears before the version number

#define RTE_VER_SUFFIX   ""

Extra string to be appended to version number

#define RTE_VERSION
Value:

All version numbers in one to compare with RTE_VERSION_NUM()

#define RTE_VERSION_NUM (   a,
  b,
  c,
 
)    ((a) << 24 | (b) << 16 | (c) << 8 | (d))

Macro to compute a version number usable for comparisons

Function Documentation

static const char* rte_version ( void  )
inlinestatic

Function returning version string

Returns
string