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 315F045830; Wed, 21 Aug 2024 16:53:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B45F0410DF; Wed, 21 Aug 2024 16:53:20 +0200 (CEST) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mails.dpdk.org (Postfix) with ESMTP id 89D7D4003C for ; Wed, 21 Aug 2024 16:53:19 +0200 (CEST) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a80eab3945eso693544666b.1 for ; Wed, 21 Aug 2024 07:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1724251999; x=1724856799; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bCLp+AlnSzegj0a7lHUmvftrvl+gfkJ5N6jHY03IdbE=; b=dO+bOiq7NvqaHULAf3k61n3GExDxTjBjD3qTwpyVB90uTo09LPnTUp1eHktL6g8VeX jHeH1hh4Az1UbNRwP8exBf0JKZCkIvHyqaJUtjO8DbtSaTkzCBMAXHcuGecXkU49QpvG yBWmPh2RI/XhGdEdRuvg+S0M+RJEb4cBNYWYMPb4Ec9lvnSumilcsLCS+MYS+9igeEHz qd48yc+3O26ZDh8oeFaeoMqqtqEyWzFu5ayvv1CWvvW4lOT/OJSKQW5lOsn58qC0nsvl dMOs37q+sgy7ei3wtEsW+IrV5Teh+yZ3dRSEZhDSxVGvSzlf1mDWHLXm7/n+6M7sZ87Y XC0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724251999; x=1724856799; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bCLp+AlnSzegj0a7lHUmvftrvl+gfkJ5N6jHY03IdbE=; b=mwXO0mhDb3pe4+HUg0T90pjrdaI3CiXevg5vkGytP5R+XBwnZyy6wL4eBjcS8e6zmJ M7cBR4ZysMAyTKiiB7/kf7g+dzLLxTQgcJUgrMOLMZjr4f6UsAmxFEN2pa7peaOxaXrI M4S1M2t7CHAYvYJHgnO7+FgpLtQQ3CGBdhT831rPrUbGUu/B68I+j6dIrQEQCsbI+lVO yduCuWJd+vl3+/KNNiRATvdM0yKh4q7A37EScYydSQTUW8H0XIUZcMOottXs2O8/YO76 g9wbOLNwTfGSZDrKkEb8a64zhrLPxyS7UCthZRxxmXaUIk0fyyHEXqopkvc7bIJl8cdg ELxA== X-Gm-Message-State: AOJu0Yz7F3d+AlxUbXDBFVW9mTi74r4fzMBkFFlQJuCboEyp3WFsB2kL E54jJBQm++FTedovFTq7ZE/R9wmGMQV4N6hDLQ2m+zvXGwuSqVhBUhFjkTkDqn0= X-Google-Smtp-Source: AGHT+IHGCWCVb5N0ba1ZD1df/dz/lwsJ1fllVi0u/MymFmkpwt/Sm2SbCeQBaV6l7ZiqoVm+3YwSpg== X-Received: by 2002:a17:907:9491:b0:a7a:b643:654f with SMTP id a640c23a62f3a-a866f2d6256mr176088666b.15.1724251998846; Wed, 21 Aug 2024 07:53:18 -0700 (PDT) Received: from localhost.localdomain ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8680c4725csm52434866b.91.2024.08.21.07.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 07:53:18 -0700 (PDT) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu, probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, npratte@iol.unh.edu, dmarx@iol.unh.edu, alex.chapman@arm.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v3 01/12] dts: fix default device error handling mode Date: Wed, 21 Aug 2024 16:53:04 +0200 Message-Id: <20240821145315.97974-2-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821145315.97974-1-juraj.linkes@pantheon.tech> References: <20240301155416.96960-1-juraj.linkes@pantheon.tech> <20240821145315.97974-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 The device_error_handling_mode of testpmd port 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 a5347b07dc..b4ad253020 100644 --- a/dts/framework/remote_session/testpmd_shell.py +++ b/dts/framework/remote_session/testpmd_shell.py @@ -465,8 +465,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( -- 2.34.1