ethdev: bump library version

Message ID 20180806105516.2685-1-thomas@monjalon.net
State Accepted, archived
Headers show
Series
  • ethdev: bump library version
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Thomas Monjalon Aug. 6, 2018, 10:55 a.m.
The old offload API is removed in 18.08,
so the library version must be increased,
in order to show the incompatibility with 18.05 one.

Fixes: ab3ce1e0c193 ("ethdev: remove old offload API")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 doc/guides/rel_notes/release_18_08.rst | 13 ++++++++++++-
 lib/librte_ethdev/Makefile             |  2 +-
 lib/librte_ethdev/meson.build          |  2 +-
 3 files changed, 14 insertions(+), 3 deletions(-)

Comments

Andrew Rybchenko Aug. 6, 2018, 5:52 p.m. | #1
On 06.08.2018 13:55, Thomas Monjalon wrote:
> The old offload API is removed in 18.08,
> so the library version must be increased,
> in order to show the incompatibility with 18.05 one.
>
> Fixes: ab3ce1e0c193 ("ethdev: remove old offload API")
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Thomas Monjalon Aug. 7, 2018, 12:51 p.m. | #2
06/08/2018 19:52, Andrew Rybchenko:
> On 06.08.2018 13:55, Thomas Monjalon wrote:
> > The old offload API is removed in 18.08,
> > so the library version must be increased,
> > in order to show the incompatibility with 18.05 one.
> >
> > Fixes: ab3ce1e0c193 ("ethdev: remove old offload API")
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>

Applied

Patch

diff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst
index 9849fec7d..a3546c892 100644
--- a/doc/guides/rel_notes/release_18_08.rst
+++ b/doc/guides/rel_notes/release_18_08.rst
@@ -131,6 +131,17 @@  API Changes
   - ``rte_mempool_xmem_size``
   - ``rte_mempool_xmem_usage``
 
+* ethdev: The old offload API is removed:
+
+  - Rx per-port ``rte_eth_conf.rxmode.[bit-fields]``
+  - Tx per-queue ``rte_eth_txconf.txq_flags``
+  - ``ETH_TXQ_FLAGS_NO*``
+
+  The transition bits are removed:
+
+  - ``rte_eth_conf.rxmode.ignore_offload_bitfield``
+  - ``ETH_TXQ_FLAGS_IGNORE``
+
 * cryptodev: In struct ``struct rte_cryptodev_info``, field ``rte_pci_device *pci_dev``
   has been replaced with field ``struct rte_device *device``.
   Value 0 is accepted in ``sym.max_nb_sessions``, meaning that a device
@@ -243,7 +254,7 @@  The libraries prepended with a plus sign were incremented in this version.
    + librte_cryptodev.so.5
      librte_distributor.so.1
      librte_eal.so.7
-     librte_ethdev.so.9
+   + librte_ethdev.so.10
      librte_eventdev.so.4
      librte_flow_classify.so.1
      librte_gro.so.1
diff --git a/lib/librte_ethdev/Makefile b/lib/librte_ethdev/Makefile
index c2f2f7d82..0935a275e 100644
--- a/lib/librte_ethdev/Makefile
+++ b/lib/librte_ethdev/Makefile
@@ -16,7 +16,7 @@  LDLIBS += -lrte_mbuf
 
 EXPORT_MAP := rte_ethdev_version.map
 
-LIBABIVER := 9
+LIBABIVER := 10
 
 SRCS-y += rte_ethdev.c
 SRCS-y += rte_flow.c
diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
index aed5d2265..596cd0f39 100644
--- a/lib/librte_ethdev/meson.build
+++ b/lib/librte_ethdev/meson.build
@@ -2,7 +2,7 @@ 
 # Copyright(c) 2017 Intel Corporation
 
 name = 'ethdev'
-version = 9
+version = 10
 allow_experimental_apis = true
 sources = files('ethdev_profile.c',
 	'rte_ethdev.c',