get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2438/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2438,
    "url": "https://patches.dpdk.org/api/patches/2438/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421873986-21912-3-git-send-email-nhorman@tuxdriver.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1421873986-21912-3-git-send-email-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421873986-21912-3-git-send-email-nhorman@tuxdriver.com",
    "date": "2015-01-21T20:59:45",
    "name": "[dpdk-dev,v7,3/4] Add library version extenstion",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "165802b7fb9ef784f59e590bdcba307f41aac956",
    "submitter": {
        "id": 32,
        "url": "https://patches.dpdk.org/api/people/32/?format=api",
        "name": "Neil Horman",
        "email": "nhorman@tuxdriver.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421873986-21912-3-git-send-email-nhorman@tuxdriver.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2438/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2438/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id DC59F5AC2;\n\tWed, 21 Jan 2015 22:00:28 +0100 (CET)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id 562DC5AB9\n\tfor <dev@dpdk.org>; Wed, 21 Jan 2015 22:00:26 +0100 (CET)",
            "from hmsreliant.think-freely.org\n\t([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1YE2Nv-0007Dn-SV; Wed, 21 Jan 2015 16:00:24 -0500"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 21 Jan 2015 15:59:45 -0500",
        "Message-Id": "<1421873986-21912-3-git-send-email-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1421873986-21912-1-git-send-email-nhorman@tuxdriver.com>",
        "References": "<1419109299-9603-1-git-send-email-nhorman@tuxdriver.com>\n\t<1421873986-21912-1-git-send-email-nhorman@tuxdriver.com>",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [PATCH v7 3/4] Add library version extenstion",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "To differentiate libraries that break ABI, we add a library version number\nsuffix to the library, which must be incremented when a given libraries ABI is\nbroken.  This patch enforces that addition, sets the initial abi soname\nextension to 1 for each library and creates a symlink to the base SONAME so that\nthe test applications will link properly.\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nCC: Thomas Monjalon <thomas.monjalon@6wind.com>\nCC: \"Richardson, Bruce\" <bruce.richardson@intel.com>\n\n---\nChange Notes:\nv3)\n\tMade symlinking of libraries conditional on a DSO build\n\nv4)\tRemoved erroneous newline\n\tchanged @exit 1 to @false\n\tchanged ./$(LIB) to $<\n---\n lib/librte_acl/Makefile              |  2 ++\n lib/librte_cfgfile/Makefile          |  2 ++\n lib/librte_cmdline/Makefile          |  2 ++\n lib/librte_compat/Makefile           |  2 ++\n lib/librte_distributor/Makefile      |  2 ++\n lib/librte_eal/bsdapp/eal/Makefile   |  2 ++\n lib/librte_eal/linuxapp/eal/Makefile |  2 ++\n lib/librte_ether/Makefile            |  2 ++\n lib/librte_hash/Makefile             |  2 ++\n lib/librte_ip_frag/Makefile          |  2 ++\n lib/librte_ivshmem/Makefile          |  2 ++\n lib/librte_kni/Makefile              |  2 ++\n lib/librte_kvargs/Makefile           |  2 ++\n lib/librte_lpm/Makefile              |  2 ++\n lib/librte_malloc/Makefile           |  2 ++\n lib/librte_mbuf/Makefile             |  2 ++\n lib/librte_mempool/Makefile          |  2 ++\n lib/librte_meter/Makefile            |  2 ++\n lib/librte_pipeline/Makefile         |  2 ++\n lib/librte_pmd_af_packet/Makefile    |  2 ++\n lib/librte_pmd_bond/Makefile         |  2 ++\n lib/librte_pmd_e1000/Makefile        |  2 ++\n lib/librte_pmd_enic/Makefile         |  2 ++\n lib/librte_pmd_i40e/Makefile         |  2 ++\n lib/librte_pmd_ixgbe/Makefile        |  2 ++\n lib/librte_pmd_pcap/Makefile         |  2 ++\n lib/librte_pmd_ring/Makefile         |  2 ++\n lib/librte_pmd_virtio/Makefile       |  2 ++\n lib/librte_pmd_vmxnet3/Makefile      |  2 ++\n lib/librte_pmd_xenvirt/Makefile      |  2 ++\n lib/librte_port/Makefile             |  2 ++\n lib/librte_power/Makefile            |  2 ++\n lib/librte_ring/Makefile             |  2 ++\n lib/librte_sched/Makefile            |  2 ++\n lib/librte_table/Makefile            |  2 ++\n lib/librte_timer/Makefile            |  2 ++\n lib/librte_vhost/Makefile            |  2 ++\n mk/rte.lib.mk                        | 12 ++++++++++--\n 38 files changed, 84 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile\nindex 45cbf80..765deb1 100644\n--- a/lib/librte_acl/Makefile\n+++ b/lib/librte_acl/Makefile\n@@ -39,6 +39,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)\n \n EXPORT_MAP := rte_acl_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_ACL) += tb_mem.c\n \ndiff --git a/lib/librte_cfgfile/Makefile b/lib/librte_cfgfile/Makefile\nindex a4f73de..032c240 100644\n--- a/lib/librte_cfgfile/Makefile\n+++ b/lib/librte_cfgfile/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_cfgfile_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_cmdline/Makefile b/lib/librte_cmdline/Makefile\nindex 3c71831..719dff6 100644\n--- a/lib/librte_cmdline/Makefile\n+++ b/lib/librte_cmdline/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_cmdline_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) := cmdline.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_cirbuf.c\ndiff --git a/lib/librte_compat/Makefile b/lib/librte_compat/Makefile\nindex 0bab870..0c57533 100644\n--- a/lib/librte_compat/Makefile\n+++ b/lib/librte_compat/Makefile\n@@ -32,6 +32,8 @@\n include $(RTE_SDK)/mk/rte.vars.mk\n \n \n+LIBABIVER := 1\n+\n # install includes\n SYMLINK-y-include := rte_compat.h\n \ndiff --git a/lib/librte_distributor/Makefile b/lib/librte_distributor/Makefile\nindex 3674a2c..4c9af17 100644\n--- a/lib/librte_distributor/Makefile\n+++ b/lib/librte_distributor/Makefile\n@@ -39,6 +39,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)\n \n EXPORT_MAP := rte_distributor_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) := rte_distributor.c\n \ndiff --git a/lib/librte_eal/bsdapp/eal/Makefile b/lib/librte_eal/bsdapp/eal/Makefile\nindex 0b5f9d9..ae214a4 100644\n--- a/lib/librte_eal/bsdapp/eal/Makefile\n+++ b/lib/librte_eal/bsdapp/eal/Makefile\n@@ -48,6 +48,8 @@ CFLAGS += $(WERROR_FLAGS) -O3\n \n EXPORT_MAP := rte_eal_version.map\n \n+LIBABIVER := 1\n+\n # specific to linuxapp exec-env\n SRCS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) := eal.c\n SRCS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += eal_memory.c\ndiff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile\nindex bae8af1..e117cec 100644\n--- a/lib/librte_eal/linuxapp/eal/Makefile\n+++ b/lib/librte_eal/linuxapp/eal/Makefile\n@@ -35,6 +35,8 @@ LIB = librte_eal.a\n \n EXPORT_MAP := rte_eal_version.map\n \n+LIBABIVER := 1\n+\n VPATH += $(RTE_SDK)/lib/librte_eal/common\n \n CFLAGS += -I$(SRCDIR)/include\ndiff --git a/lib/librte_ether/Makefile b/lib/librte_ether/Makefile\nindex 80ad78d..c0e5768 100644\n--- a/lib/librte_ether/Makefile\n+++ b/lib/librte_ether/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_ether_version.map\n \n+LIBABIVER := 1\n+\n SRCS-y += rte_ethdev.c\n \n #\ndiff --git a/lib/librte_hash/Makefile b/lib/librte_hash/Makefile\nindex bec61ab..3696cb1 100644\n--- a/lib/librte_hash/Makefile\n+++ b/lib/librte_hash/Makefile\n@@ -39,6 +39,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)\n \n EXPORT_MAP := rte_hash_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_HASH) := rte_hash.c\n SRCS-$(CONFIG_RTE_LIBRTE_HASH) += rte_fbk_hash.c\ndiff --git a/lib/librte_ip_frag/Makefile b/lib/librte_ip_frag/Makefile\nindex aa88578..fe926f7 100644\n--- a/lib/librte_ip_frag/Makefile\n+++ b/lib/librte_ip_frag/Makefile\n@@ -39,6 +39,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)\n \n EXPORT_MAP := rte_ipfrag_version.map\n \n+LIBABIVER := 1\n+\n #source files\n ifeq ($(CONFIG_RTE_MBUF_REFCNT),y)\n SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ipv4_fragmentation.c\ndiff --git a/lib/librte_ivshmem/Makefile b/lib/librte_ivshmem/Makefile\nindex 068ee10..16defdb 100644\n--- a/lib/librte_ivshmem/Makefile\n+++ b/lib/librte_ivshmem/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_ivshmem_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_IVSHMEM) := rte_ivshmem.c\n \ndiff --git a/lib/librte_kni/Makefile b/lib/librte_kni/Makefile\nindex 93a516d..7107832 100644\n--- a/lib/librte_kni/Makefile\n+++ b/lib/librte_kni/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing\n \n EXPORT_MAP := rte_kni_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_KNI) := rte_kni.c\n \ndiff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile\nindex b1c34f3..87b09f2 100644\n--- a/lib/librte_kvargs/Makefile\n+++ b/lib/librte_kvargs/Makefile\n@@ -40,6 +40,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_kvargs_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) := rte_kvargs.c\n \ndiff --git a/lib/librte_lpm/Makefile b/lib/librte_lpm/Makefile\nindex 8214630..35e6389 100644\n--- a/lib/librte_lpm/Makefile\n+++ b/lib/librte_lpm/Makefile\n@@ -39,6 +39,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)\n \n EXPORT_MAP := rte_lpm_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_LPM) := rte_lpm.c rte_lpm6.c\n \ndiff --git a/lib/librte_malloc/Makefile b/lib/librte_malloc/Makefile\nindex 15b7eed..947e41c 100644\n--- a/lib/librte_malloc/Makefile\n+++ b/lib/librte_malloc/Makefile\n@@ -34,6 +34,8 @@ include $(RTE_SDK)/mk/rte.vars.mk\n # library name\n LIB = librte_malloc.a\n \n+LIBABIVER := 1\n+\n CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_malloc_version.map\ndiff --git a/lib/librte_mbuf/Makefile b/lib/librte_mbuf/Makefile\nindex 03becae..080f3cf 100644\n--- a/lib/librte_mbuf/Makefile\n+++ b/lib/librte_mbuf/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_mbuf_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_MBUF) := rte_mbuf.c\n \ndiff --git a/lib/librte_mempool/Makefile b/lib/librte_mempool/Makefile\nindex 31d1a71..940d1f7 100644\n--- a/lib/librte_mempool/Makefile\n+++ b/lib/librte_mempool/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_mempool_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool.c\n ifeq ($(CONFIG_RTE_LIBRTE_XEN_DOM0),y)\ndiff --git a/lib/librte_meter/Makefile b/lib/librte_meter/Makefile\nindex c4a7a32..8765881 100644\n--- a/lib/librte_meter/Makefile\n+++ b/lib/librte_meter/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_meter_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pipeline/Makefile b/lib/librte_pipeline/Makefile\nindex 15b58df..15e406b 100644\n--- a/lib/librte_pipeline/Makefile\n+++ b/lib/librte_pipeline/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pipeline_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_af_packet/Makefile b/lib/librte_pmd_af_packet/Makefile\nindex 85a7860..f0bf537 100644\n--- a/lib/librte_pmd_af_packet/Makefile\n+++ b/lib/librte_pmd_af_packet/Makefile\n@@ -40,6 +40,8 @@ LIB = librte_pmd_af_packet.a\n \n EXPORT_MAP := rte_pmd_af_packet_version.map\n \n+LIBABIVER := 1\n+\n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n \ndiff --git a/lib/librte_pmd_bond/Makefile b/lib/librte_pmd_bond/Makefile\nindex 074110a..d6c81a8 100644\n--- a/lib/librte_pmd_bond/Makefile\n+++ b/lib/librte_pmd_bond/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_eth_bond_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_e1000/Makefile b/lib/librte_pmd_e1000/Makefile\nindex cd14444..8c8fed8 100644\n--- a/lib/librte_pmd_e1000/Makefile\n+++ b/lib/librte_pmd_e1000/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pmd_e1000_version.map\n \n+LIBABIVER := 1\n+\n ifeq ($(CC), icc)\n #\n # CFLAGS for icc\ndiff --git a/lib/librte_pmd_enic/Makefile b/lib/librte_pmd_enic/Makefile\nindex 697231c..251a898 100644\n--- a/lib/librte_pmd_enic/Makefile\n+++ b/lib/librte_pmd_enic/Makefile\n@@ -39,6 +39,8 @@ LIB = librte_pmd_enic.a\n \n EXPORT_MAP := rte_pmd_enic_version.map\n \n+LIBABIVER := 1\n+\n CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_enic/vnic/\n CFLAGS += -I$(RTE_SDK)/lib/librte_pmd_enic/\n CFLAGS += -O3\ndiff --git a/lib/librte_pmd_i40e/Makefile b/lib/librte_pmd_i40e/Makefile\nindex 73de373..9a0eec8 100644\n--- a/lib/librte_pmd_i40e/Makefile\n+++ b/lib/librte_pmd_i40e/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pmd_i40e_version.map\n \n+LIBABIVER := 1\n+\n #\n # Add extra flags for base driver files (also known as shared code)\n # to disable warnings\ndiff --git a/lib/librte_pmd_ixgbe/Makefile b/lib/librte_pmd_ixgbe/Makefile\nindex e0a17f6..d580f62 100644\n--- a/lib/librte_pmd_ixgbe/Makefile\n+++ b/lib/librte_pmd_ixgbe/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pmd_ixgbe_version.map\n \n+LIBABIVER := 1\n+\n ifeq ($(CC), icc)\n #\n # CFLAGS for icc\ndiff --git a/lib/librte_pmd_pcap/Makefile b/lib/librte_pmd_pcap/Makefile\nindex cb6678e..0775dbc 100644\n--- a/lib/librte_pmd_pcap/Makefile\n+++ b/lib/librte_pmd_pcap/Makefile\n@@ -42,6 +42,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pmd_pcap_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_ring/Makefile b/lib/librte_pmd_ring/Makefile\nindex aa1b461..e442d0b 100644\n--- a/lib/librte_pmd_ring/Makefile\n+++ b/lib/librte_pmd_ring/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_eth_ring_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_virtio/Makefile b/lib/librte_pmd_virtio/Makefile\nindex d979c59..793067f 100644\n--- a/lib/librte_pmd_virtio/Makefile\n+++ b/lib/librte_pmd_virtio/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_pmd_virtio_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_vmxnet3/Makefile b/lib/librte_pmd_vmxnet3/Makefile\nindex f3ab178..93e5580 100644\n--- a/lib/librte_pmd_vmxnet3/Makefile\n+++ b/lib/librte_pmd_vmxnet3/Makefile\n@@ -68,6 +68,8 @@ VPATH += $(RTE_SDK)/lib/librte_pmd_vmxnet3/vmxnet3\n \n EXPORT_MAP := rte_pmd_vmxnet3_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_pmd_xenvirt/Makefile b/lib/librte_pmd_xenvirt/Makefile\nindex 4510603..f0c796c 100644\n--- a/lib/librte_pmd_xenvirt/Makefile\n+++ b/lib/librte_pmd_xenvirt/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_eth_xenvirt_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_port/Makefile b/lib/librte_port/Makefile\nindex 266ed39..0e38452 100644\n--- a/lib/librte_port/Makefile\n+++ b/lib/librte_port/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_port_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_power/Makefile b/lib/librte_power/Makefile\nindex 0547dcd..cee95cd 100644\n--- a/lib/librte_power/Makefile\n+++ b/lib/librte_power/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing\n \n EXPORT_MAP := rte_power_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_POWER) := rte_power.c rte_power_acpi_cpufreq.c\n SRCS-$(CONFIG_RTE_LIBRTE_POWER) += rte_power_kvm_vm.c guest_channel.c\ndiff --git a/lib/librte_ring/Makefile b/lib/librte_ring/Makefile\nindex b437dc5..84ad3d3 100644\n--- a/lib/librte_ring/Makefile\n+++ b/lib/librte_ring/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_ring_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_RING) := rte_ring.c\n \ndiff --git a/lib/librte_sched/Makefile b/lib/librte_sched/Makefile\nindex 48f280a..b1cb285 100644\n--- a/lib/librte_sched/Makefile\n+++ b/lib/librte_sched/Makefile\n@@ -43,6 +43,8 @@ CFLAGS_rte_red.o := -D_GNU_SOURCE\n \n EXPORT_MAP := rte_sched_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_table/Makefile b/lib/librte_table/Makefile\nindex 4e1a54a..0d8394c 100644\n--- a/lib/librte_table/Makefile\n+++ b/lib/librte_table/Makefile\n@@ -41,6 +41,8 @@ CFLAGS += $(WERROR_FLAGS)\n \n EXPORT_MAP := rte_table_version.map\n \n+LIBABIVER := 1\n+\n #\n # all source are stored in SRCS-y\n #\ndiff --git a/lib/librte_timer/Makefile b/lib/librte_timer/Makefile\nindex 9fb6079..2aabef8 100644\n--- a/lib/librte_timer/Makefile\n+++ b/lib/librte_timer/Makefile\n@@ -38,6 +38,8 @@ CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n \n EXPORT_MAP := rte_timer_version.map\n \n+LIBABIVER := 1\n+\n # all source are stored in SRCS-y\n SRCS-$(CONFIG_RTE_LIBRTE_TIMER) := rte_timer.c\n \ndiff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile\nindex 96a7dd0..369c25a 100644\n--- a/lib/librte_vhost/Makefile\n+++ b/lib/librte_vhost/Makefile\n@@ -36,6 +36,8 @@ LIB = librte_vhost.a\n \n EXPORT_MAP := rte_vhost_version.map\n \n+LIBABIVER := 1\n+\n CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -D_FILE_OFFSET_BITS=64 -lfuse\n LDFLAGS += -lfuse\n # all source are stored in SRCS-y\ndiff --git a/mk/rte.lib.mk b/mk/rte.lib.mk\nindex 1d3b646..865a307 100644\n--- a/mk/rte.lib.mk\n+++ b/mk/rte.lib.mk\n@@ -37,10 +37,9 @@ include $(RTE_SDK)/mk/internal/rte.depdirs-pre.mk\n \n # VPATH contains at least SRCDIR\n VPATH += $(SRCDIR)\n-\n ifeq ($(RTE_BUILD_SHARED_LIB),y)\n-LIB := $(patsubst %.a,%.so,$(LIB))\n \n+LIB := $(patsubst %.a,%.so.$(LIBABIVER),$(LIB))\n CPU_LDFLAGS += --version-script=$(SRCDIR)/$(EXPORT_MAP)\n \n endif\n@@ -113,6 +112,10 @@ lib_dir = [ -d $(RTE_OUTPUT)/lib ] || mkdir -p $(RTE_OUTPUT)/lib;\n #\n ifeq ($(RTE_BUILD_SHARED_LIB),y)\n $(LIB): $(OBJS-y) $(DEP_$(LIB)) FORCE\n+ifeq ($(LIBABIVER),)\n+\t@echo \"Must Specify a $(LIB) ABI version\"\n+\t@false\n+endif\n \t@[ -d $(dir $@) ] || mkdir -p $(dir $@)\n \t$(if $(D),\\\n \t\t@echo -n \"$< -> $@ \" ; \\\n@@ -126,6 +129,7 @@ $(LIB): $(OBJS-y) $(DEP_$(LIB)) FORCE\n \t\t$(depfile_missing),\\\n \t\t$(depfile_newer)),\\\n \t\t$(O_TO_S_DO))\n+\n ifeq ($(RTE_BUILD_COMBINE_LIBS),y)\n \t$(if $(or \\\n         $(file_missing),\\\n@@ -163,9 +167,13 @@ endif\n # install lib in $(RTE_OUTPUT)/lib\n #\n $(RTE_OUTPUT)/lib/$(LIB): $(LIB)\n+\t$(eval LIBSONAME := $(basename $(LIB)))\n \t@echo \"  INSTALL-LIB $(LIB)\"\n \t@[ -d $(RTE_OUTPUT)/lib ] || mkdir -p $(RTE_OUTPUT)/lib\n \t$(Q)cp -f $(LIB) $(RTE_OUTPUT)/lib\n+ifeq ($(RTE_BUILD_SHARED_LIB),y)\n+\t$(Q)ln -s -f $< $(RTE_OUTPUT)/lib/$(LIBSONAME)\n+endif\n \n #\n # Clean all generated files\n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "3/4"
    ]
}