Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp370173rdb; Thu, 1 Feb 2024 10:45:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeyFIPd5/51vjCCRGxjRnsu5iI2FCnesc94xe8pff/dbmnjEyM9mHlhcV/Dl9ZNbuLVvHT X-Received: by 2002:a05:6a20:1930:b0:18b:902f:892 with SMTP id bv48-20020a056a20193000b0018b902f0892mr5034928pzb.40.1706813150415; Thu, 01 Feb 2024 10:45:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706813150; cv=pass; d=google.com; s=arc-20160816; b=p+vaZZecyIuuRa/oU6b4u+47omKMZi8dk8Utb8ybWDW5qdF5/4eyDbh4UMmeJ57Alf RQp2hlHEOb8T9HuenplWqpwWBJp7E7wjN9bB6NUG9OsdhEJJKFD6GNpBC3SOdrW9KSZq lCIdc7/lxuGERzjh+grWJPy2RRIumTTQMM+32xyKnKH+DvnhaElHs0yJ1odnCVTZrxX4 cSBHTeJugO1s+y4SSUFHwzH+i9QrrAOxnzvWWLjgkuVF45BDvo0x40AM9p7etShYj6eX 1/KLX1xEdMMF9/EWichZpn28zIJNpSlyvJHUquA83dUR83V6jMMde5J4Nk5LZdV0D6BE +8tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=KX+XzKo3hA/FKch3SlJ9SoxyEE2YWPNWjBbiP8ff5mw=; fh=OJuBvZD7FPFwzrafOoKmyOmD4l9/EIrzE4HmTt/NHOw=; b=pgNuX0hSGH3cmmspn69j8Use5rC5eNTqug70caS+Qh5RfCU6b0Cdvl0rcbzMim3yew HK7UZrLax78UGPbY0RSmwBZVLLwWRxGkvAMApenYdKQCgBJjbkB/lOaW/s9g3OzGcYvB 2JXycn7Mpq5cBmr7FPdogQCulKOARDBmiCTbInH+xq4FfHP8BFgvmo7VFszgs0AV4HRF 2+FyWksOJq54lSGNI2/lTlnfuSOEZzlNnhETpnHTqoOar6mJVVh2diiSFhTXPnkj78tc JqJlbvaMyJhLYrDqPVRfOI2T38/GjAFcvBGQmXS/mIKwUFowPeVx1/PZ9MxApMTBOaFr QL3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="Yq0/h8Rf"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-48719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=1; AJvYcCVRw2NFPzUqwTzHo7Onletj32WPS9ocnt00G/DJcomPisDH7kGg4rnl4bpcNPVex7LtdfejFZlA2D3joLyffDIxS70TQymhv1AhqYPbZg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d3-20020a056a0010c300b006dde19538e2si92267pfu.343.2024.02.01.10.45.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:45:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="Yq0/h8Rf"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-48719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1206D2888D4 for ; Thu, 1 Feb 2024 18:45:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60DCD84055; Thu, 1 Feb 2024 18:45:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Yq0/h8Rf" Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (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 6674E7C6C9 for ; Thu, 1 Feb 2024 18:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706813138; cv=none; b=INZoN+We4fdPAAxjwng5aKRXMcWsJDD3JOehByCgB7RAccOJ/Fa0enpBeWrrpP+2osnF3UF2P+WIUgl/SPaPRM5ExO8BFmcu91n4jBSS79tsV4qjkI0DmSy+Md17P2lXtX41cQKvmvM0+KElW27lIje0pw1aed7Z2f1yjkDK4RI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706813138; c=relaxed/simple; bh=WLN/I8zDIYv90emnu+BrvNcZrC5OZrKJETTsJYXnWTQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OMHFLmkDHI+koQl+RexiFtWtc67r52b+IBAdnEPdwkFghaxgjJPMIyRt086xuOQ44tnzfp8vx3mYzf2knQrduHKorx5CREdPlLEiK0Io4ArXPYxOBIDzJv/Jc8gJ3XTkIuHXoVy0QcENnI4RZg8FLpEvW9ybKX0n13mZvvTrZTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Yq0/h8Rf; arc=none smtp.client-ip=209.85.222.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-7d2e007751eso706745241.1 for ; Thu, 01 Feb 2024 10:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706813135; x=1707417935; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KX+XzKo3hA/FKch3SlJ9SoxyEE2YWPNWjBbiP8ff5mw=; b=Yq0/h8Rf6nn6jo/4ybGWe1xHTJ1V5gpN9w9PX/Lz9TsjE2/EleA74R2zrXGdq/494V psqKdEcVY7P1O78zXptHzfIPfdpKmU0eC9bsohiOmGcwr5Gy2riFENzZx/3iHEO4qMbk EsFq4Fn7KrjNtCZXRQehuu9fK8WLB1Jd+reV2GuYfybOT23JzgK2uHUZ8/YxdH42IAks PHJ8T+Pl1fH7LSY8dVb91uApi/IyfzNAVSXkwSvEVS/rtpUvyJgaU72VANN51jjcBxaX HSCPbfdHxgT+9gWYkMoA+08IYETFwaNjgmKp0u6YVX6TNJ1B2nUBqVhfNmtN0CjPLvko Sujg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706813135; x=1707417935; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KX+XzKo3hA/FKch3SlJ9SoxyEE2YWPNWjBbiP8ff5mw=; b=cOuqG+qyfXq3a2DJDLu18fwVOUYRLPAB5EqmcLRE8m7Qc5JjO8nYm91G/mDFuI9jKH +/sgYyaSyqg0XwWpVo19EVAoLaMYIZORWorwZ/vOjdKJqJ6DzfbRrgBMBME/vq+pMX86 EmNFCENYnHsRemjS005hb2WQnP6jWUaca2ljiOAdWEEpk5oQif7hZsQ76nYq/PJ7eEuw izdvkPbmGBS2BUP/69rzM+vi+HYOGRzpD8uZB2Aw7umGBFkYmYwaZDZPxZh3DSC0i8v4 j8eSpDwfaQSyVhWc/oGTepmJ+BFWmEtk/+7j/YGUuJX6iy8I3BZjEMSWXLXehhEFRlY7 UWlA== X-Gm-Message-State: AOJu0YxVnACGkOrIeXlIl5KfIWp4OvC+p2JCUDpp1e0jNBx2HiAUF1zY uubHXm6SlTpBfzplmD0808wxJLwBmw4l47K3eFeCUH0jDtho922N+ohR8CfyTJkwOjkMFnfZ3qf hgcRWQm7r3G5t8HMaYOV7n7k/DkDKQA/hCU56 X-Received: by 2002:a67:ad12:0:b0:46b:3a27:9895 with SMTP id t18-20020a67ad12000000b0046b3a279895mr6007237vsl.14.1706813135051; Thu, 01 Feb 2024 10:45:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240129202741.3424902-1-aahila@google.com> In-Reply-To: From: Aahil Awatramani Date: Thu, 1 Feb 2024 10:45:23 -0800 Message-ID: Subject: Re: [PATCH net-next v6] bonding: Add independent control state machine To: Jiri Pirko 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 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? On Thu, Feb 1, 2024 at 8:28=E2=80=AFAM 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/bon= d_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 *s= eq) > > (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 =3D bond_opt_get_val(BOND_OPT_AD_SELECT, > > bond->params.ad_select); > > [...]