]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: remove obsolete check for ETHTOOL_GGRO
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 8 Dec 2022 09:45:20 +0000 (09:45 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 12 Dec 2022 10:35:44 +0000 (10:35 +0000)
The ETHTOOL_GGRO constant was introduced to Linux in

  commit b240a0e5644eb817c4a397098a40e1ad42a615bc
  Author: Herbert Xu <herbert@gondor.apana.org.au>
  Date:   Mon Dec 15 23:44:31 2008 -0800

    ethtool: Add GGRO and SGRO ops

This is old enough that all our supported platforms can be assumed
to have this feature.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build
src/util/virnetdev.c

index 69d79963f7bee709d5374789d7e5f7ba7848e776..be5d356b8881cd033c697145d7cbcc37b347d41b 100644 (file)
@@ -654,7 +654,6 @@ symbols = [
   [ 'linux/ethtool.h', 'ETH_FLAG_NTUPLE' ],
   [ 'linux/ethtool.h', 'ETH_FLAG_RXHASH' ],
   [ 'linux/ethtool.h', 'ETH_FLAG_LRO' ],
-  [ 'linux/ethtool.h', 'ETHTOOL_GGRO' ],
   [ 'linux/ethtool.h', 'ETHTOOL_GFLAGS' ],
   [ 'linux/ethtool.h', 'ETHTOOL_GFEATURES' ],
   [ 'linux/ethtool.h', 'ETHTOOL_SCOALESCE' ],
index 8c3d72726425fa0b88c351640ebe99c585fb0499..c93a48066e3b52a719c2033fe72d4d4ceb4bbdce 100644 (file)
@@ -3084,9 +3084,7 @@ virNetDevGetEthtoolFeatures(const char *ifname,
         {ETHTOOL_GSG, VIR_NET_DEV_FEAT_GSG},
         {ETHTOOL_GTSO, VIR_NET_DEV_FEAT_GTSO},
         {ETHTOOL_GGSO, VIR_NET_DEV_FEAT_GGSO},
-# if WITH_DECL_ETHTOOL_GGRO
         {ETHTOOL_GGRO, VIR_NET_DEV_FEAT_GGRO},
-# endif
     };
 
 # if WITH_DECL_ETHTOOL_GFLAGS