Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp980404ybe; Thu, 19 Sep 2019 06:56:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqznsMZOvw2matCb08Q8QKBigPNi0sG0jgNCWICuTzjk3nklMcxUT+R/f5qvOeP0HoVB9e1h X-Received: by 2002:a05:6402:184d:: with SMTP id v13mr16655686edy.56.1568901408940; Thu, 19 Sep 2019 06:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568901408; cv=none; d=google.com; s=arc-20160816; b=M4gVEoBc9fqz1GHWZDNvlu6rd7e+/SUHoo6N7mlX0VMKX5+M/2ga7TjX16EUs5ZAYn /9zyZTt21fpEkRThc4rWRfUYv1PfPFBP9oTDcDBALRezefXWvBtO21yrJvWU9fP0UERz RTcwiNH0XpruKq/qmTcaHt3s4uSSLZFjD1FX0TqaWH3jVBwKmBwbW/w2RlogBsyFk0WR cn3Ifn0sGVBYQj3qfoDAaxiVpLfVkNWlskyTyMMuRMHSKHeOuNAHRdborNWp1gWgZ+lR rma4sIdZt0KBFYMAzqNWpycZqVGG4/4XTkjIeeIHET4vnjBS0BZxm+EB4Ouj5+oB5Re7 EAiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=DhoYuMq07cesznvC6dSF1t2vlrDbJmUm8CkTQRMXn+U=; b=f0GuajiiE5K+Xp4xEqqfPd0wZWe12DhaJjjvCsHdTj3ZRtU8TYchdIjUmmbyYAkALe wOlyuE504KZ5Xw8GdHRcDG5E3N3Uy3mgu9j4E+9HBqG1Q4iCPo6nrjIc2zB2rEfFrQaW sV2/IMJV9bGSY5B5/i7FE0ZMhPT7n47xy2SbLWY1uk3YG+CStumO+2LgjutchfX7ZfIr U0WoB8TTN4RhgzwgbV6kny+l63B9nLbwz9Whh1/rgNbMcxH/Fcodx0q01Q5c11Ihvy8X 3v8/cbPBQ/q/FDiUNa3CUDsb2haGJTs4UYAylYfEHtdo4wKltTujq6OJ42UntuK1Y/wQ eo5g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y47si5154024edd.236.2019.09.19.06.56.25; Thu, 19 Sep 2019 06:56:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389503AbfISMqe (ORCPT + 99 others); Thu, 19 Sep 2019 08:46:34 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2422 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387520AbfISMqe (ORCPT ); Thu, 19 Sep 2019 08:46:34 -0400 Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 05307FA15F673BD8CFC2; Thu, 19 Sep 2019 20:46:32 +0800 (CST) Received: from dggeme701-chm.china.huawei.com (10.1.199.97) by DGGEMM403-HUB.china.huawei.com (10.3.20.211) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 20:46:31 +0800 Received: from dggeme753-chm.china.huawei.com (10.3.19.99) by dggeme701-chm.china.huawei.com (10.1.199.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 20:46:31 +0800 Received: from dggeme753-chm.china.huawei.com ([10.7.64.70]) by dggeme753-chm.china.huawei.com ([10.7.64.70]) with mapi id 15.01.1713.004; Thu, 19 Sep 2019 20:46:31 +0800 From: "zhangsha (A)" To: Jay Vosburgh , "zaharov@selectel.ru" CC: "vfalico@gmail.com" , "andy@greyhouse.net" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , yuehaibing , hunongda , "Chenzhendong (alex)" Subject: RE: [PATCH v3] bonding: force enable lacp port after link state recovery for 802.3ad Thread-Topic: [PATCH v3] bonding: force enable lacp port after link state recovery for 802.3ad Thread-Index: AQHVbiHhj1lgrT2osES7x4pU2JseVqcxaH3AgAC46oCAAMB2EA== Date: Thu, 19 Sep 2019 12:46:31 +0000 Message-ID: References: <20190918130620.8556-1-zhangsha.zhang@huawei.com> <10098.1568880711@nyx> In-Reply-To: <10098.1568880711@nyx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.177.220.209] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmF5IFZvc2J1cmdoIFtt YWlsdG86amF5LnZvc2J1cmdoQGNhbm9uaWNhbC5jb21dDQo+IFNlbnQ6IDIwMTnlubQ55pyIMTnm l6UgMTY6MTINCj4gVG86IHpoYW5nc2hhIChBKSA8emhhbmdzaGEuemhhbmdAaHVhd2VpLmNvbT4N Cj4gQ2M6IHZmYWxpY29AZ21haWwuY29tOyBhbmR5QGdyZXlob3VzZS5uZXQ7IGRhdmVtQGRhdmVt bG9mdC5uZXQ7DQo+IG5ldGRldkB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtl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