Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp377713lql; Mon, 11 Mar 2024 05:44:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUxP0+SEPDmnMblG5KYGYJkb1nGXHG1oF7c79k0ja8oJHiifVEh/aImauroBCZFOTP/0r4PXbOdrbL2snk54/NuXsKryg9EP2N/nJ3Kw== X-Google-Smtp-Source: AGHT+IFnghPjZlUNBO8KpuE3h3I85pMy2Gw925k1X5opqsOnNl90465KN+AzuY684ExHBKjmA8j0 X-Received: by 2002:a50:d753:0:b0:567:18b7:2dce with SMTP id i19-20020a50d753000000b0056718b72dcemr4619109edj.35.1710161042648; Mon, 11 Mar 2024 05:44:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710161042; cv=pass; d=google.com; s=arc-20160816; b=pX+fhhvVfiwekO3PNuhDjkUFOrhebCj6PaKK1y6M67RYixrnQx7wGkdPKDEf3dKW3q 4toBqN/b3bmywi6VBiY2BlZpKY+XDZh4b0MOp5KBUGeC58oDFnoVJAE8TDg605wDlx92 uCfmTHtENkfXSM2/ZVDgePKxITr3RiiYKMVHESlpak41ARuKG/u1NG8neeTzTbiBnZQA XL3Vqc0iNRGYngck3YDijTz5iUEj3+cg/NXZanrDiup4MzClcXJaboQBK7v6bz/Zs8t5 sfaz6BAzfrOge8ubYDD/jkhtPigzkpuYPg5+nJV5giMy7ZlajjltrovULB9eirOKHk9w M4IQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=3WdRllC+4lLlADIaPY8taan0DZL+h6QiAMhVTksEvUA=; fh=d65bU3z5tjJdG/v7mMhOuKCFjjh6t26zAzFVv6X5A6U=; b=FJXhB3Nvj3N+dEWtbU3qQnU09psFTRdn71AUkQ6Qu4biniMm5mnvfSZ2Blf5zcYRF/ TAmMH8GWVzTa3R1rtRvM+etTuKTGFeqeexCxCXl1NNesp6OA0feY9e3wSW1fH4pYgaRR KmZKRY92mPHKbWSzTSZYKDjOftqUHHo0PT0ev7+tmvaEmQ8HlhMQm15uSWdgyQeQciiz z4QdqEpIFTtYGFPS/z3gKD3AOsDKoRUCKDy9JsSohNy5CV/exVyfkPBb3h4/qVL+vKGY bvTefQ8p7+nxLCc3go0DdgIyfph78CqUUwM9KoBQ+HyJcOIFx3bxtDVDvHNL/NuX1Vcv m28A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pR9xddsE; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-98839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g22-20020a056402181600b005664cabfc8esi2422768edy.463.2024.03.11.05.44.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 05:44:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pR9xddsE; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-98839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 192D11F2307E for ; Mon, 11 Mar 2024 12:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 409E23D556; Mon, 11 Mar 2024 12:43:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="pR9xddsE" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 727253D541; Mon, 11 Mar 2024 12:43:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710161026; cv=none; b=Nsn6j/MmsJJEeMwPxnEccJFUk2UHULgDpXQ8mJxhJcRwvVhHKb0387DViEBZi2boUuCMKz+obXQIOkqgHw3H0YTrYfzY2Q8q6BldmmXDmJcKwhpUjC4kP5qeG+xlvtYsrIDHxTmfC7djUiD6TTXhxgmzxnfUpku+EyB/2DF4LNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710161026; c=relaxed/simple; bh=l3XxywG8Cph4XjI3vmwj8Au25JbGx2DDWeWBRs+Lg0A=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pAOZKz3FmrNVuFjC/Wwt8CAaWbPRYgjHRJowm/4Om7bEUHrKZuDlSM8fUCZFbZpW/JxtkTemKtjWd608o9XQpMuchCzTiL7gl2N4ugNxnLBMeTWVw8MR7/zChQMoSdz9a/sov9XcIV0LgFGaT6lTVYguYtdVNJkxWPI1tLmBJdo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=pR9xddsE; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 6180E20007; Mon, 11 Mar 2024 12:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1710161021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3WdRllC+4lLlADIaPY8taan0DZL+h6QiAMhVTksEvUA=; b=pR9xddsEaAhrWr7HX2foEtMafnRuunLnZwstY9CJNFHHVV+AIqluUEE0zo9Vl2XptMnPbh fYUQbrDmbvr0ZHC/kyl8SSYwymz1w+BvH1wXZfyljihIRaGeIm7T0CDZongzNz/sBn+SRH fmcRwS6Z/lYxVHcNZsq/QE7Cv9mNEg1XsTg3+x3bSNr2nm5sTraSBHRyHGV5zG1tz2S2O+ kbW/H6OsQF5JeMQ0A7bbjKanWp+FGTNc5FzqOy4mRICJqndht4LC56Y5bA+7QmrxhxcyRN inJXTMulNRZ8rzCynhSaJ9qzKxq2M13RYfJLjONqZNIqyTo9RrN3XhbLx+t05A== Date: Mon, 11 Mar 2024 13:43:38 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Rahul Rameshbabu Cc: ahmed.zaki@intel.com, aleksander.lobakin@intel.com, alexandre.torgue@foss.st.com, andrew@lunn.ch, corbet@lwn.net, davem@davemloft.net, dtatulea@nvidia.com, edumazet@google.com, gal@nvidia.com, hkallweit1@gmail.com, jacob.e.keller@intel.com, jiri@resnulli.us, joabreu@synopsys.com, justinstitt@google.com, kuba@kernel.org, leon@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, liuhangbin@gmail.com, maxime.chevallier@bootlin.com, netdev@vger.kernel.org, pabeni@redhat.com, paul.greenwalt@intel.com, przemyslaw.kitszel@intel.com, rdunlap@infradead.org, richardcochran@gmail.com, saeed@kernel.org, tariqt@nvidia.com, vadim.fedorenko@linux.dev, vladimir.oltean@nxp.com, wojciech.drewek@intel.com Subject: Re: [PATCH RFC v2 5/6] tools: ynl: ethtool.py: Make tool invokable from any CWD Message-ID: <20240311134338.1dadbf7e@kmaincent-XPS-13-7390> In-Reply-To: <20240309084440.299358-6-rrameshbabu@nvidia.com> References: <20240223192658.45893-1-rrameshbabu@nvidia.com> <20240309084440.299358-1-rrameshbabu@nvidia.com> <20240309084440.299358-6-rrameshbabu@nvidia.com> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Sat, 9 Mar 2024 00:44:39 -0800 Rahul Rameshbabu wrote: > ethtool.py depends on yml files in a specific location of the linux kernel > tree. Using relative lookup for those files means that ethtool.py would > need to be run under tools/net/ynl/. Lookup needed yml files without > depending on the current working directory that ethtool.py is invoked fro= m. >=20 > Signed-off-by: Rahul Rameshbabu You should send this patch standalone as it has no relevance to the series subject. --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com