From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2937B4318A; Tue, 17 Oct 2023 11:25:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C22F40EE7; Tue, 17 Oct 2023 11:25:18 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2118.outbound.protection.outlook.com [40.107.244.118]) by mails.dpdk.org (Postfix) with ESMTP id 7AD2E40273 for ; Tue, 17 Oct 2023 11:25:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GmSkZKPQNhfVduqG/qNYwbQJazKZPA4V5cujjl18C4kLDa8+LVQKRTjjuMsfN17MQ6LHe2NdVtYn052AYLNR05f0bb3xLoZwtUR5BZmDfOVoCZjdp6LXDUUgrQQBHnqhUKDec2zA5bsCIXCYvwAnE4nWePQqCtS2QZCV4z6ThMMgUGe/6bNtSrEPI5ekvVWDGisVI44g1gwQJyIy2Ce6NP1tyoIa8zMDS1oW/TPdkKHBZ2Kllt3t4Kuw/6/wEBiJmid4tPL8A0Y2zv13dfTaX07jvP1qCQOfyqXRvm2fBgAG5S0QEDFPOzVVhYaysDFPp6vroyqV1FBwwtzCjUTl/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UVXKIN1OfVMyaTHlEtAimm22yXuNZfQLmjUsZ6pM0JI=; b=oaaIwwjXpMbYKKw0usbvkZZ9FNARt3XtmBw0PCS6UbQKOtU4iqwvhDbKdBr2S1Txt41nH5jWUTaxi7l7CG/i8CGFOopJzm7c9x0dzgHGIg/xWHRmeScUdOAidAJaWt84rbEWsRQk9t8ceQLmn9YHczOVT+qPwcMDgfYAqjYYBx95pTNWTM2N8juUD4Mev2qvZ3e0Gnrsxec+3VEZbT+Urt+dA6qJABKfGTXBkanhhh8LEQYuV7nK6H07/Od9o3O6yEiZ52QKD9KwyI2zzdxU7TG4idGhRMexzV6x4CMdb7wrBIdKwLtlI+Y3xSMiEBaV+f4V36Qd5ItAcOzU3NPswQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UVXKIN1OfVMyaTHlEtAimm22yXuNZfQLmjUsZ6pM0JI=; b=chdSOgb9Cq4W/JEZNUeD2RuIadMHkyy5OSlWdiMefgIqV66NibbtAQDfBLKL8pCSLmAweMTguIt9wZrHZ1i9l6zjNjB8qRI/fL89iQ89AXLJ6n27qlYbHg47/v+VAEgDUMdC2mF9yn712y8Xr2Dxzq0AqUvY2Xll5/KwgOYIJpU= Received: from PH0PR13MB5568.namprd13.prod.outlook.com (2603:10b6:510:12b::16) by CH2PR13MB3768.namprd13.prod.outlook.com (2603:10b6:610:95::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Tue, 17 Oct 2023 09:25:12 +0000 Received: from PH0PR13MB5568.namprd13.prod.outlook.com ([fe80::b070:92e1:931e:fee7]) by PH0PR13MB5568.namprd13.prod.outlook.com ([fe80::b070:92e1:931e:fee7%4]) with mapi id 15.20.6863.047; Tue, 17 Oct 2023 09:25:12 +0000 From: Chaoyong He To: "lihuisong (C)" , "dev@dpdk.org" CC: oss-drivers , Long Wu Subject: RE: [PATCH v3 7/8] net/bonding: support checking valid bonding port ID Thread-Topic: [PATCH v3 7/8] net/bonding: support checking valid bonding port ID Thread-Index: AQHZ+Yn6A4qzgakM/0K0lsFdkgcHgrBNth0AgAAMedA= Date: Tue, 17 Oct 2023 09:25:12 +0000 Message-ID: References: <20231007013440.1309422-1-chaoyong.he@corigine.com> <20231008015041.1551165-1-chaoyong.he@corigine.com> <20231008015041.1551165-8-chaoyong.he@corigine.com> <9d3ed36d-5fd1-3a13-82ee-9bd955a10b0f@huawei.com> In-Reply-To: <9d3ed36d-5fd1-3a13-82ee-9bd955a10b0f@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR13MB5568:EE_|CH2PR13MB3768:EE_ x-ms-office365-filtering-correlation-id: 07b20a80-12c3-4aa5-ebe9-08dbcef2f6e8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2fmmRKl+QUVvqNNW/boXn9XTmeL7lElk50a22FusXuImrVmY0FvSjZsItOvMzZW9JqhDtwFMSYvCP0SOYkViPbz9eBEy3I9crQ7kPg0C9ApcHiUnP6batK3I2eKeCXm+vJRQ6zllzxdY16jxvGJ4PlpqTMwaJz3u1KhP/J4ld83hqbHQqmGcG1rerIEd/7mnyDJpQcgFsAYyfRs34IUejV3qORWGB/wR0r532VgQrQYArqdgjT35W403M/wvnSuwv6jG+5+4rhmqkcZp/shrVswjID6GNs1N4hdAvO59P38ytwSNWhUTJ7XoPPLmuVGegEMXX+SU4uDESrtec/IuSZ3vRSJQRaXRT6TbY4xhh6OAeyy9gTMj/QunKIFM2lgrmWBq/Q1LppWVKx/81OUdcSwV9uAYrhPuEdYuftoCPXirUb+z+K4nsWQcbvrBAQwm9xbA5BvUJeGkoaLsBHPVfKfmL8akCJrYwSQ7YEl4zU0x7K42NOfzt7Qce/bXETlT7WyAlBq4YOq5brNOhqaD1LGu/zzPiPCTeVm2uAlD5wrI0T/NAu4NMc5cTElfp7bdfb16EiYNGIs15zwbaWv3efYuEWaKXcl3iScH/zQGih4J9HsEKO9QPaNZfCtC9kuia+Bg5DxaShrWAYDzbAW2tdHjttvHsyObxurx9fCnLG4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR13MB5568.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(136003)(39830400003)(366004)(346002)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(8936002)(26005)(107886003)(66476007)(64756008)(2906002)(66556008)(54906003)(66946007)(66446008)(33656002)(86362001)(110136005)(55016003)(76116006)(5660300002)(44832011)(478600001)(7696005)(4326008)(52536014)(41300700001)(8676002)(71200400001)(316002)(38100700002)(122000001)(38070700005)(9686003)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eFpIU2dFWW1CUzRlTm52OGRCQkluS0JHR3FncTEyMlljMHVuQ2hjQXZ3cWk3?= =?utf-8?B?MExMby9mZXR1R0ZqSXRwb2k0VFZxZmJ6MTMxbnNTQTFXME12bGpzbVdUNldO?= =?utf-8?B?MkpTZGFTSG9WRTFoU0toZ2QzUTZQY1BzMHpFV1VqMHlpbm8yZTZCZHVtMGxX?= =?utf-8?B?dzQzczFJRjdqRlR1ZE52aHIxSituSFZOUm1HUnI4ekNVYmlGT3F4QzJReTBw?= =?utf-8?B?RFREVm1IaFpuRDJVZDhrSlJZQSs0MGx1U1o5SXAvdGdNcjIzYjdmdS9LeHMx?= =?utf-8?B?akFicWxZZHNoa0syL01nb3RjUWdtMHpMSGdneFg4V25yOFFUVXFDWWlXY1lx?= =?utf-8?B?cDRvT2hheG5XVDhUbGd1Y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-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB5568.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07b20a80-12c3-4aa5-ebe9-08dbcef2f6e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2023 09:25:12.2657 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VsE/eiCi3ziASqWLKMjnlLkIAhiQJcd/5xgthSJf3tM7AyYyE/JKHE+wny+hdSIqL8+2RpltCW+bUZ+dZ25M7jqPOnUvENJZzVcrsnnuZ9w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3768 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBIaSBDaGFveW9uZywNCj4gDQo+IEl0IGlzIGJldHRlciB0byBzZXBhcmF0ZSBwYXRjaCAzLzgg YW5kIHBhdGNoIDYvOCBmcm9tIHRoaXMgc2VyaWVzLg0KDQpUaGUgcGF0Y2ggMy84IGlzIG9rYXkg dG8gc2VwYXJhdGUsIHRoZXJlIGlzIG5vIHByb2JsZW0uDQpCdXQgaWYgcGF0Y2ggNi84IGJlIGEg c2VwYXJhdGUgcGF0Y2gsIHRoaXMgcGF0Y2ggc2VyaWVzIHdpbGwgbmVlZCBkZXBlbmQgb24gaXQu DQpJJ20gbm90IHN1cmUgaWYgdGhhdCBpcyBva2F5Pw0KDQo+IA0KPiDlnKggMjAyMy8xMC84IDk6 NTAsIENoYW95b25nIEhlIOWGmemBkzoNCj4gPiBGcm9tOiBMb25nIFd1IDxs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