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 DD938A00C3; Sun, 26 Dec 2021 10:50:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5150440140; Sun, 26 Dec 2021 10:50:02 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40050.outbound.protection.outlook.com [40.107.4.50]) by mails.dpdk.org (Postfix) with ESMTP id C0BA64013F for ; Sun, 26 Dec 2021 10:50:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fF1KQiz+QkewtRwEw7KOjOat031BiSWkZvpA5aUpiLY=; b=zdU/X59YFiwsQ8YQlT9kDfQx3JVTp7g+NosGNbX5MMAkoDNut23Zo8sZLsRo0MwqSUZ9zAdgYsHzBMs7bKn1wElWv7D4iJur5IXcOO4ehaxwXH1kuKpC5H8CLCiEP7iLqlDXmmtVWba9oPaPhZTxO0BB8k8/dO2YI/GopKgOalY= Received: from AM5PR0701CA0014.eurprd07.prod.outlook.com (2603:10a6:203:51::24) by DBBPR08MB6170.eurprd08.prod.outlook.com (2603:10a6:10:200::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.18; Sun, 26 Dec 2021 09:49:58 +0000 Received: from AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:51:cafe::56) by AM5PR0701CA0014.outlook.office365.com (2603:10a6:203:51::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4844.12 via Frontend Transport; Sun, 26 Dec 2021 09:49:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT010.mail.protection.outlook.com (10.152.16.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.18 via Frontend Transport; Sun, 26 Dec 2021 09:49:58 +0000 Received: ("Tessian outbound dbb52aec1fa6:v110"); Sun, 26 Dec 2021 09:49:58 +0000 X-CR-MTA-TID: 64aa7808 Received: from fcc4bbf6a504.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D56E6B70-A900-474F-B35C-940C71A802B5.1; Sun, 26 Dec 2021 09:49:47 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fcc4bbf6a504.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 26 Dec 2021 09:49:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FHIWmROTOHCbXiLgZkPABs2Re1IF7DOcEiWRAzi8YtCgzzjs1Zc2yUPT+LkrllvkUSRAOVcGJZ0JUZJ0XZ+dVlm2TP5SCpSzrX8vm/3qubVeYYSttFbg2/LzP1QU6b/IILqIuyBwClQWPY8R3JbC2EDk/3eSpCSu6qkRzwTHgHLT6yhU/A9uFRjleljBALUBRHA5pFK8wsZ21OhMgQGxuDYM6SEsT/oyhTvY1LW2SZWPskNY+A85GPSnqeOeVwNBbQod70FYJaqgaJys+4VkKWnvWOIzNtzM34JszjHAEzZiQSEpDxyF6f05rftU/XIePRteBIed9RWvfaeZtXZJQg== 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=fF1KQiz+QkewtRwEw7KOjOat031BiSWkZvpA5aUpiLY=; b=YlAI0ruFM+eJhBp8sI9ToImeE7VAKyfNa3mP5PU71jpUJ4AlXtqqpaf+MvbeuCr4bdXVwoaakrrlSaSsVdKs/lM02Uat+Y5BB87w6G8SjFO97Mhm6Uuil5ehaKFposP/X6N/YfecPXBXRxFp39/AY30q4a5sdhFe0tZH6iXPDVYebgW4a9s2d3Npts+hkAALg5mDJpfMWcuLC8mUf+SHIvlBXGC7YKaq08QU7WH7KAhnDnw1OdoBhV2V/kiI26WfU6+CxvPO02oFVIYfrBDnxwF31egKk04b5C6LlHwJP9oNfJDbyiMkil26rRmf4sFH5LfqEiPLR/ojnYJv0Pj5bg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fF1KQiz+QkewtRwEw7KOjOat031BiSWkZvpA5aUpiLY=; b=zdU/X59YFiwsQ8YQlT9kDfQx3JVTp7g+NosGNbX5MMAkoDNut23Zo8sZLsRo0MwqSUZ9zAdgYsHzBMs7bKn1wElWv7D4iJur5IXcOO4ehaxwXH1kuKpC5H8CLCiEP7iLqlDXmmtVWba9oPaPhZTxO0BB8k8/dO2YI/GopKgOalY= Received: from AM9PR08MB7000.eurprd08.prod.outlook.com (2603:10a6:20b:41b::12) by AM0PR08MB4228.eurprd08.prod.outlook.com (2603:10a6:208:138::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.19; Sun, 26 Dec 2021 09:49:44 +0000 Received: from AM9PR08MB7000.eurprd08.prod.outlook.com ([fe80::5aa:dda9:84f3:e3ee]) by AM9PR08MB7000.eurprd08.prod.outlook.com ([fe80::5aa:dda9:84f3:e3ee%9]) with mapi id 15.20.4823.022; Sun, 26 Dec 2021 09:49:44 +0000 From: Feifei Wang To: Stephen Hemminger CC: "thomas@monjalon.net" , Ferruh Yigit , Andrew Rybchenko , Ray Kinsella , "dev@dpdk.org" , nd , Honnappa Nagarahalli , Ruifeng Wang , nd Subject: =?utf-8?B?5Zue5aSNOiBbUkZDIFBBVENIIHYxIDIvNF0gZXRoZGV2OiBhZGQgQVBJIGZv?= =?utf-8?Q?r_direct_re-arm_mode?= Thread-Topic: [RFC PATCH v1 2/4] ethdev: add API for direct re-arm mode Thread-Index: AQHX+OXWU3UGTqfDfkawnJarG6bnPaxCCbqAgAJ8VDA= Date: Sun, 26 Dec 2021 09:49:43 +0000 Message-ID: References: <20211224164613.32569-1-feifei.wang2@arm.com> <20211224164613.32569-3-feifei.wang2@arm.com> <20211224113801.7a03cb63@hermes.local> In-Reply-To: <20211224113801.7a03cb63@hermes.local> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 37B9E36F4F366A448FC4E79742568270.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: c3a4f21d-b512-4d54-612e-08d9c8551432 x-ms-traffictypediagnostic: AM0PR08MB4228:EE_|AM5EUR03FT010:EE_|DBBPR08MB6170:EE_ x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:800;OLM:800; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: w6QUEa8M0Jh6VuCE2+sfIN3qo7COlbjK2APKhynF7CmnD7Krcnh1CxzoCmrTTbrhcYnjcn0Chvi7MwMMuMZ9hkEFQu4KRmOa5fIPzx91A6UHX9UERYjNuUPD0lTKehGkbtqP/u7ORq8SgdpKGj2Z9AUVmzNfSwP5X3pyPTDs6zoUh65CDM5VCBhRrwk2jdh+N9Om8kgQR4QAZSIzcIAKBBPlg3E9YcuT29bZTAtzRb/4l4XHgHdYXcur1txlV9Zri4SAqwoX9yNuNQ2pbSZ61K4zHk7dH1BkLRMUXJqbRXXRoprRb2jKYlsgQ9RP+tiM2LGUen4XdAcFVPQMPwyRnT73ZmhgUl9K/z3SEcXGoF2BrlCDR8107UFW8fW19skyDfPKpFIU8b/h7J8r/Wati22DvYNzayMdNC+mkzwBgah3hej9t6KeSw3T55RWQ8w5jiuSwQxycJBppurcNwHBgy4I0e5mxTaQtq8i3pSwcEsxjeyoPAQ+8WoVG++Magx2/tNK04L9XxF5Wip7eSbtOLgUODvUApNSwGeblOS3ArwN9mH2dxnX6BQnUSnA+1jLKZ5c64kmsum/cwUD0WkdqpELvAfuh3AMZNDs0jPPQnsaf1C7RtNdw50OW0Q7V32zIaRCOELqhbgDmx/TDhTQ8iTptbqe/gQcl3ZGB8nrwqlW8VRo7vNkaEJHktX7a8uYZcNhVAovJHxtEzFDvmmeKA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR08MB7000.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66946007)(4326008)(316002)(9686003)(64756008)(66476007)(76116006)(2906002)(122000001)(66556008)(38100700002)(52536014)(33656002)(66446008)(224303003)(5660300002)(71200400001)(38070700005)(54906003)(8936002)(6506007)(86362001)(26005)(55016003)(6916009)(508600001)(7696005)(186003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4228 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2f4cf3c4-a6e9-4ca6-57db-08d9c8550bb3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5tuDBiV4ss4lp8TDXci4bXhhCDaMlu4+RuJU2nyfYlQYZO2/hsiKy+7FCrMc2JK8ocU/+xqkR6YFP+xSyT8o9mH9orLhLyOvEMpAR3nuUR8jIzjhYp3wl/n9duURZRFRwlUkBlTvJ87lWXidD645gJQ7gYbAQBnX3jdWq6PnSRKWvIEZhrJTkTKayWzOKlfQv9UTvVy709saJaTvr5nf3lkz0xS4z3FHPUFQOfHZgeruzLCsneHLE6pHvJUYi7JZS89dBSauUS2QHh128jevnCbk4FjN5dG+Ni0fK2Td6Qqh9y9q59rD29LUIUhmz/ydqnDiLn4EkS2oni9uRA14LGGhwa4nK8hGb5gMrGWZuFl4g2rHTFt3WeWQxI+usOsd3rXT8wo9k7n7pTNDtkgGyDF0VyD557Y+G+5IDHvCPnaisyN06q7ctpy3EFw2OKmHfmHwYsLKX33mMONR6p+wKs78POMLwSt7SUMGSffTdoAzy+lsFMy4VFUBJb0z/Noq7XOPBRYBKALJquiHUhWBLz6r8tBOR7VFSLhK5w2cAJZxXXvbSZgtGEsWzFGoAni5UQkVG3n5DCW+CEmg11xY4JpLeC+l1iSKUeo2iZ2N64TtcaxSy9FLZEGz9YzyZDzFmCNC5XcnhfmHWaLgbE+455fSPIfaUhXFRQnYEwAbfP8osH9Y3gCvTggzdl8LBdN0BpqOQoQDorPcjR0agwqpaw== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(6862004)(33656002)(7696005)(316002)(54906003)(36860700001)(4326008)(70586007)(82310400004)(55016003)(70206006)(9686003)(8936002)(186003)(336012)(5660300002)(508600001)(2906002)(86362001)(52536014)(26005)(356005)(81166007)(47076005)(224303003)(6506007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2021 09:49:58.5788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3a4f21d-b512-4d54-612e-08d9c8551432 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6170 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 DQo+IC0tLS0t6YKu5Lu25Y6f5Lu2LS0tLS0NCj4g5Y+R5Lu25Lq6OiBTdGVwaGVuIEhlbW1pbmdl ciA8c3RlcGhlbkBuZXR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