From: Neil Horman <nhorman@tuxdriver.com>
To: Panu Matilainen <pmatilai@redhat.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 2/2] ethdev: remove old flow director symbols
Date: Tue, 15 Dec 2015 09:28:01 -0500 [thread overview]
Message-ID: <20151215142801.GB25595@hmsreliant.think-freely.org> (raw)
In-Reply-To: <566FFC81.2010601@redhat.com>
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
prev parent reply other threads:[~2015-12-15 14:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 10:47 [dpdk-dev] [PATCH 1/2] eal: remove zombie symbols Thomas Monjalon
2015-12-15 10:47 ` [dpdk-dev] [PATCH 2/2] ethdev: remove old flow director symbols Thomas Monjalon
2015-12-15 11:41 ` Panu Matilainen
2015-12-15 12:15 ` Thomas Monjalon
2015-12-15 12:53 ` Thomas Monjalon
2015-12-15 14:28 ` Neil Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151215142801.GB25595@hmsreliant.think-freely.org \
--to=nhorman@tuxdriver.com \
--cc=dev@dpdk.org \
--cc=pmatilai@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).