[PATCH] usertools/pmdinfo: fix search for PMD info string
David Marchand
david.marchand at redhat.com
Tue Feb 17 18:53:20 CET 2026
On Tue, 17 Feb 2026 at 13:49, Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> 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>
Surprising we hit this issue only now.
Acked-by: David Marchand <david.marchand at redhat.com>
It would be good to hear back from the initial reporter.
--
David Marchand
More information about the stable
mailing list