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

Tomasz Duszynski tduszynski at marvell.com
Thu Jan 26 09:35:35 CET 2023



>-----Original Message-----
>From: Thomas Monjalon <thomas at monjalon.net>
>Sent: Wednesday, January 25, 2023 11:40 AM
>To: Tomasz Duszynski <tduszynski at marvell.com>
>Cc: dev at dpdk.org; Jerin Jacob Kollanukkaran <jerinj at marvell.com>; stephen at networkplumber.org;
>chenbo.xia at intel.com; david.marchand at redhat.com; bruce.richardson at intel.com
>Subject: [EXT] Re: [PATCH 1/2] lib: add helper to read strings from sysfs files
>
>External Email
>
>----------------------------------------------------------------------
>25/01/2023 11:33, Tomasz Duszynski:
>> Reading strings from sysfs files is a re-occurring pattern hence add
>> helper for doing that.
>
>In general it would be to nice to clean sysfs parsing in libs and drivers, so they all use some
>functions from EAL.
>

That's generally true. Here I wanted to avoid tree-wide changes caused by unrelated work i.e a new bus
and do a cleanup, i.e use this read string util where applicable, later on. 
 


More information about the dev mailing list