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 445804594A; Mon, 9 Sep 2024 14:16:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB2F8402BB; Mon, 9 Sep 2024 14:16:08 +0200 (CEST) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mails.dpdk.org (Postfix) with ESMTP id EEB5D40299 for ; Mon, 9 Sep 2024 14:16:06 +0200 (CEST) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5becfd14353so3995209a12.1 for ; Mon, 09 Sep 2024 05:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1725884166; x=1726488966; 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=vSUewR+cQyc+l+BIkq0cV2FyHZ073zdH5ORs4LEoJKQ=; b=cjSBPH9yROwkj/s75LYRHo9wbceV11ex/3QmpMmL9QiZd6FWBOjf4jKhRIHCOWnOF4 hCUBWBQ1mORWbqkzq/uEstuX0T5EYYHarT1XsCxhLPqmur6oHleiPYSXpPAHt6oI4QK9 J50Ju3nfFW3t1fKqrTRKW0Ok2IpeBpT5RiX0GdxuRnEHHUslrdKwAnkGdSKxAGpiG43A eXIi2aJc9zn/uyRPR5DANT2+EhrFCM3yTJaU5ZlU5aBzsobgGzqoQuKUilYyN72Px8Xe 55y6oD8yYoqDu55b7A8sMUYJqIvIA3VRD+4eaxrw+eQIAffwZfRpYu838a4iBXnS+HeR G/vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725884166; x=1726488966; 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=vSUewR+cQyc+l+BIkq0cV2FyHZ073zdH5ORs4LEoJKQ=; b=rRTEt6E88JCojn/5pVo2kb5VXKvG0KdJw1wnLyMSY8GjGzs4Zg9fe6N73iXXU9Xza8 48nNAc04Dot3g3NufH/XugsOIXdFKGawnoH/ocQjS3SvGNe2yOQnZd5D+jM9wcD3fNjX awc6hFIO3NZvgfXnOC6CyrknSaDs9YLn3l+PIfFOTlJooSGz044mzN6folWiHLOUP6U+ ppwGKqkymiPzjwEOuQ7bHHwa20v7X2NqiN6u3wau0KSCjk3qqBzsQab5/QGoVNng6YOU 7eJDqKFWMhj8Lu+y9JubhMnti+Xr9HE0/AsBMQQBQMS10CtQJ6f8DReC0qBz9uD27R8e Ue6w== X-Gm-Message-State: AOJu0YzXpttug9k5UH/eJgM/vMruS/N7IfWH/ESDc+r4FcvPHoCAQaTo u7rKEWA3fZZmYJdMap7OP6nebJcP7u9uBG0qGatvAmIsSxoDI+nhELdShlQfuvQ= X-Google-Smtp-Source: AGHT+IH88DmErOcOC3PA0cRCW5V49pfscZzriN7JHEQgYeTqINo8HjEe9kZQLbvRgAI4aseHL5hdPw== X-Received: by 2002:a17:907:3d92:b0:a86:799d:f8d1 with SMTP id a640c23a62f3a-a8d248a5bf8mr609197766b.47.1725884166364; Mon, 09 Sep 2024 05:16:06 -0700 (PDT) Received: from [192.168.200.22] ([84.245.121.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25d5dc97sm334167666b.212.2024.09.09.05.16.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Sep 2024 05:16:06 -0700 (PDT) Message-ID: Date: Mon, 9 Sep 2024 14:16:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] dts: add binding to different drivers to TG node To: jspewock@iol.unh.edu, alex.chapman@arm.com, Luca.Vizzarro@arm.com, wathsala.vithanage@arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com, npratte@iol.unh.edu, thomas@monjalon.net, yoan.picchi@foss.arm.com, probb@iol.unh.edu Cc: dev@dpdk.org References: <20240812172251.41131-1-jspewock@iol.unh.edu> <20240812172251.41131-2-jspewock@iol.unh.edu> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240812172251.41131-2-jspewock@iol.unh.edu> 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 12. 8. 2024 19:22, jspewock@iol.unh.edu wrote: > From: Jeremy Spewock > > The DTS framework in its current state supports binding ports to > different drivers on the SUT node but not the TG node. The TG node > already has the information that it needs about the different drivers > that it has available in the configuration file, but it did not > previously have access to the devbind script, so it did not use that > information for anything. > > This patch moves the steps to copy the DPDK tarball into the node class > rather than the SUT node class, and calls this function on the TG node > as well as the SUT. It also moves the driver binding step into the Node > class and triggers the same pattern of binding to ports that existed on > the SUT on the TG. > This is a very inefficient way to do this. We'll have to build DPDK twice and that's very time consuming. I was thinking in terms of just copying the script to the TG node and storing its location on the TG node. We should have access to the script whether DTS is run from the repository or a tarball.