Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp286315rdb; Thu, 1 Feb 2024 08:27:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmu0Uwp9xWT+R5JtauDy2Nu2OQZQJzYXEt46rG5WIuzKRSIK6yENc6cb8verROIRaPXcAj X-Received: by 2002:a05:6402:28a7:b0:55f:16d2:46a8 with SMTP id eg39-20020a05640228a700b0055f16d246a8mr5183660edb.3.1706804878710; Thu, 01 Feb 2024 08:27:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706804878; cv=pass; d=google.com; s=arc-20160816; b=OMPcFRN2H5H9PjfQ5tki9DiExYrzO+CSebz121nQIIJCTfwFo9Au2wimJaVnrx5+tR Tpv8phJ9jiFFptA+eVtbWztZmMFLBtoC8WuAxZHl1yb/B7mSPFnkqcPU34v2JvwWUH79 k3DqE7XPvSVBMCPJydopQwsYPrZKYn9W0kbDgqY3hJ3YwQxt6KOEejb5wVTc+ole9trh V1TJED1Ta8hr+hjuOe4R4GNXoXku+sjlTXMgWz2aGgcJkCNgUtI7PgTY3txiSHsVJCGU vUiZaImEdgKKuLebOP8L7XooqvyqcVHDfPejyQj5WmNuXGpDU2xXfT3tmlUEpufjP6Oh IXMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iNllvtHZDHAWtrtv2nUVEGYjjg2CQe0uH6p+qaHk/zI=; fh=f/TZ/UmBy/oPLOUuaeGzQaPXGK7Fc9V2s/LEYci+/ms=; b=KfumQbI4EzdOZ/TCaPqF3Uo6xACZPhXOdm5fbKWjtpGmKDtagXZu8Gy6ycqVVvKLaY 9Xv0Usa63KTs2iDxErKtcNXR1fy/8qIXUsX9IWvHPB+awkbH8PXrGyzod2fHH767f63q Iu3euM5A1RlLJxwkvChFyW8OPpOe6z1v5GlKYgLiMYJbA3uXKhW2h7kOnDIKk8gwr2k7 u0QcuBZIfW/P0KFXScLwAPxEEOVvD5PBoVmX1RegR0dI/4cgRNuqU7VS5ko2xPzwo6SZ melI58+578wXEXtp0WucCC2mKbz0lAhoefHupQPzGvPoLljdWPPLbwZb4BVeRmrxWwJH fkaQ==; 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=Rjktm5pU; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48521-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWfSP9v7O7KaXYR7TT2pEpB5m6UO2PFsjfTP3I9XZL+VAhPa/HkSov72btuSS2BIeyYU6KKLYBGxvhw3GYalXmHcjYeoZ3BOiugbDs7ew== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k17-20020a056402341100b0055ef3bf39bfsi4482478edc.186.2024.02.01.08.27.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:27:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=Rjktm5pU; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48521-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48521-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7323D1F20FE0 for ; Thu, 1 Feb 2024 16:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B1E47E0FC; Thu, 1 Feb 2024 16:26:49 +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="Rjktm5pU" Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (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 B68AC7E0E5 for ; Thu, 1 Feb 2024 16:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706804808; cv=none; b=TtXisq2HIUlMXLu2R0lzm13yaJ9U0EjesLrZzC/Yf95+HWGzeHluVfSCBsKApKqN919D7v74Q//t6/Y1GLupvSKOgb89oLPMPlc25cvb5NYjGnb2TYzaQ5P+je8D/4onlPK2K63CiiQWauUMI/TMOo2TK2RVsvLR7Yd/HykSeG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706804808; c=relaxed/simple; bh=S3AjnrNIx5BKudNt+FuYiHFiKF3Aoog4fHYyZ72OBkA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hG15K3x9coSWcmn8kRsqex2YHurxsTXNvgsIt3MYQcP0Fherlvc7zTuDW31arSb7qr8cCX4Cfd46X0f5PY3QDQLOwsvtje8mo7v8vL++Uc1VefB701Z56iiAKPJZTbtw1f2OZ1Bh0Yz3TGyuQwEzmb1pGYpgXWQWepTJSj89D64= 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=Rjktm5pU; arc=none smtp.client-ip=209.85.167.67 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-lf1-f67.google.com with SMTP id 2adb3069b0e04-510faac8c57so966577e87.1 for ; Thu, 01 Feb 2024 08:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706804805; x=1707409605; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=iNllvtHZDHAWtrtv2nUVEGYjjg2CQe0uH6p+qaHk/zI=; b=Rjktm5pUVyxOb60BFpT4J7/l7XAiVE49lWn3tmI560XqkqFWdPbfRfDCoaQ8/3gDrg BCK//eBXLFpLavkyk5ry0s250XSHU1gSOOpY6jU8WwXqgmd/ttNWpSmuEyQqTAyWDbL8 aGXK5pk7Xi7Z5v5VZ8IhhO1eJLZ94bzhZM4JQIGnIvEDlsgveOWSfELr/8q1Kh6rc+im 9om+BP8YU/V3yYXOVBBL0RidQ1TILUHs90aVgyUPLn9Xlsk+f5uKqu4wDme2+Qsh4snU OuZc/FpwCb7iSb7YOx4NgCU+6XJLy9NjBkAj74s1ricXtQwrr1XVTYwN2/+SGIOYyQ1V j7GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706804805; x=1707409605; h=in-reply-to: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=iNllvtHZDHAWtrtv2nUVEGYjjg2CQe0uH6p+qaHk/zI=; b=hd3D5dMd4C48qdqP9tpN5LT5UIJ0BGGM8k7iiIb3/5xd1zOvwBoVnE5mD6HvVXmZye 2nrqtmU4DsYlnDqkz2wPFvB5X3TXApjcZzneH32uKNyHjlbEzAkS+OKMZajeaIwm++et 5Qm7Dj1Q77jqC5W0LVYLO8eia3BAmvdsmocE4JitJxu5DdxuxRodURithLCkryrod0KZ j6fRsHGIfNqbSRCrfuL5L/0gol7amhPzjdnmDh2Kpap1qaIQe1j814+n/SLZ25tb7MuS 4XKtF5Y3a7cYOvDAa42fu9xdfMsSOnfMSCVci1YO7Qst+YyLFa652ThTW6GTYRGJarOb kTbA== X-Gm-Message-State: AOJu0YxZs+L8JXj+AOcRjjE2OMqffoZjPrvR8/sR4VgRIoTh+RSxqycz guHfq4jTVQ5jnbFJ8vmwFrICfRjrMpXJYB/lA1fwXKGZVvJQUxKmkCNEiXIGp+txMwhlX6oKhc5 Fql7wtg== X-Received: by 2002:a05:600c:3151:b0:40f:aabd:b83 with SMTP id h17-20020a05600c315100b0040faabd0b83mr4429255wmo.13.1706804501869; Thu, 01 Feb 2024 08:21:41 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU5l2dL8cK1cAB4grrA4V4D/XQXZKGpCwYEEgqMb5x2x4dcX8OR4UqDUNJHrfM/Iutif0muo/x0eAIkmpruVJZnVcs/yVyLqxI39v/alBmjYu2llkaZleZKNi4BNcDVCYzYsTDzuhgU/2EuwOjDZRJgMh8qO/us6VAOPZmnRo6b+n8aBxRVekETd5nBmkVhPgTvzDNc+cgtUoS4hGm3ef41cvU0uknmWbOvNYRMhr90Tw+0z6qHoGbYHnGj0JxhGFn5LnFDw2US/FhLgUITymjqLP1zAZuOLkSzweUB4SQworFLPUb64QcjksWzyPVI+hDEEDCXhPjUkJklVZ18BlRXw+iiv+Kyx0YTRI6g0oRH9nWI1SmaWKiC+OEZYhN2jkPtrvHzuuwxD3EzfixyEg8RJdwl/k034Il6jb83p5xV6j8keHt/nFByX83dtqLhVMqzG27njGZHXKGkc+YvoLDGVl0= Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id f6-20020a05600c154600b0040fa661ee82sm4903623wmg.44.2024.02.01.08.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:21:41 -0800 (PST) Date: Thu, 1 Feb 2024 17:21:38 +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=us-ascii Content-Disposition: inline In-Reply-To: <20240129202741.3424902-1-aahila@google.com> 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); [...]