[PATCH] usertools/pmdinfo: fix search for PMD info string
Robin Jarry
rjarry at redhat.com
Wed Feb 18 10:41:56 CET 2026
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>
More information about the stable
mailing list