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 516A7A0542; Wed, 26 Oct 2022 10:38:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA53540A7F; Wed, 26 Oct 2022 10:38:49 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id F31EC400D6 for ; Wed, 26 Oct 2022 10:38:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666773528; x=1698309528; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=KpPX7RMYmG6mr5FYAzVA4CWZB0wdZbE6HbAq4V4XuOo=; b=TVH4nb6I95oaukz0D6OSE8ghdv21J1z71rzvg5N6Izkc+8nNgbuNdj/7 bCR6oYe1Gic1aDfEu7n4DXa7aNryDDzQapsEmoqmzCkK9jIX/lWBUUOsD IXi8qCTpX8QFFzuC3LT7ZP+s90odsKc73yC1k/aeKOfPm4xMSURyD0bAR avubigWJ9t5kAeDwskHKDGffdWgB1oHJxvLXkvVb4dnIIUeIVcwTSisJw q4kDN8aUDqHXDVo4QYS3QBLJZTy4N7+DpoSQw9FsDeenRTw+zViAaIOgW e4r27L9QnKb46+ZjnkijibSQMKjuWzwiZWM1hul/bUR1F5wTMELKmPAs9 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="295302143" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="295302143" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 01:38:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="631928562" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="631928562" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP; 26 Oct 2022 01:38:46 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 26 Oct 2022 01:38:46 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 26 Oct 2022 01:38:45 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 26 Oct 2022 01:38:45 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 26 Oct 2022 01:38:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sok/FtQO2/VehKiynOaQdxl7h+WPsmjwWBZDNoON9/ekCnMrOnSoHy0BZC950RjIh2N/pd3wmhGYlfJtJBS8iYCXvfAntwvFJcaiLpJ6+9aV2mLhPLjVLAhZCFHD2fQaDBFIQqG2mPw/cGv5lopOyzy60LjT3EGFPJYsK12HB9o5aBSKDkx8rDbT0uxdyH/mOn2uKxpphCiczt9G+VOCGHY4J1Mzcer3ia/xkMF36T9JOFiS5Frq0OzLm0CYfjLXbBlfHp+2fhvYaf+CYUnO5kt7eShTpQa7OltZiqY6Ki3T788StLAJcSQp+vYjKf/9HFJpj4jL4EhnVbMNcgRe2Q== 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=KpPX7RMYmG6mr5FYAzVA4CWZB0wdZbE6HbAq4V4XuOo=; b=E/v6M3PFJ/u5jeyisD/aA9c/kIzETBB9umwimVp2mhF5ie/PcpB+Gs93ohA7WybC2l/09zfX29MM+01crjwDy7alntah9EH/yPSFEWIUZENcPNQrmAHI1qc6Vzt2bjvLgjJ64/w7isfu4gXwjIRmj7MXdobHRYmXlZywS3LRPhBamMmn7tOwnxDnajwRNWSI3Nh9crAt+d68tbXrz4zTwVj5qTrj33+hgci6guEV8LuPR6lOnTTuilPy+NVp7cOPcWlrfXrz558uiJq9j1OsSlm6+lriZoXf8yoFMewVRbFt6rQN9OJ652NUPPnssqqJX3QuCh+D++b2zn9UvgmbXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from LV2PR11MB5997.namprd11.prod.outlook.com (2603:10b6:408:17f::10) by MN2PR11MB4552.namprd11.prod.outlook.com (2603:10b6:208:263::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Wed, 26 Oct 2022 08:38:39 +0000 Received: from LV2PR11MB5997.namprd11.prod.outlook.com ([fe80::9171:8787:3991:bec0]) by LV2PR11MB5997.namprd11.prod.outlook.com ([fe80::9171:8787:3991:bec0%6]) with mapi id 15.20.5746.021; Wed, 26 Oct 2022 08:38:38 +0000 From: "Xing, Beilei" To: Andrew Rybchenko , "Guo, Junfeng" , "Zhang, Qi Z" , "Wu, Jingjing" CC: "dev@dpdk.org" , "Li, Xiaoyun" Subject: RE: [PATCH v11 05/18] net/idpf: add support for device start and stop Thread-Topic: [PATCH v11 05/18] net/idpf: add support for device start and stop Thread-Index: AQHY56qLhHGUSH7l7kGvw5L+hn97Ma4e3u6AgAF9krA= Date: Wed, 26 Oct 2022 08:38:38 +0000 Message-ID: References: <20221024130134.1046536-2-junfeng.guo@intel.com> <20221024131227.1062446-1-junfeng.guo@intel.com> <20221024131227.1062446-6-junfeng.guo@intel.com> <8a91a821-c40d-24cf-1912-6ba4607c081c@oktetlabs.ru> In-Reply-To: <8a91a821-c40d-24cf-1912-6ba4607c081c@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV2PR11MB5997:EE_|MN2PR11MB4552:EE_ x-ms-office365-filtering-correlation-id: c2d6b085-5beb-4a9f-b94a-08dab72d7ad7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L+x+AuLO5mPiGys6sZdnQ4foA6as6NyLgY7x0MC0TLOXxmuk/shrdvZ+IdjuIY1LKKcbMvnChg2Gl/s58l434Nc3EgqfV9Hj9G31h2Ec2dzIDXUtEfn06owLgWIGNai983pGWjtPzIifOwmKGfmIdOrSO63XQGGMMXsBpObHc725/L15CMGfoyHpNm7ZOshW2m1IJyesrVwqpC5xVm77kTasVi7jZgwZ/85aWYdjR8qrMgIUyteAIXlHG/bS+x6VXG4rg+exvnpksGbhRmtRt2Q94lNkwp79uA8lzQNtaTMt3WBqsX5vC2NLaNI6LupAPxpYiX5/M1oSP0H3AkmtddTNoh1gJk2RmDndqnOcQyxy0JmUSrkbUUHVAC0T60ZDpYMnBzz6Mn4VQnJvFxoH/4jAcysqkQi7D3F45wU8k9Ysnd3MZ+ZbIBZSxrkvXWPAG3zINnKJ8VYxho+BnzkkuzHD2ohgvm3ls6fKN+czYBGd+okxdsKICg1Iair5rqBeUXoZG3w5olsMT8M8rLEPWJjYdYBlqsjvbfmbnF4qVy/StJmIdsL7DLCtg/UEN0ARsfzUcd5Yd5/heT1uA5s/lha2hJYfA76OxuYa3ByFTIokDmrOAbbHNT0JyzCsQg0Mgp/fYB7rI2Cb+lQdcxL7/Q92zIyda89I2zCCXKb2SAh0EYK3yYldfbgxN28VyYPLrjD4hNikwajNwgpC/iDoiYF9SFvdorSWAU5K3yvZ8q5o2g8lZNHBb+qsZhGhlTjRgxWW33i06ArUxakdg2nlEA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV2PR11MB5997.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(346002)(39850400004)(396003)(136003)(366004)(451199015)(71200400001)(5660300002)(54906003)(316002)(33656002)(66946007)(6636002)(4326008)(478600001)(26005)(66556008)(76116006)(38100700002)(64756008)(9686003)(6506007)(8676002)(2906002)(66476007)(83380400001)(66446008)(8936002)(41300700001)(38070700005)(110136005)(107886003)(86362001)(52536014)(55016003)(53546011)(122000001)(7696005)(186003)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WTQzSTJlZEllb2VEdDlKRitiSEV3MUVTWXNocTdsc01uSjZ0YnJTUDN5bUFB?= =?utf-8?B?a0I0ajZ1S3FWVnM3dzZCbDU4LzcwWDNqcDloUjBZcTIwQitoU2xRZ0ZkTk9T?= =?utf-8?B?eVJSWjBEd2Naa2pSVXdrbVJ3cFFXaURLT1h5VE5KdkZ3WmVEcnhFcHJubWVF?= =?utf-8?B?SWx6cWRSaklB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3FPSVJvcUYwWituaXRjcmJyWEJG?= =?utf-8?B?RmI2RFpUM3c5NmJ1MWVWNmhDOU1BRDlMOExmSmJ0aDM0bnAvMGg4TmVBaW1u?= =?utf-8?B?Z0lqdWpScXB2YmZHOVVLUzB1RTdCSlVncmVlZUtKcGVycGNkem5qK09oWkZJ?= =?utf-8?Q?LP95BSyiwojGF2cYT2J81Q5rz?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB5997.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2d6b085-5beb-4a9f-b94a-08dab72d7ad7 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 08:38:38.8402 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6hY9CXWRrGyLfQTmq26ygkHz262J6aBjVN4vzH4W3iIq7kDtkJQPwLZMsj2WLgf1q+NfUCtEFcpNpo+yJVk0mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4552 X-OriginatorOrg: intel.com 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5kcmV3IFJ5YmNoZW5r byA8YW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU+DQo+IFNlbnQ6IFR1ZXNkYXksIE9jdG9i ZXIgMjUsIDIwMjIgNTo1MCBQTQ0KPiBUbzogR3VvLCBKdW5mZW5nIDxqdW5mZW5nLmd1b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