Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1307680ybl; Thu, 22 Aug 2019 12:25:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrYxMglr+ccbuhhnlYVaYQro2DBoIJFrEz7jmcrVW1xvs7FcXlpAsxhlJAn3G3ZIrflQTv X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr1299417pjp.103.1566501939738; Thu, 22 Aug 2019 12:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566501939; cv=none; d=google.com; s=arc-20160816; b=0AKOeAueeDIWbQLdjxdXlstiswzipyRde18k8Vdg3WYGR++adKr0u7Q4PugPWlY/qn cQPZgKRf7fRLdYxG5tsKd8sPgxKuFCbPh15vlmQgtNhnJN9J49e9Plmcs7f1L9Ij+ywV SFsMiuJuPTp7fYcUwR1/wYdIYabiMg9dQYIQmwc9W+V4E0MkTs8kWyRIq/ed2+n/7jeq ML6i0/xG3QTIQOozUo1CGoCiQfvqZ9gz9UjO8qQGHekTne0gW5tE9qLQEtqDBmTX65z+ ZIlNF3tozMJnHo1mMkihkdI7xiKtoTZo80KlV98qDcTJIypShhgmejiyuepBbi8+3RWz /iaQ== 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=c5/Wd4aW2SR0bZO6S9Cj+HeakVXJLpcQcJR2cm6v0Es=; b=i4jTifpLEkkmhA7O/EvJmioPbHJa3vuGUuFiuLY17OpY64hAd8kKvWqp3J5bW7ce8i qw8x2MOQc8xSRQiBMwO+5gVFTEBtBK/2vTR4ZKrU4AGERLcbkkNOD1cyEdFCKoEjM73R jo0hCIMcF0KPlq6Y++aEjaxZEgr5qPZx+m/ZV+9gyo5c3yWGdM7U1Tcz7ScSelj5rek6 C8bH/ljF6tqUm/pazGqc4Nbe4LB5zZF6sOM5j5UXD284IdbI63DPFUJlSqQP5zZsHH7v K6V5n16FLcP+hoOHpxA5Xl6xY99Jq2hx+vQ8EH40QQnzACDindOCHD9wfV81bVDYgjbt aUJw== 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 g5si454804pjp.10.2019.08.22.12.25.25; Thu, 22 Aug 2019 12:25:39 -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 S2388328AbfHVOdV (ORCPT + 99 others); Thu, 22 Aug 2019 10:33:21 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3947 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725886AbfHVOdV (ORCPT ); Thu, 22 Aug 2019 10:33:21 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 57833C69CDDBA8AEFD72; Thu, 22 Aug 2019 22:33:15 +0800 (CST) Received: from dggeme704-chm.china.huawei.com (10.1.199.100) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 22 Aug 2019 22:33:14 +0800 Received: from dggeme753-chm.china.huawei.com (10.3.19.99) by dggeme704-chm.china.huawei.com (10.1.199.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 22 Aug 2019 22:33:14 +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.1591.008; Thu, 22 Aug 2019 22:33:14 +0800 From: "zhangsha (A)" To: Jay Vosburgh 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] bonding: force enable lacp port after link state recovery for 802.3ad Thread-Topic: [PATCH] bonding: force enable lacp port after link state recovery for 802.3ad Thread-Index: AQHVV1yNiE92g/fPt0eCCAQnmCU0dqcEJTkAgAMVw0A= Date: Thu, 22 Aug 2019 14:33:14 +0000 Message-ID: References: <20190820133822.2508-1-zhangsha.zhang@huawei.com> <27042.1566342874@famine> In-Reply-To: <27042.1566342874@famine> 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="gb2312" 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+IFNlbnQ6IDIwMTnE6jjUwjIxyNUg NzoxNQ0KPiBUbzogemhhbmdzaGEgKEEpIDx6aGFuZ3NoYS56aGFuZ0BodWF3ZWkuY29tPg0KPiBD YzogdmZhbGljb0BnbWFpbC5jb207IGFuZHlAZ3JleWhvdXNlLm5ldDsgZGF2ZW1AZGF2ZW1sb2Z0 Lm5ldDsNCj4gbmV0ZGV2QHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVs Lm9yZzsgeXVlaGFpYmluZw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