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 0C4EC44180; Fri, 7 Jun 2024 13:16:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED31D42831; Fri, 7 Jun 2024 13:16:27 +0200 (CEST) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by mails.dpdk.org (Postfix) with ESMTP id 391F242830 for ; Fri, 7 Jun 2024 13:16:27 +0200 (CEST) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-57a2406f951so2456053a12.1 for ; Fri, 07 Jun 2024 04:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1717758987; x=1718363787; darn=dpdk.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PsnYuXIV9EJ8H59RN7QDUipUwM1ma0WMxdXNqF2dnVs=; b=hGnwW+686EC4OvGIg2v4naJ0REklc4CS6uE6zyER4+YXVseMQoBhD/rzw6xai88UFk vwGXatQPrXzpiohGHGQXq6OcE8l4X0PC/Wu8SUxEqoxCaUvhOt3eecLhSSFsq//WNOIL WOc+kwBLPCQzmpwYc6OyLvt3qqMTWKiFLY+zlSgq4/iBsQRxYrODgcT93BBEZAd55EMn S0pjj2MprmeqTJEvjp8z7eJzMyL2AXWVWrqCEn6I5PCeBMVLy7hxox7rMxV/K5DeKsvR GLIJz9D7QVX1gdKQlY36GaYQ0aq05Bf69blIg1UakCUo64tIJx2Yoxn3qtQflN8Z3Iz1 1K9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717758987; x=1718363787; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PsnYuXIV9EJ8H59RN7QDUipUwM1ma0WMxdXNqF2dnVs=; b=aZLJFSgV5tGk3+6o1Gn4YCBqW6O9Wi/MKkf0q39xoHymh64xXGhlcrWc8O6NliVSAH SDSzVw5Jb5aDQiNjeLp/7sWZ5bF78tCk3ubz3UnXnLUOiKiRa2sNw9pwMLqV4f61vshT 6gZK18NMmGS/+pCJFyotgv7GOjCYVX3oN3wDZdFbbplZWt3xhjZt8jqe98yvaFNkJtv9 DNasK8EIQBXR5nQxNAJxXKsl2IOaUbhf/kMvfVuxXTAqxLvnZOOsqJjBuvWX0tQsKWEB UCE2UMsEkxfqACfKUVOqbmlBGM5+hNQo2j6cMAAraTPdCsjvv5qRlqCwFucVVHPZ+yne 7l0g== X-Forwarded-Encrypted: i=1; AJvYcCVc+hMbdnHHaO4QROhhbcizuXHGd1HCzvID7E1h12zAbm35VDlZjC5C7d/FjC4xdr8MtQyigccLl6ziE48= X-Gm-Message-State: AOJu0YwIZJrNK3AETI5FH2peV+BdWe/somSkXA7ws//WZQq3BRqnMkwi XKN37wtgmD7VfGJu3MdzIFiGOf6SbUz8Hhtgx9qb9Dci/DwuguMmCSbg4gCLt+k= X-Google-Smtp-Source: AGHT+IHbO/S7/7NtMoiJwGQH0J4mPVL2xRZeyeEyWFQfyN/I9WvHrI3SmJaVwxT11TvGlHwgxL+nVQ== X-Received: by 2002:a50:9ee1:0:b0:57c:4868:4cea with SMTP id 4fb4d7f45d1cf-57c5084fbeemr1235171a12.7.1717758986569; Fri, 07 Jun 2024 04:16:26 -0700 (PDT) Received: from [192.168.1.113] ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae0ffbf8sm2589711a12.39.2024.06.07.04.16.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jun 2024 04:16:26 -0700 (PDT) Message-ID: <458babd8-283e-4696-aa62-d076732c46f0@pantheon.tech> Date: Fri, 7 Jun 2024 13:16:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 3/5] dts: add parsing utility module To: Luca Vizzarro , dev@dpdk.org Cc: Jeremy Spewock , Paul Szczepanek References: <20240412111136.3470304-1-luca.vizzarro@arm.com> <20240606213420.254260-1-luca.vizzarro@arm.com> <20240606213420.254260-4-luca.vizzarro@arm.com> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240606213420.254260-4-luca.vizzarro@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 On 6. 6. 2024 23:34, Luca Vizzarro wrote: > Adds parsing text into a custom dataclass. It provides a new > `TextParser` dataclass to be inherited. This implements the `parse` > method, which combined with the parser functions, it can automatically > parse the value for each field. > > This new utility will facilitate and simplify the parsing of complex > command outputs, while ensuring that the codebase does not get bloated > and stays flexible. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek Reviewed-by: Juraj Linkeš