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 336E943BFE; Sun, 3 Mar 2024 10:36:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFC1E402F0; Sun, 3 Mar 2024 10:36:21 +0100 (CET) Received: from fout3-smtp.messagingengine.com (fout3-smtp.messagingengine.com [103.168.172.146]) by mails.dpdk.org (Postfix) with ESMTP id 25B7F402F0 for ; Sun, 3 Mar 2024 10:36:20 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id E0E0313800AF; Sun, 3 Mar 2024 04:36:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 03 Mar 2024 04:36:18 -0500 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=fm1; t=1709458578; x=1709544978; bh=dAY/rG70NF2Zlgxv7RtgBDyrlBW59LG5+3MzKtOhet0=; b= oFJFfnhEqMc5VRhLnFo34BGwLcbeQVb9mFGytumyaZF5Zi0o8lkN5tHdF587bPtH Qyoy3yK6WRkcmgmTLmsE8cy/ewKzl+96/16/2jC+DRxnL2JyKQoEcCuUZ9CTlY8M qfEewYLJBfvNn200weaeqcVjn9nhDjOoW12GAiORtloITr6xzGKKbFu82dQKs0Zg aeDMoq+FrS0CJrJ3xvxQsyblsEa+t6UXTC0IMZ12+6j9zutLMTd7vECzkSjUUVeJ 0tvCdVXn0J+w5j/rLOecA+qlT7gxWZY/180xSuF0daDhUQ/ZkIIGDamYQqxb9ryx mFNZYt5IEIiTDIhGAmd3Xg== 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=fm1; t=1709458578; x= 1709544978; bh=dAY/rG70NF2Zlgxv7RtgBDyrlBW59LG5+3MzKtOhet0=; b=I gsmkkb8C15csgNqQFZkf4FyV4qrft8+zabP8cEvj4OWuh2V5FiNGua1gzO5IIjIB C9MkoIO0C4p9bzWuBAVHSt9LKuhPLbULt+UZct6dTr1B7OXs8LCRnPxHprDOsXb3 6qpbx7LorZLZ+myn0kmmwxwPVmnLEaUpU90yXmzb9kD4cF7stUBhVyQzEGWEW7HX PJc/3Qq8aip5+nLtFbuVHE+28L+MGJq8S5JQ7hfi/B+AHt8bK4U7VfiGGnJut6K+ ABznIKtJkUlkkN+k9bl7lTML8bx8OzfgvrzU+6TetyflaV4bnVHzu4tt4Ft/lQBQ lDgXQWQO1J1ce2uqCgGWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheehgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Mar 2024 04:36:17 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: Ferruh Yigit , dev@dpdk.org, Andrew Rybchenko Subject: Re: [PATCH v2] ethdev: add Linux ethtool link mode conversion Date: Sun, 03 Mar 2024 10:36:12 +0100 Message-ID: <1959228.fIoEIV5pvu@thomas> In-Reply-To: <20240301100035.1da49a5c@hermes.local> References: <20240229123653.1379466-1-thomas@monjalon.net> <1743963.yIU609i1g2@thomas> <20240301100035.1da49a5c@hermes.local> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 01/03/2024 19:00, Stephen Hemminger: > On Fri, 01 Mar 2024 16:20:56 +0100 > Thomas Monjalon wrote: > > > > > > > > > The use case is to get capabilities from the kernel driver via ethtool ioctl. > > > > > > > > > > Sure, as it is adding kernel ethtool conversion, DPDK driver will get > > > link from kernel driver, thanks for clarification. > > > > Yes the PMD uses ethtool API to get device capabilies. > > Is this the old ioctl interface, or the new (and preferred) ethtool over > netlink API? mlx5 is using ioctl commands ETHTOOL_GSET and ETHTOOL_GLINKSETTINGS