Re: [PATCH] usertools: rewrite pmdinfo

2022-09-14 Thread Robin Jarry
Ferruh Yigit, Sep 13, 2022 at 15:50: > I confirm warnings are gone when `LD_LIBRARY_PATH` is provided, but why > current version doesn't require `LD_LIBRARY_PATH`? It does but I assume no warning is displayed when the required libs are not found. I could silence the warnings unless a -v/--verbose

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Bruce Richardson
On Tue, Sep 13, 2022 at 12:58:11PM +0200, Robin Jarry wrote: > 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 simp

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 2:59 PM, Robin Jarry wrote: Ferruh Yigit, Sep 13, 2022 at 15:50: I confirm warnings are gone when `LD_LIBRARY_PATH` is provided, but why current version doesn't require `LD_LIBRARY_PATH`? It does but I assume no warning is displayed when the required libs are not found. I could s

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 12:49 PM, 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. Ferruh Yigit, Sep 13, 2022 at 13:29: Hi Robin, Thanks for the work. One of t

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Robin Jarry
Ferruh Yigit, Sep 13, 2022 at 13:29: > Hi Robin, > > Thanks for the work. > > One of the major usecase of the script is to get information from binary > drivers. So intentions of the script is to run it on drivers more than > applications (dpdk-testpmd). > > When I run it on one of the .so driver

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 11:58 AM, Robin Jarry wrote: 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_I

[PATCH] usertools: rewrite pmdinfo

2022-09-13 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