diff options
author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2024-08-29 15:33:37 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-03 12:36:43 +0300 |
commit | 00d066a4d4edbe559ba6c35153da71d4b2b8a383 (patch) | |
tree | 33338a01e63fe69c377f5bb6d7aadbbd12c61c4a /drivers/net/team | |
parent | beb5a9bea8239cdf4adf6b62672e30db3e9fa5ce (diff) | |
download | linux-00d066a4d4edbe559ba6c35153da71d4b2b8a383.tar.xz |
netdev_features: convert NETIF_F_LLTX to dev->lltx
NETIF_F_LLTX can't be changed via Ethtool and is not a feature,
rather an attribute, very similar to IFF_NO_QUEUE (and hot).
Free one netdev_features_t bit and make it a "hot" private flag.
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/team')
-rw-r--r-- | drivers/net/team/team_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_core.c b/drivers/net/team/team_core.c index ab1935a4aa2c..1d1bad3cedc2 100644 --- a/drivers/net/team/team_core.c +++ b/drivers/net/team/team_core.c @@ -2189,8 +2189,8 @@ static void team_setup(struct net_device *dev) * Let this up to underlay drivers. */ dev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE; + dev->lltx = true; - dev->features |= NETIF_F_LLTX; dev->features |= NETIF_F_GRO; /* Don't allow team devices to change network namespaces. */ |