From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD0E73B584E for ; Thu, 12 Mar 2026 09:46:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773308794; cv=none; b=uA9L24R/uG3BL95QyGWhMtQ8nqITpCmo/AiRYjyDlZn8PjDhGyY411m7yYjD3JrjhlnSDaNlKjPbYJDxgyJoaYu2LvwAR+wI4pSpVzyPQCsrBjEfEHH2rbNVKGHJml4Qv2i5pkuA+QfUcNu7GwAFuIaTnacrXyU5Cpw7xXudeOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773308794; c=relaxed/simple; bh=XmgO1TscYmjuACXGsGpTPCpFJQ8z+1vv7PMc1mKHSMM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T6dOgYKxAJoicqhLFiBNrjhLmYDcdH3fjNwc0L+mAM8TuC7F6LCusnj9OfW8KVc7+4KRN7p88u6315Ty1MOyv+Wt2lP9aFPdMt+8oTOXhP4Iz01oHSQpwvEm9rrE35HC7TnKtzCpxt0vV4WvPDJjoPbwF+XGdtQGFBVnoigScFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=f0WpSmed; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=JNRYRrht; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="f0WpSmed"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="JNRYRrht" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773308790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v3laAzH2RegSSG4RPB9RBAb4LG65Lm6P17O2gbvY3vM=; b=f0WpSmed9CDPqlrhQERlgTu17lFHWNN1iKiDp7V82OddnmoswCx/kWRUGnjzbl114b0+Ln boOaIevniJnL9yS3KPP0i6AFfWiL5XEdEYYGgbvxm7B4n6J6jVbap0Zg8AvOpzYWMtJbIF MIvfvmNp3mjoUawKUfTv6J4JMi97yKM= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-414-MPkW0SrZPz-AO2yflc8Wyw-1; Thu, 12 Mar 2026 05:46:29 -0400 X-MC-Unique: MPkW0SrZPz-AO2yflc8Wyw-1 X-Mimecast-MFC-AGG-ID: MPkW0SrZPz-AO2yflc8Wyw_1773308788 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-439b484ee04so1716077f8f.1 for ; Thu, 12 Mar 2026 02:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1773308788; x=1773913588; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=v3laAzH2RegSSG4RPB9RBAb4LG65Lm6P17O2gbvY3vM=; b=JNRYRrht5QpWTMmLPdd7IbMa14IC3u0eLB9Jl72JI3HqJjkJEIuHLqSxDEhXXVDNNl wb4fRhnv7lq6MpDLWU8xaHMShn77HSmokfCekcYIKZmIC7S0YX5XLtdL41MFXvsfYqBH xsrWzBO9U0lUUtB9Bcj9CBgK5uxhb3ieJoz2YF0l3s2FaSAKz9WIonSZYjOePa+ks9yQ 3MLLE/MVLndixUsdlBIIuC5vpGYa05qgsjt5vPxt5SQQi+T+ebCtDkKYjkB1r7nYqLr5 7zEis4KX43P3LBaAomrTslWjSp7PHfHAjQgBVb1HcQoNSNb/hJEX1+xcELoDP8L3QY4J Xsew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773308788; x=1773913588; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v3laAzH2RegSSG4RPB9RBAb4LG65Lm6P17O2gbvY3vM=; b=ngSFCrK844YepnF2YZRF1WSAue44IfdjO81ouTP1Ggr4vGUvqF29fpiQwpc7FDZgfe EVHPadKI5ikJc9csu0zYZdVFBe2PIDlOMwczwUrLL0MMHBLXxRv300e81meGVZu1ahzg lW23gS9t6hZ4TnUKAkEZBfaPEfmb/wBfRS2T4UefppW6hLznCwUfJq7Jt15PIHDeYymm 0c7IVATKxrqCpxq2h70UaeO3xKaSAI3lz+Xzj+2P3vo8yhwEaYr9FeB2CerkMfrWYeeh Gbgil2SYR9ETEPrxAZZpF/2tVZVkrKAY85GVa60bTxX7fSO+5BSlEGLpDiQWHfcUD9YA WYWw== X-Forwarded-Encrypted: i=1; AJvYcCV59x+QzdiEQTMah7IGp6lFUrpDFGiziVBuENDv6KwOzLGfBp+VTjKEPBvHfz+X/hiz5ljayLNme5lwjs0=@vger.kernel.org X-Gm-Message-State: AOJu0YzVui13juF4UwP18/wKIASSJVKh2YOuT7qEBeV8BcvwjzV1t0WE MeOdjHsvN5ZE6mGBZu0B3mlq0SNcsPAeLPHtc1FOoImL3nLvuJbMwB7DhkzIJu4nZlqYCRE5t5h w6yqf+M62Gk/1BhYVX62+MpCNYtXHFqeMDqRBdRje655D9rVoNuo0cUkP65dBZ+ZVjg== X-Gm-Gg: ATEYQzyswLp5ocpNJPbAl97RAiGcSsYJKicksSra6COj/bYgs1EW+1WQm90SczsIeBx bWWQSvtcD+ub8gOXo4aQloyvUnijgjHF8XLyLj8vufc2MWs5X2LK5/A5+J7iF4z+m8L/NPeKVIS DdsIFCtUifo2hQbfYRg71kWokK1Nx/D/SNsoEo4FrItC9MlUzQmI9IT0YSh0ct7zHwDwm7LHbVG lxzoQ51nXOQgYCYScNTUoi4VFuVC6sJVXCG99Oj3QNTt4Wm74gvD6toPxX6aAnWZPScRSsbpM9v V8r4jFjWRkz1vtVOAlwOu9mYOPx5IWGAD0z11YkHbvz06tBB4Ns94MV+1TXYIZ4zqdp1EZ4K7yW xPWC8Cjdh7BQ+ErocEEuJFqNcHwYAoZxGjrQCQMioEXPAeQdYk02Ok6I= X-Received: by 2002:a05:6000:2c07:b0:439:c24b:ec15 with SMTP id ffacd0b85a97d-439fdf8aa4fmr4902917f8f.5.1773308788221; Thu, 12 Mar 2026 02:46:28 -0700 (PDT) X-Received: by 2002:a05:6000:2c07:b0:439:c24b:ec15 with SMTP id ffacd0b85a97d-439fdf8aa4fmr4902885f8f.5.1773308787836; Thu, 12 Mar 2026 02:46:27 -0700 (PDT) Received: from [192.168.88.32] ([216.128.11.95]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe1a76e5sm6445035f8f.12.2026.03.12.02.46.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Mar 2026 02:46:27 -0700 (PDT) Message-ID: <645d7dd2-9dd6-4af6-aae3-4e0b5af612dc@redhat.com> Date: Thu, 12 Mar 2026 10:46:25 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 0/3] net: move netdev_compute_master_upper_features to ndo_set_features To: Hangbin Liu , Jay Vosburgh , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Jiri Pirko , Nikolay Aleksandrov , Ido Schimmel , Simon Horman , Sridhar Samudrala Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bridge@lists.linux.dev References: <20260310-offload_compute-v1-0-3df79c09ea65@gmail.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20260310-offload_compute-v1-0-3df79c09ea65@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/10/26 8:45 AM, Hangbin Liu wrote: > Currently, master devices (bonding, bridge, team) manually call > netdev_compute_master_upper_features() scattered throughout their port > add/remove operations. This approach requires each driver to remember > to update features at the right times and leads to code duplication. > > The series moves netdev_compute_master_upper_features() to callback > ndo_set_features so that the offload compute could automatically > invoked during feature updates when upper/lower device relationships > change. This centralizes the feature computation flow and removes the > burden from individual drivers. > > --- > Hangbin Liu (3): > net: use ndo_set_features to set offload features for bonding/bridge/team > failover: use ndo_set_features for failover offload compute > net: no need to disable LRO specifically > > drivers/net/bonding/bond_main.c | 14 +++++---- > drivers/net/net_failover.c | 67 +++++------------------------------------ > drivers/net/team/team_core.c | 15 ++++----- > include/net/net_failover.h | 7 ----- > net/8021q/vlan.c | 2 -- > net/bridge/br_device.c | 7 +++++ > net/bridge/br_if.c | 6 ---- > net/core/dev.c | 8 +++-- > net/hsr/hsr_slave.c | 1 - > 9 files changed, 37 insertions(+), 90 deletions(-) I'm dropping this series from PW due to the self-tests failures. I guess it could be restored later if it turns out the real problem is elsewhere. /P