]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: remove obsolete check for ETH_FLAG_NTUPLE
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:55 +0000 (10:35 +0000)
commitc96190658e3823c1ce4380eb987e536b9c0fc5b5
tree2399887ba9217c6feb6c1fcfae0e605757c843bc
parent4d35922f239932a04cae2d35898f7c56da566f82
meson: remove obsolete check for ETH_FLAG_NTUPLE

The ETH_FLAG_NTUPLE constant was introduced to Linux in

  commit 15682bc488d4af8c9bb998844a94281025e0a333
  Author: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
  Date:   Wed Feb 10 20:03:05 2010 -0800

    ethtool: Introduce n-tuple filter programming support

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

A typo in the existing condition "NTUBLE" instead of "NTUPLE" meant the
code was never enabled in the first place, which is an illustration of
why it is worth eliminating redundant conditional checks.

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