mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: remove obsolete check for ETH_FLAG_LRO
The ETH_FLAG_LRO constant was introduced to Linux in commit 3ae7c0b2e3747b50c3a6c63ebb67469e0a6b3203 Author: Jeff Garzik <jeff@garzik.org> Date: Wed Aug 15 16:00:51 2007 -0700 [ETHTOOL]: Add ETHTOOL_[GS]FLAGS sub-ioctls 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>
This commit is contained in:
parent
48c9470d0f
commit
74bbf36442
@ -653,7 +653,6 @@ symbols = [
|
||||
[ 'linux/ethtool.h', 'ETH_FLAG_TXVLAN' ],
|
||||
[ 'linux/ethtool.h', 'ETH_FLAG_NTUPLE' ],
|
||||
[ 'linux/ethtool.h', 'ETH_FLAG_RXHASH' ],
|
||||
[ 'linux/ethtool.h', 'ETH_FLAG_LRO' ],
|
||||
[ 'linux/ethtool.h', 'ETHTOOL_GFEATURES' ],
|
||||
[ 'linux/ethtool.h', 'ETHTOOL_SCOALESCE' ],
|
||||
[ 'linux/ethtool.h', 'ETHTOOL_GCOALESCE' ],
|
||||
|
@ -3089,9 +3089,7 @@ virNetDevGetEthtoolFeatures(const char *ifname,
|
||||
|
||||
/* ethtool masks */
|
||||
struct virNetDevEthtoolFeatureCmd flags[] = {
|
||||
# if WITH_DECL_ETH_FLAG_LRO
|
||||
{ETH_FLAG_LRO, VIR_NET_DEV_FEAT_LRO},
|
||||
# endif
|
||||
# if WITH_DECL_ETH_FLAG_TXVLAN
|
||||
{ETH_FLAG_RXVLAN, VIR_NET_DEV_FEAT_RXVLAN},
|
||||
{ETH_FLAG_TXVLAN, VIR_NET_DEV_FEAT_TXVLAN},
|
||||
|
Loading…
Reference in New Issue
Block a user