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 E5DCA43BCF; Fri, 1 Mar 2024 19:00:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D600F42D68; Fri, 1 Mar 2024 19:00:39 +0100 (CET) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 5C902402B8 for ; Fri, 1 Mar 2024 19:00:38 +0100 (CET) Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-29954bb87b4so1783664a91.2 for ; Fri, 01 Mar 2024 10:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709316037; x=1709920837; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ACYOri25IBsNr/bqXLoY9uSX77lPSDcNUkh743wfpss=; b=erPzZr3rnlTFRpmBwhclJoROuUBiXETtE7ynfhnOjWxiB53fYdChUPEszu/zCZ5VyV /zjhRVfhAT7LC8d01nhAC09Pggntb0xCtA1uA+wzNTuv3F4xw7VbhR88k+c+MctrsmVF ep8/Wiv8wumcZHwfY9meoh1C3vv516rwb/V2qc3IOebtOSanhXo3YuPejms5tou7rZSi e8dlmbPdVqbG/Uc9l5f0JqEOJOI/T/APzMg+t0LBhOr6eYZb8SkWLztAym0PyVMVXbsG 4QZjHc1gwmy1JeOmykueBUpKgs3bSKiBH6qSAyBYG9Bop0FeHg3zTSg3T5n0Yom12ivf sWOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709316037; x=1709920837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ACYOri25IBsNr/bqXLoY9uSX77lPSDcNUkh743wfpss=; b=pfoes3vkP9aSB9vn/TlpkWYDkVMuFaAnNDRA6r2SBKQAKLW3wLHzUCiJhg0y355U+g UMP/GUFFAytnhs29Lf9TOduvXzfOW1Mx92lH4qwlGF+k6eUjqGANJZ+6jk4RBgqvmFi8 F7FLWB3C5HcJlFIccdvSSARtxEzmbUMyOHyVZ3n66eyjf6bC4XY/Ej7hJ7NxgJhBCH+b cfN9teX+B5uOvfmR9zfBYiR0yaNwAoFVkJu6Baw2Dv/UgDsRtwHlua1Z1uhPLrQHl1Gt faXKIzDJlhSVihOE18Tmip7LzUtUEaKrXKBmTIsE0cEEoJMsyWNxCtzYswAweOBpeuHQ n1DA== X-Forwarded-Encrypted: i=1; AJvYcCU9jNaCd2GhChLxsHaZt6ujua9E8S8LBb+rQPPgPgA26NAwyRHze95jznU/ks/Wdkg/KkkO5Gjs0j7PEoU= X-Gm-Message-State: AOJu0YyE0iZFGkSh1puXBOTDzKTVZyzO7sch+106TTEcpwftQYjm3rNs pdctKVeXIsI2I8fjdZEaRXC+w1x0tbNB7Fqs/Mk3JQHF129hpivzVULDnQ/GME0= X-Google-Smtp-Source: AGHT+IG6wS4S8BjSEBmbG8KlgNHUyXwW+KyLzWFjsoKlJ3Ydv4E8HJ6swFhoU0UjrQIzI/7TIVxVTA== X-Received: by 2002:a17:90a:8a87:b0:299:389e:b611 with SMTP id x7-20020a17090a8a8700b00299389eb611mr1987595pjn.47.1709316037550; Fri, 01 Mar 2024 10:00:37 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id l22-20020a17090b079600b0029a8e5355fcsm3500218pjz.53.2024.03.01.10.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 10:00:37 -0800 (PST) Date: Fri, 1 Mar 2024 10:00:35 -0800 From: Stephen Hemminger To: Thomas Monjalon Cc: Ferruh Yigit , dev@dpdk.org, Andrew Rybchenko Subject: Re: [PATCH v2] ethdev: add Linux ethtool link mode conversion Message-ID: <20240301100035.1da49a5c@hermes.local> In-Reply-To: <1743963.yIU609i1g2@thomas> References: <20240229123653.1379466-1-thomas@monjalon.net> <3271586.N7aMVyhfb1@thomas> <14dcf7c4-2e9d-459e-b701-5f26ab4174a1@amd.com> <1743963.yIU609i1g2@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 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?