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 325A545945; Mon, 9 Sep 2024 17:51:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FA5A4025A; Mon, 9 Sep 2024 17:51:13 +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 513DA4014F for ; Mon, 9 Sep 2024 17:51:11 +0200 (CEST) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a8d2daa2262so199420966b.1 for ; Mon, 09 Sep 2024 08:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1725897071; x=1726501871; 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=WTsR7/oJ+JA4nCAjv8eFTAv17CvfpIkujSsvjCzkplE=; b=GBu+A1wfaTKHdLhAd+BPfmVIUS65uAXMyB1v0+C/DUnJbg0/kZTAi5Ger0JeciwYdP RMyuTYVDRXIuyr+iTcFQ8eNcw5RIYr1PXamnBcGRfzLcya9nA2P4oo86EsOI/Kq9LSIf ezqLvj79oJCiJY4wh0R/LrrpuacYxc92AtYgqm8PcFdlf1JK36FA1mVOxVff1VIx73G0 X2ohfxxA8X/F31JmVYU4iq7oPac2y6JGg1gmKopgBsJtOTdnZ/NWUh7SkQyYnJZkUDkI 2CZsUUc3TmXou9H8pq8lxYzANf8DVuf6z12LwFtN/IYXlHhvdTjasG9vt/QS30WfUDbp g+Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725897071; x=1726501871; 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=WTsR7/oJ+JA4nCAjv8eFTAv17CvfpIkujSsvjCzkplE=; b=YvMcqp8l8SL+33RcM4/sPNYWl0YLU3nG8iIp5bxHdu9DFR9KHlH8qgBKQv3NswZh8w ENNB90yJGXiVLq6Kj+RKTrnbhRXn5nMIdfUm4VBP699ytdNJ+8cc74/3PpOP+iVwThuJ m9BA+T+Agh15EoOImeAqxd/wH89FpBO8y/wDZAmVg0tZNvrXYONLEfkNctgvDYB8M3cJ 6XaHAuK0zMmZCzAqeJOJgvGjSyo0IPA/s8MxvvPlBSUSdLrZr3aKRSQ+U3XfTNOvP0iM 8bcyNUsvkkq4p0eheAU9whLEWgwP+n8fFNkri51B/Uf9Omb3+e0hcLQGbD0oc8uiapoK 5wzA== X-Gm-Message-State: AOJu0Yyqy7AQWPDtXkbYRAKtFFZ135MRtpIWCAQesARV0iBSgzttdmov E4rX8UBuA6HgqRbUOlUXmlRELOUGffx4kzNjK2A7pzd5au8AsRhOBN/2Qr2wT7g= X-Google-Smtp-Source: AGHT+IGK7N8y4ZeUh3seoXIwyCEZiC/y+vZMwROtwJZycHlKqwsM06IEncmT8g4BBSVIgINlylLpkw== X-Received: by 2002:a17:907:97d2:b0:a8d:5472:b56c with SMTP id a640c23a62f3a-a8d5472bbf6mr327177966b.22.1725897070762; Mon, 09 Sep 2024 08:51:10 -0700 (PDT) Received: from [192.168.200.22] ([84.245.121.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25d65396sm357532666b.217.2024.09.09.08.51.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Sep 2024 08:51:10 -0700 (PDT) Message-ID: Date: Mon, 9 Sep 2024 17:51:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] dts: fix testpmd port device error handling mode To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, alex.chapman@arm.com, probb@iol.unh.edu, jspewock@iol.unh.edu, npratte@iol.unh.edu, dmarx@iol.unh.edu Cc: dev@dpdk.org References: <20240823074553.15815-1-juraj.linkes@pantheon.tech> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240823074553.15815-1-juraj.linkes@pantheon.tech> 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 Applied to next-dts, thanks. On 23. 8. 2024 9:45, Juraj Linkeš wrote: > Make device_error_handling_mode of testpmd port optional as it may not > be present, e.g. in VM ports. > > Fixes: 61d5bc9bf974 ("dts: add port info command to testpmd shell") > > Signed-off-by: Juraj Linkeš > --- > dts/framework/remote_session/testpmd_shell.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py > index 43e9f56517..c3df44e7ab 100644 > --- a/dts/framework/remote_session/testpmd_shell.py > +++ b/dts/framework/remote_session/testpmd_shell.py > @@ -464,8 +464,8 @@ class TestPmdPort(TextParser): > metadata=DeviceCapabilitiesFlag.make_parser(), > ) > #: > - device_error_handling_mode: DeviceErrorHandlingMode = field( > - metadata=DeviceErrorHandlingMode.make_parser() > + device_error_handling_mode: DeviceErrorHandlingMode | None = field( > + default=None, metadata=DeviceErrorHandlingMode.make_parser() > ) > #: > device_private_info: str | None = field(