From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f12.google.com (mail-pj2-f12.google.com [74.125.227.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8A52513555 for ; Wed, 30 Sep 2026 16:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790786649; cv=none; b=MyukYPN77R81muix0Ca6JCA0QHlaz0BQ2FHxiCz3EBhEQofQ0jtprSZtl/9iiwr21fvhtdChnZYHeK767Wnw9bhVrG5heUC26IhMr4om+QLUdC4oiE1ZPf6K/0VPtIUJzP/OAc82qCfdjzBjV7FnkduZDPZ4Nv3II2rqEUO+kNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790786649; c=relaxed/simple; bh=IlOWPmoIS1wBYoM/00Hywy9qyD6BB4xhp9iVnM/iX8Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Avyp4pRJhA+gczttjowrXRpFFS25Ralt0GA11cUxJAR8jE4amdJSi692d+RaHZcXwoRxfU/zopzORG7fMcwqy+Uet3xwCfLJ86bANeYE6lno0JX0DVFtz+B/XHG3z1a/Uwi1H60v5WF4QukSu9g9F7zUfBOVkf0Hh3Q6sQb1pZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to; spf=none smtp.mailfrom=dama.to; dkim=pass (2048-bit key) header.d=dama-to.20251104.gappssmtp.com header.i=@dama-to.20251104.gappssmtp.com header.b=RLqFp+gq; arc=none smtp.client-ip=74.125.227.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=dama.to Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dama-to.20251104.gappssmtp.com header.i=@dama-to.20251104.gappssmtp.com header.b="RLqFp+gq" Received: by mail-pj2-f12.google.com with SMTP id d9443c01a7336-2d747eb79f7so25284105ad.1 for ; Wed, 30 Sep 2026 09:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dama-to.20251104.gappssmtp.com; s=20251104; t=1790786646; x=1791391446; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:mail-followup-to:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=W33h7LP0cHQ4lydwZhCKuU0weHrmwtzViKu5Dtf4WpU=; b=RLqFp+gq1gtZHRAJ7J6pg4LyuxJz0ALeaC4BLXm5WdYLthF0aY71xGsw/t06TWo5DS +yqB5pjq9zCt41x91hnMDDu5WmXyht8COG5H/7JJtAiWmOwTJGNwG+2oVtt8BuTh58tF BuCg83Ej/4gY8pdP5eXqajGKPoJ4yTtK0TjweGilCAZD5qOezzZyQDgIkH7Wlh92EUgv EzNbzWl7Ja1tVzNNsVsYGUrgnYstiWUZnkGwifLMr6TFKtUR51TnevaCOfHE82rPlIDh k8TYkxStM0jPzS/kmTeQ9NZuP4KoSbPWX8tFnpoDPcwTdAwa+UoHLkm4iQyTQ4FjDdW1 1hUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790786646; x=1791391446; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:mail-followup-to:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=W33h7LP0cHQ4lydwZhCKuU0weHrmwtzViKu5Dtf4WpU=; b=nniZrVDW4wBkVzvwMsssNOMij0IprD6EkPaIr/7n23NTUV8uuG67uN8B3kdHSgween n1acKeTFpGjawBhgEhSLGBfWn08Z1NiarvDEDvqMuXknUrGS6q1vRRhc+WriB6DqYsWM 3Awt8TZDOdAXReeKYU7gO2+RlIrGARlh5iFSYy9BboYNptUKqaPGWnSp48IBKo2XKpaL JJpEt51yNKh04EA2WTrSPYYPKHIL9q6l6+9EIj6o/oeohHdRl2Z34uHbYYj8NCtj2AY/ TvxyWX0U61VXajns/HIDhU43tz/7xDLKoU4KthArRNlbhQxUDQD0OpBS5hc5MsDOJURl E28w== X-Forwarded-Encrypted: i=1; AKwUvByKY82zaa3n2kNLmFbDHiSyAx8FUEuYlGGWs68IyvE7dOnh+xIw70UVrTQ2LXiebezn0hZynlBv48PLJOlEv68=@vger.kernel.org X-Gm-Message-State: AFq9FYJA5YfE4FZHNiY8ncFYFAewThPErNJ6hSkhVp6PSuamFVpJS9AK hwF0mPKuNcep5pmwtiNeMy48jZlPaeB8QSMdRxvoh01gyTWZaCFW7r1frL6eHPbTkMBHB5Bacz4 LFkiejxw= X-Gm-Gg: AYBFou0BCdGiL+tEOS6EF9L/Mziao36wIG0VH183fh9k7JPXDLsYQBL+djIUz51CB9P GmxloYfQii5mNQtTMswZT7u/2dmyGtWuriaKp8ZbLIsQGLsn34ZlVS9geqGoPdL1HW0AB3Cib6i 3KO82k6oD5wqhc1Jw81FMgV6TmZDUw2qQxrxO85k3W2v2/KJF1WRZFYnGluk9kfcBWY3I18aBMx t0pU+FbiU43DQM3JixtysD//azpl1p44YVh1wBYdwJefBDnMoq9VsyebssIe84cZSKjnjCP5MSH VmHwAAkfLS6tBideaCWxux6181w4SgJUizJ/jAOMFfZh0TnJa9e1JgrTXxd4JMfhyvizbVL57H6 eFdoEeHIQO1cwQ4wMVtAbAFebUWsTh09CMCcns67yY8UoB8LilnZQ6wI7grOhpfjtC6SugyRwuP H+uGnZCSYO5dMyCbnwOT5tAQ2OJ5ndpU9kfKh/Pgs4+QBavLmJbrtjg4Iui1YmCGTYZQORkXoEj go+ugwbzSf8 X-Received: by 2002:a17:903:b06:b0:2e2:fc69:c15e with SMTP id d9443c01a7336-2e2fc69c990mr2871005ad.65.1790786646189; Wed, 30 Sep 2026 09:44:06 -0700 (PDT) Received: from localhost ([2a03:2880:2ff:48::]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2e3005839d7sm396175ad.6.2026.09.30.09.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2026 09:44:05 -0700 (PDT) Date: Wed, 30 Sep 2026 09:44:04 -0700 From: Joe Damato To: =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Cc: Alexander Duyck , Jakub Kicinski , kernel-team@meta.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Daniel Borkmann , "Mike Marciniszyn (Meta)" , Mohsin Bashir , Stanislav Fomichev , Bobby Eshleman , Dimitri Daskalakis , Weiming Shi , Maxime Chevallier , Jacob Keller , Breno Leitao , Tao Cui , Pavel Begunkov , David Wei Subject: Re: [PATCH net-next v4 1/5] net: Add netdev_config helpers Message-ID: Mail-Followup-To: Joe Damato , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Alexander Duyck , Jakub Kicinski , kernel-team@meta.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Daniel Borkmann , "Mike Marciniszyn (Meta)" , Mohsin Bashir , Stanislav Fomichev , Bobby Eshleman , Dimitri Daskalakis , Weiming Shi , Maxime Chevallier , Jacob Keller , Breno Leitao , Tao Cui , Pavel Begunkov , David Wei References: <20260925104417.2325213-1-bjorn@kernel.org> <20260925104417.2325213-2-bjorn@kernel.org> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260925104417.2325213-2-bjorn@kernel.org> On Fri, Sep 25, 2026 at 12:44:08PM +0200, Björn Töpel wrote: > From: Jakub Kicinski > > netdev_config manipulation will become slightly more complicated > soon and will be used by both ethtool and the queue API. > Encapsulate the logic in helper functions. > > Signed-off-by: Jakub Kicinski > Signed-off-by: Björn Töpel > Reviewed-by: Breno Leitao > --- > net/core/dev.c | 7 ++----- > net/core/dev.h | 5 +++++ > net/core/netdev_config.c | 37 +++++++++++++++++++++++++++++++++++++ > net/ethtool/netlink.c | 15 +++++++-------- > 4 files changed, 51 insertions(+), 13 deletions(-) Reviewed-by: Joe Damato