[dpdk-dev] [PATCH v2] usertools: fix pmdinfo parsing

Bruce Richardson bruce.richardson at intel.com
Wed Nov 4 11:32:49 CET 2020


On Wed, Nov 04, 2020 at 10:40:33AM +0100, David Marchand wrote:
> This script inspects an ELF file (binary or shared library) and its
> linked dependencies by following DT_NEEDED tags.
> So far a simple librte_pmd prefix was used as a filter.
> Now that we changed the driver library names, update this heuristic with
> an explicit list of all driver classes.
> 
> Fixes: a20b2c01a7a1 ("build: standardize component names and defines")
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Robin Jarry <robin.jarry at 6wind.com>
> ---
> Changelog since v1:
> - moved driver classes list as a class variable and did some cosmetic
>   change for readibility,
> - used dpdk_driver_classes variable name in the hope that someone changing
>   meson will catch this script too,

Good idea, but probably not enough. I think adding a comment to the
meson.build file to update this as well would be good.

/Bruce


More information about the dev mailing list