RE: [EXT] Re: [RFC PATCH 1/7] lib: add helper to read strings from sysfs files

2023-01-11 Thread Tomasz Duszynski
Hi Stephen, >-Original Message- >From: Stephen Hemminger >Sent: Friday, December 23, 2022 5:40 PM >To: Tomasz Duszynski >Cc: dev@dpdk.org; tho...@monjalon.net; Jerin Jacob Kollanukkaran > >Subject: [EXT] Re: [RFC PATCH 1/7] lib: add helper to read strin

Re: [RFC PATCH 1/7] lib: add helper to read strings from sysfs files

2022-12-23 Thread Stephen Hemminger
On Fri, 23 Dec 2022 00:24:29 +0100 Tomasz Duszynski wrote: > diff --git a/lib/eal/version.map b/lib/eal/version.map > index 7ad12a7dc9..2dbc10e6be 100644 > --- a/lib/eal/version.map > +++ b/lib/eal/version.map > @@ -440,6 +440,9 @@ EXPERIMENTAL { > rte_thread_detach; > rte_thread_equa

[RFC PATCH 1/7] lib: add helper to read strings from sysfs files

2022-12-22 Thread Tomasz Duszynski
Reading strings from sysfs files is a re-occurring pattern hence add helper for doing that. Signed-off-by: Tomasz Duszynski --- app/test/test_eal_fs.c | 108 lib/eal/common/eal_filesystem.h | 6 ++ lib/eal/unix/eal_filesystem.c | 24 --- lib/eal