Message ID | 1450176434-7213-2-git-send-email-thomas.monjalon@6wind.com (mailing list archive) |
---|---|
State | Accepted, archived |
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]) by dpdk.org (Postfix) with ESMTP id 741C95A86; Tue, 15 Dec 2015 11:48:42 +0100 (CET) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 4DA3B5A72 for <dev@dpdk.org>; Tue, 15 Dec 2015 11:48:41 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id p66so19113195wmp.1 for <dev@dpdk.org>; Tue, 15 Dec 2015 02:48:41 -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:in-reply-to:references; bh=dRd28nzJCP+ibTxdYtJSseiCe3iw+OTSXR2fY6lwo6Y=; b=yjGvXLl4cFkoHmpQ9ADylHxKQwRNX8CzCz/sNrvkuVahm/p6vbgyx/RZ5fUbZ7L3BY yXE+MEU1hnU/nJ8eP6PalsFH9pK4MVzTWqwhtYqH3+7xdtDb4T2h581noXp2pkGUy3Au 0MGE4c2D3K/Mv64TzYgAmP+t/yFLqv8eToCo0JLxvoCjaGLr0yWHFJq4kl14512RAx7N +xIG6jFIR2dh4eXlahjmaCZyhXZR1cHjdqILFzBiyhXrSTXPPkQHSD7G2qkjOVGOjP9z iDn9PxljG5klOlPd6SVZLXCZLRImv+p82aJieSwU9RScLPk9ktlOI+xORdSD0ue78+ug hbgQ== 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:in-reply-to :references; bh=dRd28nzJCP+ibTxdYtJSseiCe3iw+OTSXR2fY6lwo6Y=; b=mCqg51/MYnUnYLPuOs8AWCQcgcSPLMu2c1JnARprz+AWqUOyUc2oSVuvFXuGrZuXeI pPT3M1GoM1J0gdgESdzszdg5S+YsRoFMG2+0y8bXlO2r/X4C449a9tOM/lHvlB6POpEF htXqynwmPx0OC267UOpNNadGrXnQ38GOk4+TnGIxpcG78l4vbIX7TUHpkw6FrJEU0+iM /VDaVCExEtBJqcg/G4JekuxqqutfdI8XG5Ingtt1m7ldTHCAsHwsG+IZaS8UrisClTmM zm44QG/0Fo081CIsoDDmmXeArIqHZbW9MYYcgl+6f+n1Y7i/+/sB+vliT5QigHmjrzNM 2wqQ== X-Gm-Message-State: ALoCoQmbGt1kyDtfhXg/t1aBH7BvHBhfIoBnxhbIgt++11xgvx+wOeOnT4k0qCK+D4EvcBcsSX7CeUhmNryBKTTJ2Wlg2tgfYw== X-Received: by 10.194.94.100 with SMTP id db4mr40994956wjb.85.1450176521197; Tue, 15 Dec 2015 02:48:41 -0800 (PST) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id u4sm858892wjz.4.2015.12.15.02.48.40 for <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 02:48:40 -0800 (PST) From: Thomas Monjalon <thomas.monjalon@6wind.com> To: dev@dpdk.org Date: Tue, 15 Dec 2015 11:47:14 +0100 Message-Id: <1450176434-7213-2-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1450176434-7213-1-git-send-email-thomas.monjalon@6wind.com> References: <1450176434-7213-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 2/2] ethdev: remove old flow director symbols 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>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Commit Message
Thomas Monjalon
Dec. 15, 2015, 10:47 a.m. UTC
The API has been removed but the symbols were still declared in the map.
Fixes: a421b86a4a02 ("ethdev: remove old flow director API")
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
lib/librte_ether/rte_ether_version.map | 8 --------
1 file changed, 8 deletions(-)
Comments
On 12/15/2015 12:47 PM, Thomas Monjalon wrote: > The API has been removed but the symbols were still declared in the map. > > Fixes: a421b86a4a02 ("ethdev: remove old flow director API") > > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> > --- > lib/librte_ether/rte_ether_version.map | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map > index 17a11c7..d8db24d 100644 > --- a/lib/librte_ether/rte_ether_version.map > +++ b/lib/librte_ether/rte_ether_version.map > @@ -27,14 +27,6 @@ DPDK_2.2 { > rte_eth_dev_count; > rte_eth_dev_default_mac_addr_set; > rte_eth_dev_detach; > - rte_eth_dev_fdir_add_perfect_filter; > - rte_eth_dev_fdir_add_signature_filter; > - rte_eth_dev_fdir_get_infos; > - rte_eth_dev_fdir_remove_perfect_filter; > - rte_eth_dev_fdir_remove_signature_filter; > - rte_eth_dev_fdir_set_masks; > - rte_eth_dev_fdir_update_perfect_filter; > - rte_eth_dev_fdir_update_signature_filter; > rte_eth_dev_filter_ctrl; > rte_eth_dev_filter_supported; > rte_eth_dev_flow_ctrl_get; > Good spotting. What did you use find these and the ones in eal? Just thinking this seems like something that could and should be automated. - Panu -
2015-12-15 13:41, Panu Matilainen: > On 12/15/2015 12:47 PM, Thomas Monjalon wrote: > > The API has been removed but the symbols were still declared in the map. > > > > Fixes: a421b86a4a02 ("ethdev: remove old flow director API") > > > > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> > > --- > > lib/librte_ether/rte_ether_version.map | 8 -------- > > 1 file changed, 8 deletions(-) > > > > diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map > > index 17a11c7..d8db24d 100644 > > --- a/lib/librte_ether/rte_ether_version.map > > +++ b/lib/librte_ether/rte_ether_version.map > > @@ -27,14 +27,6 @@ DPDK_2.2 { > > rte_eth_dev_count; > > rte_eth_dev_default_mac_addr_set; > > rte_eth_dev_detach; > > - rte_eth_dev_fdir_add_perfect_filter; > > - rte_eth_dev_fdir_add_signature_filter; > > - rte_eth_dev_fdir_get_infos; > > - rte_eth_dev_fdir_remove_perfect_filter; > > - rte_eth_dev_fdir_remove_signature_filter; > > - rte_eth_dev_fdir_set_masks; > > - rte_eth_dev_fdir_update_perfect_filter; > > - rte_eth_dev_fdir_update_signature_filter; > > rte_eth_dev_filter_ctrl; > > rte_eth_dev_filter_supported; > > rte_eth_dev_flow_ctrl_get; > > > > Good spotting. What did you use find these and the ones in eal? Just > thinking this seems like something that could and should be automated. Yes, it must be automated. There are also some symbols which are defined in headers and do not need to be in the .map. I'll send more cleanup and the script in the coming days (for 2.3).
2015-12-15 13:41, Panu Matilainen: > On 12/15/2015 12:47 PM, Thomas Monjalon wrote: > > The API has been removed but the symbols were still declared in the map. > > > > Fixes: a421b86a4a02 ("ethdev: remove old flow director API") > > > > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> [...] > > Good spotting. What did you use find these and the ones in eal? Just > thinking this seems like something that could and should be automated. Series applied
On Tue, Dec 15, 2015 at 01:41:53PM +0200, Panu Matilainen wrote: > On 12/15/2015 12:47 PM, Thomas Monjalon wrote: > >The API has been removed but the symbols were still declared in the map. > > > >Fixes: a421b86a4a02 ("ethdev: remove old flow director API") > > > >Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> > >--- > > lib/librte_ether/rte_ether_version.map | 8 -------- > > 1 file changed, 8 deletions(-) > > > >diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map > >index 17a11c7..d8db24d 100644 > >--- a/lib/librte_ether/rte_ether_version.map > >+++ b/lib/librte_ether/rte_ether_version.map > >@@ -27,14 +27,6 @@ DPDK_2.2 { > > rte_eth_dev_count; > > rte_eth_dev_default_mac_addr_set; > > rte_eth_dev_detach; > >- rte_eth_dev_fdir_add_perfect_filter; > >- rte_eth_dev_fdir_add_signature_filter; > >- rte_eth_dev_fdir_get_infos; > >- rte_eth_dev_fdir_remove_perfect_filter; > >- rte_eth_dev_fdir_remove_signature_filter; > >- rte_eth_dev_fdir_set_masks; > >- rte_eth_dev_fdir_update_perfect_filter; > >- rte_eth_dev_fdir_update_signature_filter; > > rte_eth_dev_filter_ctrl; > > rte_eth_dev_filter_supported; > > rte_eth_dev_flow_ctrl_get; > > > > Good spotting. What did you use find these and the ones in eal? Just > thinking this seems like something that could and should be automated. > > - Panu - > You can likely do it with this command: nm -A ./*.o | grep <sym> | wc -l or something simmilar. nm -A dysplays all the symbols in an object file. if you grep for your sym and wc -l returns more than 1 line, the symbols has a reference, and can't be removed. Note it needs to be more than 1 line, as you have to account for the object defining the symbol Neil
diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map index 17a11c7..d8db24d 100644 --- a/lib/librte_ether/rte_ether_version.map +++ b/lib/librte_ether/rte_ether_version.map @@ -27,14 +27,6 @@ DPDK_2.2 { rte_eth_dev_count; rte_eth_dev_default_mac_addr_set; rte_eth_dev_detach; - rte_eth_dev_fdir_add_perfect_filter; - rte_eth_dev_fdir_add_signature_filter; - rte_eth_dev_fdir_get_infos; - rte_eth_dev_fdir_remove_perfect_filter; - rte_eth_dev_fdir_remove_signature_filter; - rte_eth_dev_fdir_set_masks; - rte_eth_dev_fdir_update_perfect_filter; - rte_eth_dev_fdir_update_signature_filter; rte_eth_dev_filter_ctrl; rte_eth_dev_filter_supported; rte_eth_dev_flow_ctrl_get;