Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1227584ybi; Fri, 24 May 2019 20:23:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWgzjIDZXfNcLYtZmu7+vnCV2UDrfCOlD0/VZe7Z9rhG2JCUyi4GXngu8MDfYFp5X3qwCg X-Received: by 2002:a17:90a:2ec3:: with SMTP id h3mr13877596pjs.101.1558754587312; Fri, 24 May 2019 20:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558754587; cv=none; d=google.com; s=arc-20160816; b=DTbF+/R3GPfJtijAVoNOUldGv8lLEcAfb/EBp9ow7HAPAvze8lrGjpGBd2rEE7XbGY nuvyEPsXlr83xqu1EmT8S44Umu9xopMRurqCwdwx8928gMSZQeLL1y0QfQ1k+kACgyN+ N/nLx+Bh9eS3Zwc6F0BPFR7JlidyVWCwT2HOwsKXiVyWEO7imX0Chl3XnlCsdJ5U/3pC xXcFyVvGolMviHA6F9xzUmpihAEsRK2UbOmlwUD47fR0wBFdqzjsMPz6yTlXKVH+0+tg ebCTBtiNil7Mn/HXdJMtdtjv+aWWTKVDWHByP8KVmomk1Gi3Y5kwpc9CALxMcLQJLLvI SePA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=bdo1M9gqmOhXhlHSycJUM91u4MQ0KIbOsKD6HFFRBPQ=; b=mZQ6sVUDKYJdp/4N4uvevvgGB4Rt9qRwD1tkMuskSP0m6u293Y0hQY9MqtpTAS8jEE X4PUDzR07Y284w/rdQC++LJL8gHErdzLp+RbBooQQVeUoRP1rjY3StfCXVoDq/s4qbnH 1k5JGdE7aMrIfZI93CQjsjVzwbU73T0+XGFL+Tuc9HG4DblpaX8S60SCca3ZA1o3Eyht 8ejaXrIF6fB0n4vTQ1X9YPSS6KcQCGmTKyZYjLTI4ZCqC/fC4u3uNn0ZuE2OIl1kd+TX Z2nEcO2ZTiDbqIJvjyHXh1uLYCqiy7eOrtTZ0nW4LRXL8UnnxgPexBYOCu9HnAhrribL 87uQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o10si6648220plk.368.2019.05.24.20.22.52; Fri, 24 May 2019 20:23:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbfEYDVu (ORCPT + 99 others); Fri, 24 May 2019 23:21:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57716 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726425AbfEYDVu (ORCPT ); Fri, 24 May 2019 23:21:50 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 015C8308424C; Sat, 25 May 2019 03:21:50 +0000 (UTC) Received: from Hades.local (dhcp-17-185.bos.redhat.com [10.18.17.185]) by smtp.corp.redhat.com (Postfix) with ESMTP id A4D13503EF; Sat, 25 May 2019 03:21:48 +0000 (UTC) Subject: Re: [PATCH net] bonding/802.3ad: fix slave link initialization transition states To: =?UTF-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS1?= =?UTF-8?B?4KS+4KSwKQ==?= , Jay Vosburgh Cc: linux-kernel@vger.kernel.org, Veaceslav Falico , Andy Gospodarek , "David S. Miller" , linux-netdev , Heesoon Kim References: <20190524134928.16834-1-jarod@redhat.com> <30882.1558732616@famine> From: Jarod Wilson Message-ID: Date: Fri, 24 May 2019 23:21:47 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Sat, 25 May 2019 03:21:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/24/19 6:38 PM, Mahesh Bandewar (महेश बंडेवार) wrote: > On Fri, May 24, 2019 at 2:17 PM Jay Vosburgh wrote: >> >> Jarod Wilson wrote: >> >>> Once in a while, with just the right timing, 802.3ad slaves will fail to >>> properly initialize, winding up in a weird state, with a partner system >>> mac address of 00:00:00:00:00:00. This started happening after a fix to >>> properly track link_failure_count tracking, where an 802.3ad slave that >>> reported itself as link up in the miimon code, but wasn't able to get a >>> valid speed/duplex, started getting set to BOND_LINK_FAIL instead of >>> BOND_LINK_DOWN. That was the proper thing to do for the general "my link >>> went down" case, but has created a link initialization race that can put >>> the interface in this odd state. >> > Are there any notification consequences because of this change? No, there shouldn't be, it just makes initial link-up cleaner, everything during runtime once the link is initialized should remain the same. -- Jarod Wilson jarod@redhat.com