From patchwork Sun May 16 16:01:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 1479086 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=qJ7ZPc33; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iilf/7tn; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fjn9b1Tcdz9sW1 for ; Mon, 17 May 2021 02:03:15 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=4AWHdffM883ngS2eqw1ad3zCN4l+kXSvSzCQiDpd0Xk=; b=qJ7ZPc33YNblW8fGoRo7mImflR 0JguUc8+fuxvrRpzqTLio514h/2zPyseY6voEkEBCLr1CzMMnWabtmeSvmnD+aFbCaLjsSHhzhsPx 1P/Fzqu6p0ODIIrcgubmyVCrUPq8tHhtzS72hdvYK5OqP5Man4CnZRgBAnJMq4ebZ/gIuDVhRHWYA C7IDjUhsLMiJq/ce9M/2fK9Eo+EqRhUGEm169NukXpgsnjuhHShza2ca2z0hh9Y9jlbyOHJT6yP3w VObJwXxkS52c+50QAELIfAgIwgQAKfEUfvZbPen5+gmELQBcM96sIIyC3y7W7z3rZKYC060O388ib vhGxpj+g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liJD2-00CW9U-P9; Sun, 16 May 2021 16:01:43 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liJCy-00CW8K-3B for openwrt-devel@lists.openwrt.org; Sun, 16 May 2021 16:01:38 +0000 Received: by mail-ed1-x530.google.com with SMTP id df21so4064206edb.3 for ; Sun, 16 May 2021 09:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d6ZOZu0fleJW5KuqWc8eaCOlj6pZDjTCoT7DojzJNT4=; b=iilf/7tnV9H5AIqglv2n7TPcXJCjbervLI+Hu7kcH+2nmUbQlSNolb1pwE0rNR7QC0 YOlQNyRvXhTKjbtWCxUPeylymvidpDwkFnTBKqCLbezNw0663J9n70nobb64aSGU+5ep zQMwwy9AwJ6BziGNAupu4+2o6+sGa48F5/2snt1dJuOndmI3YnLNzsrdSeaQaW5WmX/w NXCnmtWwOG0O27bk/jFdSAMJQ5Ap7a+mOVsGkHLTy7QBXQNrmvM9lwKNztMLOndsEJN7 O53CNVgnENuIOdGcJzPMUzaReeOHfiVW/BnwoZMj5PzPPqjB1ziarg1p4QWkvpgYyDOU a6NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d6ZOZu0fleJW5KuqWc8eaCOlj6pZDjTCoT7DojzJNT4=; b=tDm5OmTGkzcVh6n6I1bt7recIrLYzWqcGfGt1wawHaNNrq5V5+mM0p1x6gYfVPbaz7 PmmMNuadmPXB+49UnTJLEuICvMU3XUSofpaa+g2glLvjJL3EKO7ATj6B8+DVGTK/I+ry Ylenf81WLsg3Ix4V/+M/Oa38yZb489DL4AhY49AV9ibvO3/fliT5GRf9PjfAdsOAXOIm jDV5Hie8qpgd0BSia789AGVxo0b5QeEc+dXOdQEuu4u6C0deqgjyrtMYlDEBMIVmZ2mN viDZg65P2mZMYAf57B/UF2MWlAC/treSjVEAK/uCtIuRB+4XYZU76O9BObbtHVwIXTlT 4ALw== X-Gm-Message-State: AOAM532lA496Rq6ZLYLYmexyxrsCC2HvvTBMUFI/FGD3nkp/+p4NwL0i r46/z3Z9xPm1rfFwJBdvAQwZE0IkflvjIw== X-Google-Smtp-Source: ABdhPJzkdJj/17Q7Gkltur4+ukQA56kGimx2VEB2XI7wR47ZhwRicb17qyMFpaYbORxpaiZ7mqKQXQ== X-Received: by 2002:a05:6402:3511:: with SMTP id b17mr14415074edd.71.1621180893313; Sun, 16 May 2021 09:01:33 -0700 (PDT) Received: from localhost.localdomain ([188.252.220.215]) by smtp.googlemail.com with ESMTPSA id lv10sm7362421ejb.32.2021.05.16.09.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 09:01:32 -0700 (PDT) From: Robert Marko To: openwrt-devel@lists.openwrt.org Cc: Robert Marko Subject: [PATCH 1/2] ethtool: update to version 5.12 Date: Sun, 16 May 2021 18:01:28 +0200 Message-Id: <20210516160129.791846-1-robimarko@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_170136_273474_36B635F3 X-CRM114-Status: UNSURE ( 8.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Update ethtool to newly released 5.12 version. Signed-off-by: Robert Marko --- package/network/utils/ethtool/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Makefile index 3efc90490b..d645cf9bbb 100644 --- a/package/network/utils/ethtool/Makefile +++ b/package/network/util [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:530 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [robimarko[at]gmail.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Update ethtool to newly released 5.12 version. Signed-off-by: Robert Marko --- package/network/utils/ethtool/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Makefile index 3efc90490b..d645cf9bbb 100644 --- a/package/network/utils/ethtool/Makefile +++ b/package/network/utils/ethtool/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ethtool -PKG_VERSION:=5.10 +PKG_VERSION:=5.12 PKG_RELEASE:=1 PKG_MAINTAINER:=Felix Fietkau PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/software/network/ethtool -PKG_HASH:=817d5396a9307b4c637b435d4c558b8f5f964a1464a035ca3c0180f4cc93cfcf +PKG_HASH:=f5ddfa9c75053d8011b8c8c99ec4e2d3c83cd1972f638692d62e37fa3ef36f07 PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING From patchwork Sun May 16 16:01:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 1479087 X-Patchwork-Delegate: mail@david-bauer.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=LPcVl7yE; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=dOfCBOtR; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fjn9b1T5Cz9sSn for ; Mon, 17 May 2021 02:03:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ca19dgQj7DYn3ua8T77bTaVSc1sF6a0nxZoTIw34tbE=; b=LPcVl7yECeVLXrOHqm18fCwi6 s3aNAR9bDziH3TKdZ7fUHPVmFzBZMsSQY00OGjk2S4OXKg9gf4aVCUNXX5W7cvrub0SBjtHz2GGO2 Y1yFS0Bv2EunnwJt8eY1TDT14CEo1AYudZP6MzGVyTklebUejBVbGpHVob1eEjTIYCKiw1vZsqyj/ EpgTHYyeBQpegfFfEKdZCdsWFwG4zWbgaRT3kpGSZrQs6lhBOZTkKUYDyHf/KrFX+ZHtj68nGISdb hLvLJUJdmsEAd0GAACLQ4/nwZiWHeGf5Y839xcFy/1RRyjJaoG/DA+GHpa4GjyK0ZHhc8GcrOcj8y 8H8cX0Rkg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liJDF-00CWA2-67; Sun, 16 May 2021 16:01:53 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liJCz-00CW8U-7k for openwrt-devel@lists.openwrt.org; Sun, 16 May 2021 16:01:39 +0000 Received: by mail-ej1-x634.google.com with SMTP id lz27so5550053ejb.11 for ; Sun, 16 May 2021 09:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t29hk74WmbVy8PjJE0tLm8A4uivb8TBk/DaBrQ1Dam8=; b=dOfCBOtROEMfKItZQ/MOEsBcFLHsPIbtbeHbz/ImVWf/UHK5lxoIsEEP94ELWt0PgA kf4kr7mfYgXlHsqMZ4un62mZRYo9VVhMAQ5ifwUEKXxQ0sY7Q1RazWhQXT/ddqhsxZ8c uct1ysPIcc5GTDdBuxruE6FO6QN2NjB1+x67dyUGhZW1L8HG7LSB09rwLU61e0DANBAT TZ9MpZJ3tMYW99JShb6Ue/EUEt0QMpPYvx4nyaZ78AV6aEwWCtPs7yKAjDuZgLRFjkpC 7gUXQijDB2iEVPyM1EAR3NVxsMziyBsyxNZch1Ds1FKYBc5jDdHJ4hcRxgHRVdko5570 THEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t29hk74WmbVy8PjJE0tLm8A4uivb8TBk/DaBrQ1Dam8=; b=kM43QR8vIOzk2lX6MTFCd5V6MJDuZId+EytFZzkRnU/hyjwTUhdXjQT1nSJx5a+9mz u4YABNO7QG63vzwLVC8VgKK0V/Fv5hzfHXeEmKR2C4E7SeQWcRFbEJXCBLz2gcXmPR1F 0USzCeYOlvIQuckGlZpzjsOXE7xBEV2fqIRnI6TgrrBCmVlHOjeo2olT3BQplWQ8U28e NoAy2KJFcQdPaVn47/cVFzeVJpRYA9xY3LBfnB0+afVcZXea+ld1pwHliXTe4tRSuyCI ubuBikU9Epq78hnDV/aIcgU9SsEEvBRFTOYd4qKs+Vt/nf0TawORirYmfUEzLr+1NvuG pNbw== X-Gm-Message-State: AOAM531u1aY9PjucX9OqfIHscgIixzz2UFYI+nOzmfkQZZnC3nw10OdR 9cg8cxd8DGUDSjJIrVvS7kT++xO8LYWCdg== X-Google-Smtp-Source: ABdhPJzqp0rAWT+TLiF2nEvimFiiufsAciO7ieuQuO6XRNToDbLhaBaQkE0W8QNQfI7BQJyOJkNYVQ== X-Received: by 2002:a17:906:c0c6:: with SMTP id bn6mr56301109ejb.436.1621180894906; Sun, 16 May 2021 09:01:34 -0700 (PDT) Received: from localhost.localdomain ([188.252.220.215]) by smtp.googlemail.com with ESMTPSA id lv10sm7362421ejb.32.2021.05.16.09.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 09:01:34 -0700 (PDT) From: Robert Marko To: openwrt-devel@lists.openwrt.org Cc: Robert Marko Subject: [PATCH 2/2] ethtool: add optional netlink support Date: Sun, 16 May 2021 18:01:29 +0200 Message-Id: <20210516160129.791846-2-robimarko@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210516160129.791846-1-robimarko@gmail.com> References: <20210516160129.791846-1-robimarko@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_170137_366142_6D51470E X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Netlink support is required for stuff like cable testing, so offer it as an option. Signed-off-by: Robert Marko --- package/network/utils/ethtool/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:634 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [robimarko[at]gmail.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Netlink support is required for stuff like cable testing, so offer it as an option. Signed-off-by: Robert Marko --- package/network/utils/ethtool/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Makefile index d645cf9bbb..8cccf838a0 100644 --- a/package/network/utils/ethtool/Makefile +++ b/package/network/utils/ethtool/Makefile @@ -23,7 +23,7 @@ PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 -PKG_CONFIG_DEPENDS:=CONFIG_ETHTOOL_PRETTY_DUMP +PKG_CONFIG_DEPENDS:=CONFIG_ETHTOOL_PRETTY_DUMP CONFIG_ETHTOOL_NETLINK include $(INCLUDE_DIR)/package.mk @@ -32,6 +32,7 @@ define Package/ethtool CATEGORY:=Network TITLE:=Display or change ethernet card settings URL:=http://www.kernel.org/pub/software/network/ethtool/ + DEPENDS:=+ETHTOOL_NETLINK:libmnl endef define Package/ethtool/description @@ -43,9 +44,17 @@ define Package/ethtool/config config ETHTOOL_PRETTY_DUMP depends on PACKAGE_ethtool bool "Enable pretty printing" + + config ETHTOOL_NETLINK + depends on PACKAGE_ethtool + bool "Enable netlink interface" endef +ifeq ($(CONFIG_ETHTOOL_NETLINK),y) +CONFIGURE_ARGS += --enable-netlink +else CONFIGURE_ARGS += --disable-netlink +endif ifeq ($(CONFIG_ETHTOOL_PRETTY_DUMP),y) CONFIGURE_ARGS += --enable-pretty-dump