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 CA8F944120; Fri, 31 May 2024 23:06:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0EACB42DC3; Fri, 31 May 2024 23:06:52 +0200 (CEST) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id 04DD242DC3 for ; Fri, 31 May 2024 23:06:50 +0200 (CEST) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-6bce380eb9bso1605544a12.0 for ; Fri, 31 May 2024 14:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1717189609; x=1717794409; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SwDrjEfH1+U4jtcw+GEm4su17KWjYDvSVUBfSj1foxE=; b=Hlu7guEfz9Jk9eXAcLeLsQVjDBlW+4O4v0lqTyVAQs0MjarWjySufaOopU8ER+SC6G Ghdtsrr5cu+7itjraaHNEIjONc/thZLZBg/ybVT2aqEZS+U8OiCx/L763Iejr1mnP7JX hqgaY7DS50cIdjfvd1EMUphj2RVlvc7qjaPak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717189609; x=1717794409; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SwDrjEfH1+U4jtcw+GEm4su17KWjYDvSVUBfSj1foxE=; b=SwSpvcDaPeM8qoCIozNLBbsEOJvxdS+aPjRiDgfGjvT3MkrnB+mymVIUW95BNBdIq7 r5xvlBR82RVGfC6IEhyxG5laUrw9zec0fWyhGFraPQvAn+UVoGo3r//xrK8jWJ7jyD8a uXM6/hi1xJ4P6OFmXAI/hUyGR141MeLfJA6WDbhcMJpJg2CNE938ec2W64KXqaAWk9xP zwZ7nULAXieM0CIPJcE4yU1H/XdScvhlsM5OvJ65okH9ZU/MZybyVyz6u795XMqO2mS7 CywsO19mISkSdIgk2lIdUkvZj8n9JecgVR4Hfbh/G9kRVyZzjOibJGobACyj94gg6ABq ekfg== X-Gm-Message-State: AOJu0Yxu0grPzd/2tv37JP8ovyaenCZd3pKWRdK4YSNqdmgr5PnzvpoQ 29ZTJh5wMFDAcjtY7MlmKZUKvzAfdaOZ/85B321Hfc+/irX/oFiYmunqcLmMcD9rY/yZPcMWW0L fd0qgjZDPT7OOMm/PTueNt0XqyICCOY6r0PiEVEpdkZqPX6Jb X-Google-Smtp-Source: AGHT+IEYuO5rhVW371Apw4p2kh5Eb6fnmWGYeWDCp9IufdIK7CbaY17WLFMLT5ZGX0N1SmU9wTdyzpW+Vid0OKHKivI= X-Received: by 2002:a17:90b:50d:b0:2bf:f248:3506 with SMTP id 98e67ed59e1d1-2c1dc570156mr2953169a91.12.1717189609151; Fri, 31 May 2024 14:06:49 -0700 (PDT) MIME-Version: 1.0 References: <20240412111136.3470304-1-luca.vizzarro@arm.com> <20240509112635.1170557-1-luca.vizzarro@arm.com> <20240509112635.1170557-4-luca.vizzarro@arm.com> In-Reply-To: <20240509112635.1170557-4-luca.vizzarro@arm.com> From: Jeremy Spewock Date: Fri, 31 May 2024 17:06:38 -0400 Message-ID: Subject: Re: [PATCH v2 3/5] dts: add parsing utility module To: Luca Vizzarro Cc: dev@dpdk.org, =?UTF-8?Q?Juraj_Linke=C5=A1?= , Paul Szczepanek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thu, May 9, 2024 at 7:26=E2=80=AFAM 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: Jeremy Spewock