From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id CDE2D5582 for ; Sun, 6 Nov 2016 19:21:30 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id f82so79939176wmf.1 for ; Sun, 06 Nov 2016 10:21:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=/W7lwKz7w+mgeTLpDliD5hWPUoKnFoguI+4BEOCmQf0=; b=Yk+ejSa0HHSZaApLOeUSaf0ZWefjEQ3TqRLhDzfuqKjf7RVWccqqwnvrJSPQ6GiUVz 9ZVQX/MXphvOJGtSeOg6Tk/mCoz6Vt4pT7l5E875LY9gr3hoO/Grs5Ilc18DNUTRAc6V VOrU6BMq1CN7mAloz2B+zhzemj0qn2h1qtthz/vc6Kq8h01oaZJ2FxBsISwTBJUGe4Y+ LTV35nqIauarxJpCM3S5fpwiWbiJ8ZI8f2r1kMJ+7rcn+CgKbtaQzaRLTCPiO0U/UxdG 0EDNNqRFI/2hlBga9i3xL6Lg4WqwW+d15ULDCD3t0JEWY2XEwjLEbv+L8Bv1JS2vU4gI pIag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=/W7lwKz7w+mgeTLpDliD5hWPUoKnFoguI+4BEOCmQf0=; b=GbZaUr4D7+uLjHSZ2dKxhRRcsX6RYwJ4cyHDVUpqGmYzaNegunhNdHEk+eYltO3hAG XDXlO/zWRZpQr2UK4xUwSZnylVONDFrxxSl2r4N7kVZYydXa2gMr1Q/ZJCcCY3pDaiy7 bcUF7vXzVmZdYvtEYERsY6s1E+7CwvPNymY8UGkDKCfVKtFsngnDaz0EqyjXGTu4pynW MiO/x3dTA6VacK/tb3dJhqbfIcI071KGbJDtcxH8NCQPbZQSE9OOrMCMbShe/owUeyfJ WmKBrxlq9B8/LqFHnTMnEpjGImWHV70jxp0OAj05Vr9cP6jIYTr9z+5aJrxDS1gk/xZr jYyA== X-Gm-Message-State: ABUngveoinKh8a4InkdcUK/gttO8s3MxFHWoN+RL7OQwXvLSu4B1c0SFDr1FIYE67cyxy0l/ X-Received: by 10.28.21.1 with SMTP id 1mr5433797wmv.133.1478456490312; Sun, 06 Nov 2016 10:21:30 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g184sm4815944wme.23.2016.11.06.10.21.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Nov 2016 10:21:29 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Sun, 6 Nov 2016 19:21:02 +0100 Message-Id: <1478456462-5739-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] ethdev: rename library for consistency X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 18:21:31 -0000 The library was named libethdev without rte_ prefix. It is now fixed, the library namespace is consistent. Note: the ABI version has already been changed in this release cycle. Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 3 --- doc/guides/rel_notes/release_16_11.rst | 2 +- lib/librte_ether/Makefile | 2 +- mk/rte.app.mk | 2 +- mk/rte.lib.mk | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 884a231..9f5fa55 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -8,9 +8,6 @@ API and ABI deprecation notices are to be posted here. Deprecation Notices ------------------- -* The ethdev library file will be renamed from libethdev.* to librte_ethdev.* - in release 16.11 in order to have a more consistent namespace. - * In 16.11 ABI changes are planned: the ``rte_eth_dev`` structure will be extended with new function pointer ``tx_pkt_prep`` allowing verification and processing of packet burst to meet HW specific requirements before diff --git a/doc/guides/rel_notes/release_16_11.rst b/doc/guides/rel_notes/release_16_11.rst index db20567..aad21ba 100644 --- a/doc/guides/rel_notes/release_16_11.rst +++ b/doc/guides/rel_notes/release_16_11.rst @@ -258,13 +258,13 @@ The libraries prepended with a plus sign were incremented in this version. .. code-block:: diff - + libethdev.so.5 librte_acl.so.2 librte_cfgfile.so.2 librte_cmdline.so.2 + librte_cryptodev.so.2 librte_distributor.so.1 + librte_eal.so.3 + + librte_ethdev.so.5 librte_hash.so.2 librte_ip_frag.so.1 librte_jobstats.so.1 diff --git a/lib/librte_ether/Makefile b/lib/librte_ether/Makefile index bc2e5f6..efe1e5f 100644 --- a/lib/librte_ether/Makefile +++ b/lib/librte_ether/Makefile @@ -34,7 +34,7 @@ include $(RTE_SDK)/mk/rte.vars.mk # # library name # -LIB = libethdev.a +LIB = librte_ethdev.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 51bc3b0..f75f0e2 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -91,7 +91,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf _LDLIBS-$(CONFIG_RTE_LIBRTE_NET) += -lrte_net -_LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lethdev +_LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool _LDLIBS-$(CONFIG_RTE_LIBRTE_RING) += -lrte_ring diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk index 7b96fd4..33a5f5a 100644 --- a/mk/rte.lib.mk +++ b/mk/rte.lib.mk @@ -81,7 +81,7 @@ endif # Ignore (sub)directory dependencies which do not provide an actual library _IGNORE_DIRS = lib/librte_eal/% lib/librte_compat _DEPDIRS = $(filter-out $(_IGNORE_DIRS),$(DEPDIRS-y)) -_LDDIRS = $(subst librte_ether,libethdev,$(_DEPDIRS)) +_LDDIRS = $(subst librte_ether,librte_ethdev,$(_DEPDIRS)) LDLIBS += $(subst lib/lib,-l,$(_LDDIRS)) O_TO_A = $(AR) crDs $(LIB) $(OBJS-y) -- 2.7.0