Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp666612rdb; Thu, 1 Feb 2024 23:18:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHB6a8NRQdDUyng/KGXuYgs6fxPkQqiycDWBItorU115AxXui7QCEbBIkCVUgrZtb7HVU0m X-Received: by 2002:a05:622a:11c1:b0:42a:72da:3174 with SMTP id n1-20020a05622a11c100b0042a72da3174mr1539525qtk.36.1706858298797; Thu, 01 Feb 2024 23:18:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706858298; cv=pass; d=google.com; s=arc-20160816; b=ff8opjcQcDPZaDI3ZwK7y5dHmTuvfn2hmqxq6asq1v6elxk/HyduLss8Cg3/xVLlDZ nd888q82CEAceqcPEhjXXWeYAQV5tvwtneUqKDhN7vHAGcNv60C7B1NZ/OmJi1K3Hru3 t5aLg/cMhGBK7YOI9w5JbWOcWIXnbdFadeVxxBr+opQNRsREjiGZIqlHFF8ODKypj8CG 7AbhQ2uE5HNjvQe39Ek5FGLHLflHUOwN+5+qgYv//xPBn7YcfWFH7FbXHAQH19VW464r HRBMdZwy0ld7V0TF3fH57BaT53qgMAqFV4HkvcOW759WvlvM7UU4haK/vgfHMCmL++MF EQXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aAUjuRqQR3EqFDoyAUglRvCh4JpyuuFKVUjgTVN2xyU=; fh=wLRIc7MrXLi+nf7ieyR6NMoaC+6WVhdG4I6hyWUdkyc=; b=zs6SU448ExsQy1CXFMselwvnIK4ZIIBZiL88QDAlf9N853uo8+fsOx45PROTUO7Jye mSPLpZ/dDtP9nXGmvMwwDXlvcfOQxaNHHwp3oF3YR6tA/F3i5qBO0xFFI5p1gX3AQvk6 nFLUHd8oG/FlhFh6+8hZ0nmdCMsac/U45jbtB9qcjw0Xn7Mbap2KtwK8hsQRlfOLaaGs RnhSUEThzrgCd0WFxPtl1xwpSl3jC81N2ma758k88ywwjcofQVWuTEboDdZDnBzQxf8L fiX0es02RWHUxQ8hJwGMSRKzoXWpA6+8lk3j9J/rHbKi9Zy4Il98i6TDiN8hz+pgEhuU fhXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=rmVTRZ+8; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-49357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49357-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVMEzfr24/OP93MQ/fiH234FHtxcCuObKApVO3HiqctD1afQJjt1ahRrIT7csZdRW3ZrOk0mQ3ux7FazG7wCyo5G1uVuc8S3GzPLQUY5A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q22-20020a05622a031600b0042bf6acb83esi1377074qtw.316.2024.02.01.23.18.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 23:18:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=rmVTRZ+8; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-49357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49357-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7ED7B1C22D51 for ; Fri, 2 Feb 2024 07:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1991B179AC; Fri, 2 Feb 2024 07:18:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="rmVTRZ+8" Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) (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 47C7C17C60 for ; Fri, 2 Feb 2024 07:18:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706858287; cv=none; b=fr4/LwwzZUk3tTyrgWMj8O/vLwFA9ELzsngcJonwigDi3RKdBPC6ffRf2xt2hyiUzNvR5LYS6aC61Vd+g6MajmsfMcy19M2sZMxE2yRoTwXaVU2W909cjpxSk+oe+jd49jx1bK/8O76/n+Cilp+pptSg2U4rrm7W0NmWrUsT+ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706858287; c=relaxed/simple; bh=nm4ZQS/VjFA0/33oXv/rZ2TvSf0VJ3+fW6AC5T+GWFY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kKG052tOJmmW5oRt6Y1FIxebz6IBWDMg/ZVJ0eYPxjaaW3cfWudnwDEtoMoMb4J0DBNIicwrgu4rUjbXa3dAtOR9gegKS2eFTF3tzXHzvGXtWjBJBfdSmXCLWSGWF1Ql+/Omqh0yT6jYY3dEy5rQH106v7qGsPI+rspYZCogqJk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=rmVTRZ+8; arc=none smtp.client-ip=209.85.221.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wr1-f65.google.com with SMTP id ffacd0b85a97d-33b130f605eso1060022f8f.1 for ; Thu, 01 Feb 2024 23:18:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706858282; x=1707463082; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=aAUjuRqQR3EqFDoyAUglRvCh4JpyuuFKVUjgTVN2xyU=; b=rmVTRZ+8PCWvNWzs0+MdhQgerkdXtWbyRkWOV0mzLY5Z8xFf7B83aJd0Jk9bdt1Zlw D39tNrxTXQu3XD+OS+sipJIoD47PQhgBVaRuEuLTMYNXjP9hyRgYcZM2NxFs5w4rJs7T Wi4/ctnnkarBrN9eTbqTsg37b+IwNaH23n48kTRjvrP6h+xPQlWwaNOSoVsliq/xQD2Z 88L9wKkNxr+ijOmBbVb460xY8UtNNm0Il+91Mx+oaau1LwVGO9pzR3UrxFZbka5ZK7Op uTZkqjKZNlgPnny3oVUOtlzg7D+c1w2iljYUhp8goN828ucqInNK/k1QLPd0BSqrqVLv FiKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706858282; x=1707463082; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aAUjuRqQR3EqFDoyAUglRvCh4JpyuuFKVUjgTVN2xyU=; b=okWemZ2rIpqVfqVfMCWdgRVdtrFyhK/rzrCCkbJFR6a0TW9cyDdAsNgRpR94h2it/t hEb0ViNjQkHZCCytMqW2tIhDUS+77R1sdFc9fj/Ko6XxZdu2z5KFY+87VXngNBDmmTWX M8aqaXWcBONASGHIwkQwaFCnU035+uyCSlhCROMWCAhHzPIVfMW4KSl7UKwBPClR/PRB DSq9Ym9E6kKHzg7BMstJ98g6EYf8Rd+ulmo9NSUsN14flvxMGbjdce1r39cQT0RlV0LU 3GGKmzO4zVOaG5iU53lPYPbGI0Y2FFGJuheSUI1G4X2drSY83OvQ2KtMYC3ki0YmgAdC qB4A== X-Gm-Message-State: AOJu0YyG4/inMEmmMy/EROoCEZHMXa6OewxNSnhe/syQy22K5kFlZ8Nd ET/hQu6mSuXCb0FyjxwSQWOYg6bqydgGoIKW7RbNCw2LQNrER3bANjtX7/ncr7c= X-Received: by 2002:a5d:62c6:0:b0:33a:febd:f1bb with SMTP id o6-20020a5d62c6000000b0033afebdf1bbmr659915wrv.33.1706858282218; Thu, 01 Feb 2024 23:18:02 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVX9Y+zLh8jP+uos0qelWWa7RYcG+vufyZ8JE1v5YdeSbhliA/oBkPpOd7x1g+fDkhcJgFYKoz9pi02ivCUjXoVOey32Sfu8zvAMQaE9bAmlMYKfUu2IatqZgj931a/6SRDOAdf90pbUvUDB/TaRzGcd1itGi8Pf0jsyAaFNdY55TN2F6wU0sBo6xf3lPhBypzoBnLU3F/6nIHLQs2BkWTOBCqkTuYcm7aH/Vcx5wGNR2wKkzbuPhdT/enpapPso90uQDqwYlq0ZekAvkd5uM8Ky7NfbMyxwlxH9AhpRhSYp4kBdCRhCtEiG9YAOyl7feFMxw6KfwoAQo84agcsNSVnxzfl7sw1QbEAa+nhpDnlBbrKAVWyEU9/IxiwBtk+FhBbnF218OzVJ5ff8liJSYGPF2J+ms2N2z6UjcL6OQya5iTYuKMkTLab0s9+tY1jhL8PTiyZ4ZnO6Bp+PJyEJ3jJQx8= Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id d22-20020adfa356000000b0033af51eafc6sm1244237wrb.104.2024.02.01.23.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 23:18:01 -0800 (PST) Date: Fri, 2 Feb 2024 08:17:58 +0100 From: Jiri Pirko To: Aahil Awatramani Cc: David Dillow , Mahesh Bandewar , Jay Vosburgh , Hangbin Liu , Andy Gospodarek , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Martin KaFai Lau , Herbert Xu , Daniel Borkmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v6] bonding: Add independent control state machine Message-ID: References: <20240129202741.3424902-1-aahila@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Thu, Feb 01, 2024 at 07:45:23PM CET, aahila@google.com wrote: >> Any chance we can have some coverage via self-tests? > >I plan to work on these self-tests decoupled from the current patch. > >> Hmm, I wonder how it makes sense to add new features here. This should >> rot. > >Could you clarify what you are suggesting here? Don't touch procfs here. > > >On Thu, Feb 1, 2024 at 8:28 AM Jiri Pirko wrote: >> >> Mon, Jan 29, 2024 at 09:27:41PM CET, aahila@google.com wrote: >> >> [...] >> >> >> >diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c >> >index 43be458422b3..95d88df94756 100644 >> >--- a/drivers/net/bonding/bond_procfs.c >> >+++ b/drivers/net/bonding/bond_procfs.c >> >@@ -154,6 +154,8 @@ static void bond_info_show_master(struct seq_file *seq) >> > (bond->params.lacp_active) ? "on" : "off"); >> > seq_printf(seq, "LACP rate: %s\n", >> > (bond->params.lacp_fast) ? "fast" : "slow"); >> >+ seq_printf(seq, "LACP coupled_control: %s\n", >> >+ (bond->params.coupled_control) ? "on" : "off"); >> >> Hmm, I wonder how it makes sense to add new features here. This should >> rot. >> >> >> > seq_printf(seq, "Min links: %d\n", bond->params.min_links); >> > optval = bond_opt_get_val(BOND_OPT_AD_SELECT, >> > bond->params.ad_select); >> >> [...]