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 5701F45C0A; Tue, 29 Oct 2024 12:43:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB1F24014F; Tue, 29 Oct 2024 12:43:06 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 9EAA640144 for ; Tue, 29 Oct 2024 12:43:05 +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 8199313D5; Tue, 29 Oct 2024 04:43:34 -0700 (PDT) Received: from [10.57.58.134] (unknown [10.57.58.134]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC9FB3F73B; Tue, 29 Oct 2024 04:43:03 -0700 (PDT) Message-ID: Date: Tue, 29 Oct 2024 11:43:00 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/7] dts: add support for externally compiled DPDK Content-Language: en-GB To: Dean Marx Cc: dev@dpdk.org, Paul Szczepanek , Patrick Robb , =?UTF-8?B?VG9tw6HFoSDEjnVyb3ZlYw==?= References: <20240930160204.19582-1-tomas.durovec@pantheon.tech> <20241021134935.1210500-1-luca.vizzarro@arm.com> <20241021134935.1210500-6-luca.vizzarro@arm.com> From: Luca Vizzarro In-Reply-To: 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 25/10/2024 19:29, Dean Marx wrote: > Just wondering, if the user wants to run DTS using the configuration > yaml file or the environment variables instead of the command line args, > are they supposed to run main.py by itself after setup? Because right > now, it won't run without the --tarball or --dpdk-tree args, even if > it's specified in the config file. It seems like it just ignores > whatever was specified in the command line if it's specified in the yaml > file, but won't execute without the command line args either. Hi Dean, If I understood your query correctly, I can't seem to replicate your issue, and I need some steps so that I fully understand. My configuration file is set as: dpdk_build: dpdk_tree: /home/luca/dpdk remote: true precompiled_build_dir: build and running: ./main.py --config-file my-conf.yaml works just as expected. It re-uses my pre-build DPDK repository on my SUT node. We tried every setup: (tree, tarball)*(local, remote)*(precompiled, build_options) and we were able to get it to work without issue. In case I misunderstood your problem I just attempted to call: (cd ../ && git archive --format=tar.gz -o dts/dpdk-HEAD.tar.gz \ --prefix dpdk-HEAD/ HEAD) ./main.py --config-file my-conf.yaml --tarball dpdk.tar.gz and as expected it failed because my configuration was assuming a precompiled build dir in my tarball, but it copied and extracted the tarball on the remote correctly. Changing from precompiled to build, made it fully work. Looking forward to hearing back from you. Best, Luca