Re: [PATCH v3] usertools: rewrite pmdinfo

2022-09-20 Thread Robin Jarry
Ferruh Yigit, Sep 20, 2022 at 12:10: > For 'subsystem_vendor' & 'subsystem_device', the value "" means it > is not explicitly defined, so it gets default value. > What do you think to omit those as well, when value is "", to reduce > noise on the output? Sure, I could strip those as well

Re: [PATCH v3] usertools: rewrite pmdinfo

2022-09-20 Thread Ferruh Yigit
On 9/20/2022 10:08 AM, Robin Jarry wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely

[PATCH v3] usertools: rewrite pmdinfo

2022-09-20 Thread Robin Jarry
dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_INFO_STRING from .rodata ELF sections. Rewrit