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 B35D346247; Mon, 17 Feb 2025 11:26:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45425400D6; Mon, 17 Feb 2025 11:26:26 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 11432400D5 for ; Mon, 17 Feb 2025 11:26:24 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 73F22175D; Mon, 17 Feb 2025 02:26:43 -0800 (PST) Received: from [10.57.11.32] (unknown [10.57.11.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 677D03F6A8; Mon, 17 Feb 2025 02:26:23 -0800 (PST) Message-ID: <1e3962f9-65f4-414c-8270-f665b06ae52e@arm.com> Date: Mon, 17 Feb 2025 10:26:21 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/7] dts: revamp runtime internals Content-Language: en-GB To: Nicholas Pratte Cc: dev@dpdk.org, Dean Marx , Paul Szczepanek , Patrick Robb References: <20250203151613.2436570-1-luca.vizzarro@arm.com> <20250212164600.23759-1-luca.vizzarro@arm.com> <20250212164600.23759-7-luca.vizzarro@arm.com> From: Luca Vizzarro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 14/02/2025 18:54, Nicholas Pratte wrote: > This definitely cleans things up a lot! > > Reviewed-by: Nicholas Pratte > > >> @@ -217,9 +218,7 @@ def get_supported_capabilities( >> ) >> if cls.capabilities_to_check: >> capabilities_to_check_map = cls._get_decorated_capabilities_map() >> - with TestPmdShell( >> - sut_node, privileged=True, disable_device_start=True >> - ) as testpmd_shell: >> + with TestPmdShell() as testpmd_shell: > > This is probably a needless concern, but should this change > technically be in the last patch in order for it to stand on its own? > Not sure if that really matters or not, but figured I'd bring it up. No, not really, because the API change happens here. I removed privileged because it's redundant, and disabled_device_start as it seemed problematic for some things. We should handle commands stop the ports with @require_stopped_ports, so that we have a consistent execution. This is how I discovered the problem with the Mellanox and the MTU setting.