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 4BDB744180; Fri, 7 Jun 2024 13:16:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ABD4427E8; Fri, 7 Jun 2024 13:16:39 +0200 (CEST) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mails.dpdk.org (Postfix) with ESMTP id C9D9A427E8 for ; Fri, 7 Jun 2024 13:16:37 +0200 (CEST) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a6267778b3aso232232366b.3 for ; Fri, 07 Jun 2024 04:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1717758997; x=1718363797; 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=ZCIivZNN3rCHD+3zTo5WNw1BcCcg1yYezi0glBZ/oGc=; b=tAICAiYk4fOfybIUT0J264C08O4tI2cI6Bvc1jgjAsQPWA5D/w9JCZfaBdsH/MtCvq 1lnjIRoFzC49NMqjSP9NAFT1eCOniUEvsA9AuKabmsCCr+pkIiZ19fro4ThwXxiLci+3 2q5Y8NSbF6m+C+TwIvfKqiuDPQezpXNnSCMQ2xApl+bNMiuAui2qC12tHmCIiTpWcUwJ S+IahYEWOwA8KBQBr/PpucN1rpLBAC7CVoAH5+TGLxfutQI7X+b1VVPw59wHB8RLeN0A 6Y77qKb9IOOfNlhIhP1Usy1dOBcxjsy4f9ap57X7JpHPnR3IG3tm8WPzz4gunohf0GPd 2Shw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717758997; x=1718363797; 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=ZCIivZNN3rCHD+3zTo5WNw1BcCcg1yYezi0glBZ/oGc=; b=nNOIrUh2duka3TWxbQZltLe8JwmSGDITbZ0wyBwCyDkudm78Nz5r3qbsyEIjZuJx8C OD/lWiIqBUJ0BpNczADRYRh3kgoYwCKeyx5xyv+PGmmbqCxJCO5x8sIg2ugo8/OSn/kh 13ztESV4rzV6NcLXwSwL0uGZayZadSs41iFJlZpj1/1/cVJOQ6oflZPAG38B64K0KRuM Ej1lbRkX9Xon0g9OtCyxNgSFj8cQQajd7z1d6WweY4b1fe1Lnq2Lv/vGmmtamN4KR8Oe NnBDWcf9vsYvk1lTEtqJZFhWRwP6ZFQmES4Xm0MqeKWkALMbkLLJZUbSHs299qhhMPsV +NsQ== X-Forwarded-Encrypted: i=1; AJvYcCV6Q6KtR1sB7audZhTuJrVllAbf2jEtO9wcOmuU5B6SZm18t6u8dC2hayme8uYdGkFsTvSkg6lrTNuj3kc= X-Gm-Message-State: AOJu0YwOx6bEU+CiX3LbfhHR8L/CU0wKrCJk4LpbbLTnVQ0BuPfU743e f1r0eo8iDNjB3Jf8v21p3V5kNr2gjUkdBmRo4VeCJDfCefA4jQhQr5GMw3AtgmBZfKP3pEnX5L4 TKBY= X-Google-Smtp-Source: AGHT+IFaaYwAZvMoF/0ukECa7WNDY8kzi6kV798ILVb+BDZlu18ZOsvn+ksxgD9D3xztvyHpLeu4ZQ== X-Received: by 2002:a17:906:4544:b0:a68:ca3a:868c with SMTP id a640c23a62f3a-a6cdb9dbcf1mr145215166b.65.1717758997408; Fri, 07 Jun 2024 04:16:37 -0700 (PDT) Received: from [192.168.1.113] ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c805ca377sm230537866b.60.2024.06.07.04.16.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jun 2024 04:16:36 -0700 (PDT) Message-ID: <18dcc288-58d2-4632-a1c0-3e7196162ddf@pantheon.tech> Date: Fri, 7 Jun 2024 13:16:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 4/5] dts: add `show port info` command to TestPmdShell 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-5-luca.vizzarro@arm.com> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240606213420.254260-5-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: > Add a new TestPmdPort data structure to represent the output > returned by `show port info`, which is implemented as part of > TestPmdShell. > > The TestPmdPort data structure and its derived classes are modelled > based on the relevant testpmd source code. > > This implementation makes extensive use of regular expressions, which > all parse individually. The rationale behind this is to lower the risk > of the testpmd output changing as part of development. Therefore > minimising breakage. > > Bugzilla ID: 1407 > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek Reviewed-by: Juraj Linkeš