From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A52E42483; Wed, 25 Jan 2023 11:39:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 279A842D3E; Wed, 25 Jan 2023 11:39:35 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 1F96442D69 for ; Wed, 25 Jan 2023 11:39:34 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8E3845C00D7; Wed, 25 Jan 2023 05:39:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 25 Jan 2023 05:39:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1674643173; x= 1674729573; bh=6ExFkqRuE0OWGJvrJ2FQkY8E3BJFRYx/EDWXILVqarA=; b=k NjisapN+5MWrFI5yfbbke3KYj8RQgs8IjfpzJ+uZ7hBBr7hNb0DMajJcMHpu+FuR RZQCPQmXs/qdsFWpyKrFVJkiJTO8DUxvqTPE4l+J35EFjh/h0yXIzkxQzUeWl9hQ S5+57DD1vpFKdjNy+vfMJGl6JJ05sZYtwUZg15owOBJkywVrIuUkJRVQg+kYTx/V sXecFFuLcmEHAKkG/UtmyvAfOYKgPKyhGE/PSSINVvblX5m29Sp+G68xlI38ihde 1FlWEmRhyGpGw1vrW88qhjLHzRWRtXJaSrsQoL0DTFZDs9R3vDMJaTHqrV/SQYGU nfY4/f80xL3b8DhOhQj5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1674643173; x= 1674729573; bh=6ExFkqRuE0OWGJvrJ2FQkY8E3BJFRYx/EDWXILVqarA=; b=X f/BeCnWwgcfgZMJjR8Et4aBExrLpVpPhfAJkopyltYkRD051ilZ5rj6dgQpP3rks UsMOwlRWChrajKMCAYupIdJwmhrKXRABzvguuIsxu5z6GFS/Wdm757aUNjKTsGrm Y+ZsGfDLJlyNvLooxkfV0Lc83ugy0DJIo8DVBLReu/gyo3a5zjf4DgxZsi/+DgU+ Bjnoc6Rz86e+/m3H0VJ4dY3Gu7VxPOoNUolmMMP22O7MtWO2EUAiu3YVubOuIYRK JmTfri5TNLewuYk+YlM1n15d61Zh+DegYEp9TJZ5LX+ztP1YZGxN8D2/YpWT3CO5 kPC9JNtgtG6RHXFeIkWjw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvvddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Jan 2023 05:39:32 -0500 (EST) From: Thomas Monjalon To: Tomasz Duszynski Cc: dev@dpdk.org, jerinj@marvell.com, stephen@networkplumber.org, chenbo.xia@intel.com, david.marchand@redhat.com, bruce.richardson@intel.com Subject: Re: [PATCH 1/2] lib: add helper to read strings from sysfs files Date: Wed, 25 Jan 2023 11:39:30 +0100 Message-ID: <73101748.RN2Pgac3cq@thomas> In-Reply-To: <20230125103311.1249988-2-tduszynski@marvell.com> References: <20230110234642.1188550-1-tduszynski@marvell.com> <20230125103311.1249988-1-tduszynski@marvell.com> <20230125103311.1249988-2-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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.