[PATCH] usertools/pmdinfo: fix search for PMD info string
Thomas Monjalon
thomas at monjalon.net
Tue Mar 17 14:57:12 CET 2026
18/02/2026 10:41, Robin Jarry:
> Bruce Richardson, Feb 17, 2026 at 13:48:
> > The PMD_INFO_STRING constant string is not guaranteed to appear in the
> > output binary immediately after an unprintable character. Because of
> > this, in some cases the information for a driver could be missed by the
> > PMD info script as it only checks for the prefix at the start of strings
> > that it finds. Change the script to use "s.find()" rather than
> > "s.startswith()" to fix this issue.
> >
> > Fixes: 0ce3cf4afd04 ("usertools/pmdinfo: rewrite simpler script")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>
> Nice find. Thanks Bruce.
>
> Acked-by: Robin Jarry <rjarry at redhat.com>
Applied, thanks.
More information about the dev
mailing list