Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2038682lqe; Tue, 9 Apr 2024 07:59:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkzpNJPa5dLv9k8qRswadBsKWndfrNkkx7wBTAxoLZ4u5Z2y/yH817BXKqzz8xUfTDjc0Oxnx04GWSRzF07a8uUavwubIdZOgWO7pEvQ== X-Google-Smtp-Source: AGHT+IHPVYUbW791Uw4oytaj+KneclGj6rp9yQvvSemQqcegKbwOZANsBr8XocXeVcfvy5wKscbp X-Received: by 2002:a17:902:ea03:b0:1e2:3e7f:3b08 with SMTP id s3-20020a170902ea0300b001e23e7f3b08mr13289417plg.38.1712674750232; Tue, 09 Apr 2024 07:59:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712674750; cv=pass; d=google.com; s=arc-20160816; b=Z8TONhT4K7sjJ3hVh8YUm44MWnTAPe4qiEjlSlqzXt+ShPzp0r+51lANe6uqH5Z+5u pTJHRhUumeU7nye+KFvfGgJkW6q5y+zrGFqLS270dakYxmf3H6kYzellpeyfoj/jO53P ZduGBuwoz9Tf9yBqOTxkFfA4Ge9nWPRv+46hUGOurQsJ3yadSd+TA2HG1h0cyGcFFK+R G1KK8SR0FIFqBTmGx8YX69a5DvaMhTvLqkQZQjc7KrhLtnwnjJ8R4S15ah5TdfbDHZ+s 5JDxc1C3J8NhhQwUyiUGc1hb5pdxtBZTcAnx0zweL7zh+M4F59nTmHVscHgOW9Ld4NPx rLoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=A+WiBy4FWOTGoEXIkyBK/Nx+ZoOsHqXAWe7RJ7TXREo=; fh=WuwT32WYQ8FbdqjyuRTM6W3k/3KlRy9Fxrg+/ExT6DA=; b=w+nj/aiO/M5uiPTUtJkx7m2uI9S7otRXiCSa9i3JAbkuueCWKcSYWAN9YUcSgwHyPA yaF8FQNTecd/lV4X7i3TiHvxBNtqmpfKLbMpn+U0MApXt39PkY54xFEwQ8MLyyX0oQ/A BvgeSYL99X3Anu3d9bNoINRWiJ83BBPDPzrDK4fmEzKa5HTQk9jc5BWHYvqB2iYBJdjO 9TFvFQITk9ORh2WSQ/KksUhVOmQmpg86SLmqh+bv/VwbEiUvm4WMxxZrUpl36UcCEDro Mr1fqWlCqN4DjD9LXnF7DgLhe/FT19hQa0kduMDgwerfPnbuFA6cFz7RwzZfXFrgwSK8 YCVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tgXNWeb3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tgXNWeb3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-137099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137099-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d16-20020a170902ced000b001dda51f5c08si1460859plg.31.2024.04.09.07.59.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:59:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tgXNWeb3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tgXNWeb3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-137099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137099-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1EDBFB248B1 for ; Tue, 9 Apr 2024 14:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 136CC374D9; Tue, 9 Apr 2024 14:34:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="tgXNWeb3"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="MAY6r94R"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="tgXNWeb3"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="MAY6r94R" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 A06FEF9CF; Tue, 9 Apr 2024 14:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712673269; cv=none; b=o0r18jbwxSmLnuUVAeSIUnWtkmDiKHwRam/U+cO9bCW/a+ZfrupjpN6sGtcBIdyrS1lTckLk9qqw3yN8apqLiqJetRkR7jlcKDCI3fmiaOtdTPvrVifwngVqTdpotO5AlEBJT7bPsxKsILJ0A+dvqJ0F8oWzsRsdwICuYR14VIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712673269; c=relaxed/simple; bh=kcqnmPfj42U746vkM5YOoaKWmnT4KJ27OYdFBzpj7Eo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gwxEnkcnPkoZECgNjkLS4xbeVPnKG5xB2UUs349qhSNWi1hd/5NdZhj46ng153Yl5OVyYob9kDnveE5rf/0sLudszcjacnoIOzLfbxysUzYW3D4qVMhqgoWTeMRyztIsLpHvjQJRuOF6kLR2WoxRG3ikc7A1TFAmd26W2SusgKQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=tgXNWeb3; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=MAY6r94R; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=tgXNWeb3; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=MAY6r94R; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from samweis (unknown [10.149.242.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9C1FC20A58; Tue, 9 Apr 2024 14:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712673265; h=from:from:reply-to: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=A+WiBy4FWOTGoEXIkyBK/Nx+ZoOsHqXAWe7RJ7TXREo=; b=tgXNWeb3iNYRlHRoEvwbEW0ZcGojI7VHUZY6IzhAmgaOB4RQb8osAsFspffvf2k+trjS/0 vhJuoMSRNRNRj299R03/NYfr9S/ev3EIRewBGRzKp9udnvD4XTIAtPMZm922xayaCEXUma mnycau+Dsen6ElM46Q/C1hsqHGAKMD4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712673265; h=from:from:reply-to: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=A+WiBy4FWOTGoEXIkyBK/Nx+ZoOsHqXAWe7RJ7TXREo=; b=MAY6r94RZJOfjDRppCA//rRkzAC5G3yAyALE+lYTm3jhHWuKJLNdRPbh54UL3RyUfAoTFx QUKxrOP7etkekRBw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712673265; h=from:from:reply-to: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=A+WiBy4FWOTGoEXIkyBK/Nx+ZoOsHqXAWe7RJ7TXREo=; b=tgXNWeb3iNYRlHRoEvwbEW0ZcGojI7VHUZY6IzhAmgaOB4RQb8osAsFspffvf2k+trjS/0 vhJuoMSRNRNRj299R03/NYfr9S/ev3EIRewBGRzKp9udnvD4XTIAtPMZm922xayaCEXUma mnycau+Dsen6ElM46Q/C1hsqHGAKMD4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712673265; h=from:from:reply-to: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=A+WiBy4FWOTGoEXIkyBK/Nx+ZoOsHqXAWe7RJ7TXREo=; b=MAY6r94RZJOfjDRppCA//rRkzAC5G3yAyALE+lYTm3jhHWuKJLNdRPbh54UL3RyUfAoTFx QUKxrOP7etkekRBw== Date: Tue, 9 Apr 2024 16:34:23 +0200 From: Thomas Bogendoerfer To: Simon Horman Cc: Jay Vosburgh , Andy Gospodarek , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] bonding: 802.3ad: Avoid packet loss when switching aggregator Message-ID: <20240409163423.7d0b8fe9@samweis> In-Reply-To: <20240406160354.GW26556@kernel.org> References: <20240404114908.134034-1-tbogendoerfer@suse.de> <20240406160354.GW26556@kernel.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-suse-linux-gnu) 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-Transfer-Encoding: quoted-printable X-Spam-Flag: NO X-Spam-Score: -2.30 X-Spam-Level: X-Spamd-Result: default: False [-2.30 / 50.00]; BAYES_HAM(-3.00)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_CC(0.00)[gmail.com,greyhouse.net,davemloft.net,google.com,kernel.org,redhat.com,vger.kernel.org]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[] On Sat, 6 Apr 2024 17:03:54 +0100 Simon Horman wrote: > On Thu, Apr 04, 2024 at 01:49:08PM +0200, Thomas Bogendoerfer wrote: > > If selection logic decides to switch to a new aggregator it disables > > all ports of the old aggregator, but doesn't enable ports on > > the new aggregator. These ports will eventually be enabled when > > the next LACPDU is received, which might take some time and without an > > active port transmitted frames are dropped. Avoid this by enabling > > already collected ports of the new aggregator immediately. > >=20 > > Signed-off-by: Thomas Bogendoerfer =20 >=20 > Hi Thomas, >=20 > I will leave the technical review to Jay and others. But as a fix, I thi= nk > this patch warrants a Fixes tag. It should be sufficient to respond to th= is > email thread with an appropriate tag. current behavior is older than our git tree. So should I really add Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") ? Thomas. --=20 SUSE Software Solutions Germany GmbH HRB 36809 (AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Ivo Totev, Andrew McDonald, Werner Knoblich