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 73E3943DED; Wed, 3 Apr 2024 16:48:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC5FF40272; Wed, 3 Apr 2024 16:48:25 +0200 (CEST) Received: from fout2-smtp.messagingengine.com (fout2-smtp.messagingengine.com [103.168.172.145]) by mails.dpdk.org (Postfix) with ESMTP id EB3104025C for ; Wed, 3 Apr 2024 16:48:24 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 296D01380081; Wed, 3 Apr 2024 10:48:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 03 Apr 2024 10:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1712155704; x=1712242104; bh=nC1V84YPUEuZvMFWIR8B80mUHPiCU41cy+VikS7zcQE=; b= f97pRMdeEVQ/nWJB31wHImR3JiZp/Yy+GQu+AZglrr1kzTyCPD2F6gl8g+B7R+K9 819KqZweRJ5aVdwLfflJV/BpzQnUfzaVvdcON+rCowu/hiKkGrGDFQKQB6Srb3Rb cLNybxxQVXHPOOTeOT0jOt+jHKRA05oF1jJ7NzZEsSyjCqIu2SAC9W/XU/h/e1pe 4bfs3qrLFsFZu9ae5oRgIVpETrpFOntcrNQOUqLwWxRmqPW/2mIXKlqKRaRKEfMM lFXl0oJKiK5yL3i5MWQJYoMH7qyiqpOQiFO5Nk2XIrsfR/V5yQ4NbQwoW2rtWdKG JX2N2+FsaK/Mvr3V3/3Alg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712155704; x= 1712242104; bh=nC1V84YPUEuZvMFWIR8B80mUHPiCU41cy+VikS7zcQE=; b=h kQoWSFHCPObUhy5qrJ62zHLP/fnWi3KKU4h2xCUTZmSp95Wl5x036dT7pTSkDhrm LbiisaEJkbGmEFuJyEywdBpfZeNUMe/q3pDXOsE6aPZVQAoyroE4GFunwaMoFP2x gBtpVSE3M5xBr60AxzlBxZpvEeDJ3hG3RxWavYbyZliN/TXqJDhFMIST0niWqupa Kyo3zR73lxWX2jFuLqbbm10OY8ocX+iuMVH5NofVX/S4knSWK96pasHhUPb4zrPl PkeMspWmT8dg95rtAZteHGwOCyP1nUPZ90HThpXA/0gomAKL5QNAkD84UCUBq0OL 4z8yFzGt4HP1RQcIvi74Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeekueevjeffjeegtdeggeek gfdvuefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Apr 2024 10:48:22 -0400 (EDT) From: Thomas Monjalon To: Marek Pazdan Cc: Ferruh Yigit , Andrew Rybchenko , dev@dpdk.org Subject: Re: [PATCH] lib: add get/set link settings interface Date: Wed, 03 Apr 2024 16:48:19 +0200 Message-ID: <1924573.MyG8hOvIyE@thomas> In-Reply-To: <20240403135953.7209-1-mpazdan@arista.com> References: <20240326235909.25276-1-mpazdan@arista.com> <20240403135953.7209-1-mpazdan@arista.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 03/04/2024 15:59, Marek Pazdan: > There are link settings parameters available from PMD drivers level > which are currently not exposed to the user via consistent interface. > When interface is available for system level those information can > be acquired with 'ethtool DEVNAME' (ioctl: ETHTOOL_SLINKSETTINGS/ > ETHTOOL_GLINKSETTINGS). There are use cases where > physical interface is passthrough to dpdk driver and is not available > from system level. Information provided by ioctl carries information > useful for link auto negotiation settings among others. Which information is missing exactly? Why are you trying to mimic ethtool API? Please let's add what is missing instead of adding a full new API.