[dpdk-dev] [PATCH] lib: set version 1.2.3r2 and more helper macros

2013-05-17 Thread Olivier MATZ
Hi Thomas, > This patch introduce RTE_VER_PATCH_RELEASE so #ifdef RTE_VER_PATCH_RELEASE is > always true. I don't see why a commercial version of the DPDK would like to > apply part of this patch. ok this was just a comment in case of.

[dpdk-dev] [PATCH] lib: set version 1.2.3r2 and more helper macros

2013-05-17 Thread Thomas Monjalon
17/05/2013 11:12, Olivier MATZ : > > @@ -75,7 +87,8 @@ rte_version(void) { > > > > return RTE_VER_PREFIX" " > > > > RTE_STR(RTE_VER_MAJOR)"." > > RTE_STR(RTE_VER_MINOR)"." > > > > - RTE_STR(RTE_VER_PATCH_LEVEL); > > +

[dpdk-dev] [PATCH] lib: set version 1.2.3r2 and more helper macros

2013-05-17 Thread Olivier MATZ
Hi Thomas, > @@ -75,7 +87,8 @@ rte_version(void) { > return RTE_VER_PREFIX" " > RTE_STR(RTE_VER_MAJOR)"." > RTE_STR(RTE_VER_MINOR)"." > - RTE_STR(RTE_VER_PATCH_LEVEL); > + RTE_STR(RTE_VER_PATCH_LEVEL)"r" > +

[dpdk-dev] [PATCH] lib: set version 1.2.3r2 and more helper macros

2013-05-07 Thread Thomas Monjalon
Applications can test versions, for compatibility, this way: #if RTE_VERSION >= RTE_VERSION_NUM(1,2,3,4) Previous versions can be tested with: #ifndef RTE_VERSION_NUM RTE_VERSION was already defined for use with rte_config. It is moved in rte_version.h and updated to current versio