From nobody Sun Feb 8 19:54:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1670510166; cv=none; d=zohomail.com; s=zohoarc; b=h0A6CFERTCmzw7nFBhOTW1JaDy8xvzBxLDci32hFLfEsoZLABnhOlYlsqHSSwnZ4zDvby5XxHAUxS20Hov6z/nafIjEMiPW/r1VJPsNiYR3jDtRfn+K05h842APPvhdoaRcKM2L0O25EiFO5FuYXAiSb4nR7ywlQUfaS2L0JUtM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670510166; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CK6cuhd0Ll8PWElx30Zi7vbFPr/RxleBUlHClwjeryk=; b=jn8kXAJcMuAU5C9rHgS1Xwt3oWmGICI1yvKwwp4cCy8HexJpAeEZQhvHS9P5ZtMhSXG90vJgoAt4U6WBaHVpvkQivTeor/Eixffd4biA2+GPOJcJlnFOoKa5wdw7r//ZokGqgaJVYTAkMCgCdjebGe8nMg4fA9sMWuNUpUavPZg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1670510166489610.7544860338884; Thu, 8 Dec 2022 06:36:06 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-517-KNcGqLiuO4W8tr5ZdsvrtA-1; Thu, 08 Dec 2022 09:35:45 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BBAEE2A59559; Thu, 8 Dec 2022 14:35:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A7A7517582; Thu, 8 Dec 2022 14:35:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 97AD61946A44; Thu, 8 Dec 2022 14:35:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7BB6C1946A72 for ; Thu, 8 Dec 2022 14:35:36 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5E2E72028E8F; Thu, 8 Dec 2022 14:35:36 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.33.36.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id B79122024CC0; Thu, 8 Dec 2022 14:35:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670510165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=CK6cuhd0Ll8PWElx30Zi7vbFPr/RxleBUlHClwjeryk=; b=iKpMsy4rEzt3jxA4IFZIGOrcO6yZUl2xKj+tTDdHsto9eHGmJjbC9QA3T2ngvwO270qr0u lXODtKwIgTNggEHw6qdHVRMXY7DctSS+fprnBbtf09Hhubb4PCSRFa1RFlSbRj9Bn9Ri19 8NAxGcQVbh8PPGJ0OaiF+aXfzh9rSqE= X-MC-Unique: KNcGqLiuO4W8tr5ZdsvrtA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 06/21] meson: remove obsolete check for ETHTOOL_GGSO Date: Thu, 8 Dec 2022 14:35:10 +0000 Message-Id: <20221208143525.1731853-7-berrange@redhat.com> In-Reply-To: <20221208143525.1731853-1-berrange@redhat.com> References: <20221208143525.1731853-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1670510168676100001 The ETHTOOL_GGSO constant was introduced to Linux in commit 37c3185a02d4b85fbe134bf5204535405dd2c957 Author: Herbert Xu Date: Thu Jun 22 03:07:29 2006 -0700 [NET]: Added GSO toggle This is old enough that all our supported platforms can be assumed to have this feature. Signed-off-by: Daniel P. Berrang=C3=A9 --- meson.build | 1 - src/util/virnetdev.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 0a09e510c7..69d79963f7 100644 --- a/meson.build +++ b/meson.build @@ -654,7 +654,6 @@ symbols =3D [ [ 'linux/ethtool.h', 'ETH_FLAG_NTUPLE' ], [ 'linux/ethtool.h', 'ETH_FLAG_RXHASH' ], [ 'linux/ethtool.h', 'ETH_FLAG_LRO' ], - [ 'linux/ethtool.h', 'ETHTOOL_GGSO' ], [ 'linux/ethtool.h', 'ETHTOOL_GGRO' ], [ 'linux/ethtool.h', 'ETHTOOL_GFLAGS' ], [ 'linux/ethtool.h', 'ETHTOOL_GFEATURES' ], diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index c21cf69be1..3fdf71e41e 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -3083,9 +3083,7 @@ virNetDevGetEthtoolFeatures(const char *ifname, {ETHTOOL_GTXCSUM, VIR_NET_DEV_FEAT_GTXCSUM}, {ETHTOOL_GSG, VIR_NET_DEV_FEAT_GSG}, {ETHTOOL_GTSO, VIR_NET_DEV_FEAT_GTSO}, -# if WITH_DECL_ETHTOOL_GGSO {ETHTOOL_GGSO, VIR_NET_DEV_FEAT_GGSO}, -# endif # if WITH_DECL_ETHTOOL_GGRO {ETHTOOL_GGRO, VIR_NET_DEV_FEAT_GGRO}, # endif --=20 2.38.1