From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH 1/3] rte_ring: remove deprecated functions Date: Fri, 12 Jun 2015 15:00:23 +0100 Message-ID: <20150612140023.GA6688@bricha3-MOBL3> References: <1434086314-14371-1-git-send-email-stephen@networkplumber.org> <1434086314-14371-2-git-send-email-stephen@networkplumber.org> <557A724F.5090801@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Stephen Hemminger To: Panu Matilainen Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1D3F2C2FC for ; Fri, 12 Jun 2015 16:00:27 +0200 (CEST) Content-Disposition: inline In-Reply-To: <557A724F.5090801@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jun 12, 2015 at 08:46:55AM +0300, Panu Matilainen wrote: > On 06/12/2015 08:18 AM, Stephen Hemminger wrote: > >From: Stephen Hemminger > > > >These were deprecated in 2.0 so remove them from 2.1 > > > >Signed-off-by: Stephen Hemminger > >--- > > drivers/net/ring/rte_eth_ring.c | 55 ------------------------------- > > drivers/net/ring/rte_eth_ring_version.map | 2 -- > > 2 files changed, 57 deletions(-) > > > [...] > >diff --git a/drivers/net/ring/rte_eth_ring_version.map b/drivers/net/ring/rte_eth_ring_version.map > >index 8ad107d..0875e25 100644 > >--- a/drivers/net/ring/rte_eth_ring_version.map > >+++ b/drivers/net/ring/rte_eth_ring_version.map > >@@ -2,8 +2,6 @@ DPDK_2.0 { > > global: > > > > rte_eth_from_rings; > >- rte_eth_ring_pair_attach; > >- rte_eth_ring_pair_create; > > > > local: *; > > }; > > Removing symbols is an ABI break so it additionally requires a soname bump > for this library. > > In addition, simply due to being the first library to do so, it'll also then > break the combined shared library as is currently is. Mind you, this is not > an objection at all, the need to change to a linker script approach has > always been a matter of time. > > - Panu - > Also, patch title should be prefixed with "ring pmd" or "drivers/net/ring" rather than rte_ring, since this is a patch for the ring pmd, not the rte_ring library. /Bruce