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 F380C43DEE; Wed, 3 Apr 2024 19:23:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C17FB4025D; Wed, 3 Apr 2024 19:23:06 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 2B8FD4025C for ; Wed, 3 Apr 2024 19:23:05 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6eae2b57ff2so15272b3a.2 for ; Wed, 03 Apr 2024 10:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712164984; x=1712769784; 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=TqCjlp52gTOkl8gFIsFBAsCxql5EYIhTsAf/zeuhxeA=; b=F3VnV4/U2saoaXXLLP28m8f+s9L7akOXZWg6U0+WxFZCqzkYpbTTnH3c0U3gRw/ZSs 3m64PORcKd1jkbWtTzWJUyARzXdSa1PigDxDxxTzL4J9kRmZzf+GYYfg8SDKwc22WwfF ENRJseSllN8XOHLm5A0fQcdyy9sgVuJ8YRaVJ+yd16li9P81aNhRa0YdJq6eRWfpA4ji T2c6C3dPxThyMRmuQIR+Ivu92BUNIYtC/6c3SppMhoap0BY0U0q8BcVQBlpcZ7XYyCLh pv9U1+DrM34mHWc/6CYKG/NCNuFmYNhXLypKc4IxtKk6kgOncS2IOyqFqqpJlsNNC5T6 g7nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712164984; x=1712769784; 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=TqCjlp52gTOkl8gFIsFBAsCxql5EYIhTsAf/zeuhxeA=; b=Ssg0fKreWcbePCoyk4vVzLhxrV4M2He9KPaLbmZFaLsrab8Ny8ouQvIvfkY1yQI8bh CVi2xMJo8XsmkQTiiuDb7RGigX/UeEYvo7pK2gi1ETaSEiZoekJIs0HN/QfrK5H+v3F7 lqiqIA0XIyvrh2BWq4yZs06lDzo35A8VmeQQByBv3uNyQHPnaHF2NssKqbNffCVgouer l0q52iNqetgLY/TiZXsm2EDQrZJ8AEbuIcKa0MXbZ+ln8VRGdRQXM6/L4BHReS2taRx2 GbB58kCx/i48+XaJ3nd6HdP43HUEKdhL9pAnDm8XvHUQNV+UcE6f+ZfPU6UzKLKf+W0V EDHA== X-Forwarded-Encrypted: i=1; AJvYcCVXumHTfM+prB74XD7x8H+bCpCrnToZNhvox1J3kZwaq7KWR/q73/jb34BKCvJI2wrgKCndK0uwBUJBOIA= X-Gm-Message-State: AOJu0YyK5Qqxj7p+VeQapNA/NPJP4JFRokCveXytOUHUTfWwcZgFdM2Y TP/d9nVITBjBEAT7J3PvRGe0nkDzKQfwGClkQZMSeqYOZZRpLbFOYFBZT5DAvEc= X-Google-Smtp-Source: AGHT+IHy/PcBMJ1U3QG/0xq8eMMbdTPiGFCJeEtI34x6iobIKrMj3SXh8huickt6tAy/8Cx8pdoEvw== X-Received: by 2002:a05:6a20:7f96:b0:1a3:dc13:9146 with SMTP id d22-20020a056a207f9600b001a3dc139146mr350617pzj.8.1712164984187; Wed, 03 Apr 2024 10:23:04 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id jc6-20020a17090325c600b001defa712890sm2865996plb.72.2024.04.03.10.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 10:23:03 -0700 (PDT) Date: Wed, 3 Apr 2024 10:23:02 -0700 From: Stephen Hemminger To: Marek Pazdan Cc: Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , dev@dpdk.org Subject: Re: [PATCH] lib: add get/set link settings interface Message-ID: <20240403102302.6b700690@hermes.local> In-Reply-To: References: <20240326235909.25276-1-mpazdan@arista.com> <20240403135953.7209-1-mpazdan@arista.com> <1924573.MyG8hOvIyE@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 Wed, 3 Apr 2024 16:59:08 +0200 Marek Pazdan wrote: > Hi Thomas, > > Information like advertising: speed, pause, autonegotiation etc. and that > same for link partner advertising. > I try to mimic ethtool since it's a common, well known and widely used tool > so adding an API which provides the same set of information in case the > interface is passthrough to dpdk will be useful I think. > I've 2 more patches dependent on the one we are discussing now, but I need > patchwork id to add dependency information. I need moderator approval for > the current patch. > > Regards, > Marek DPDK already had this info under rte_eth_conf and it is supported on all drivers. Why introduce yet another API and only for some drivers?