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 40F274547D; Mon, 17 Jun 2024 08:27:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E32D402BE; Mon, 17 Jun 2024 08:27:40 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2109.outbound.protection.outlook.com [40.107.220.109]) by mails.dpdk.org (Postfix) with ESMTP id CA6D54028B for ; Mon, 17 Jun 2024 08:27:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lvNn2BBH7m5GrOARktmFovSNTYshWwx7xJ6XtyVwByuYjlP5l9z2YR0W67VD3CMXJ2It02Ml8oZhWJDpA/6+kP0/pwWtvZJ+NlXbiFiOXCm+495lEq7WXWzkqxqhTqneIrccT3UVfV+j67TSO0QSk91iiYVYHGYbpvSC8mQeVcz0DcLiLSBIwqFhQIKahFd73ZAsFc3QljZa0yscML8NfBz+nGUCoZip4bWXmZEpz9ygOp114mp1WnU0ulDuKKvVGPcATSkHudgdh8/uTzspLiR/y3TN30MSey2tTSiOCuxw1DBqvqt1Wb3zBQdlDIOePZOUIxIJoxdXBGkUb3SqKg== 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=xvB3gTESwMCTqCDVtA02eXodqolERTEuGIwv5P8E4xY=; b=Dqo5QPGWbf8xNjotPGHQSfSAhafQzMp2z+s+t/kVcy7fVkRO+NVwuQYmHlo6WXI4nBbNyNK9hRSrfjnd0NOtItEg3Tc3Gf8nnsvsdvtqJizeTyFnu5yyoyWHNcrrg0cO01QTkgKyI2yMNDZ/iLGpX0MHuW0sYm4JLvInvtezFla9CSGZIZJdUiCV4seeq7dXJUgQE7SOodq/2DKAGT/7hwNBiogPRCokbgC7E6QKVQWHlm7U1ZYJtgGtRYLkepFCga26AGPxUp2OvdHCt0v/V6arScCGP+okRnA7jSowdEzZc5aM0tclSycZeDNQuhdJO7ZXePFstxrmdXLLUUNpqw== 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=xvB3gTESwMCTqCDVtA02eXodqolERTEuGIwv5P8E4xY=; b=CXSb/WmsgFKdHWf8IU6ttyFWPsZw8AzaB6QAhzw/5yd00zPgLu6z1WfwIb2M8woC6oLlSpv94nu4BI/4QWkNsX9gWHY0n4DQAafBqnBhrLWKC82QL8mmjE/UV74VZHb4N3pfOxWmc1P8ZvwKQI9jNVDB6igHqMOi6+jq3h9X/Us= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by MW3PR13MB4106.namprd13.prod.outlook.com (2603:10b6:303:56::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 06:27:35 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 06:27:35 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v3 00/11] support software live migration Date: Mon, 17 Jun 2024 14:26:57 +0800 Message-Id: <20240617062708.2932037-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240614070120.2663160-1-chaoyong.he@corigine.com> References: <20240614070120.2663160-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|MW3PR13MB4106:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a4c28bf-dc7d-4240-4564-08dc8e969371 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|1800799021|52116011|366013|38350700011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?knqWKVx+pO9+lZcS7pGAhmB8fFCN/fNKCHay7q7kIl3p6n9LojpMntLWRt33?= =?us-ascii?Q?LJWu/pLQj+COhMStpefL7fYwMH6VY1cfJlQB+DMY2K/IdaY07i2iBy6wlOLG?= =?us-ascii?Q?qbC0Y8K+9G8ufTZlJdJLij13VhwpmRrLTek7D0RUCB8fBKuaNYW3S1EwStU2?= =?us-ascii?Q?38HLW30ORpKZX7yL9hWt80DexM3f9LNyr8fSenSfmcGXcNtQ+scjMCkVqnSN?= =?us-ascii?Q?vJSAz/liIM7gGTU2cbRXCOCxY39OX0UCssPosfATw4c+gy286YgaFpVDx1Ai?= =?us-ascii?Q?wFSZAygW4B5OOB4tfINY67OYiOVmPF85Xogo+mdxJXn6sNLoxJ+i19medYod?= =?us-ascii?Q?EfO7rl/u5xb6FWHfkl0cBfZ5Sq7XBLE9a3cxf/+DQG83t6SlSAdCThoxP42G?= =?us-ascii?Q?shkXt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EmzLiC0VMFuXQv6hbuogxAxaLFEzr?= =?us-ascii?Q?FwGvJm47O6t+FV1TocSEJ0fdC4TFIxr0pRlBfEQnNXXAxD9Njui34pDQUv08?= =?us-ascii?Q?TJPfgoo=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(1800799021)(52116011)(366013)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?VwrvxEQXEJ8BTxSC4GTlJPQ/g3KUMc9fCk1k7hMYQYalwVzkGhLA55MkAZmG?= =?us-ascii?Q?IwWnyKuHDFlmFfHmi7mGUIvSxHy91dGnpxBtJwt3Ba4PGag8Yq1Za844RVke?= =?us-ascii?Q?fQGfBxIv9zC5Av+sGpeqo5sTfvN2FE+jTSJMZ3bNJrhCIcAu4QG5FDCVflVj?= =?us-ascii?Q?gkVONb8+8bzSp1q9ZkjjaLNDsx7KFPhjKMLZpTBt2/y7Oe5wlSAQ+cJco8AN?= =?us-ascii?Q?NMtEaWSVQIwS8+fLgIfs8L5bxckB+LgPNdNa6n9VH6Mf8OBSrAnMecRPZOad?= =?us-ascii?Q?aKUbrsQhZ2VaSE/bbM7ITcVNqnMlgJrH5hnrxXX5YzZK+K5WQJM6z+vntI1Y?= =?us-ascii?Q?2Gk3M2DicF1vshp5aQ5jNtmPpbTpsIIMjvAfOQAPdNGT1Jsi6eBqaGxPltmh?= =?us-ascii?Q?EbDBMw5PQYEKj8dcoBPOrdMksUvVmuQUNwX0s39hhYo02iqWs4Wqy37HqrRL?= =?us-ascii?Q?oaj+ttNsOljJE/ImvvEg1h+heP/pApp/4QmWZWFAIX7Z2haD02z8YLfTWjM1?= =?us-ascii?Q?X6Pi2vlCTZF7Tm/TF47H6rTUKZEjLUET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?Q?7TVbBdziI9IGkv56LSQA3pKWAfFJSH8MHIJrc9v331ZL9PTSWvXF+lO4rCLZ?= =?us-ascii?Q?DmIz5XI2ZTN9pYzyyAZUj3BSLm/hZcb8t3bWijf3PXfGBQaDesTepmAG9k7U?= =?us-ascii?Q?H/0ET9qv2AfDMJU7CkW+rgqifvorLa/1c4uMLn+tbodCYc35vkrSzG3UXsji?= =?us-ascii?Q?wQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a4c28bf-dc7d-4240-4564-08dc8e969371 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 06:27:35.3165 (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: p6DYBvfY3SJ4Nbo4slhZ/ryxfPUGc0kehE3SL7l1/z5rDxWTWiqWcoT9CxIvSKd4U1lbaB7bXVepjNevnCS7cLltbQelpkyUXPzuwBNUDtM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR13MB4106 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 This patch series aims to add the support of software live migration feature for NFP vDPA device. --- v3: * Fix one compile error when using standard atomic. v2: * Adjust some spell in the commit message. * Split out a commit to enable this feature. --- Xinying Yu (11): mailmap: add new contributor vdpa/nfp: fix logic in hardware init vdpa/nfp: fix the logic of reconfiguration vdpa/nfp: refactor the logic of datapath update vdpa/nfp: add the live migration logic vdpa/nfp: add the interrupt logic of vring relay vdpa/nfp: setup the VF configure vdpa/nfp: recover the ring index on new host vdpa/nfp: setup vring relay thread vdpa/nfp: enable feature bits of live migration doc: update nfp document .mailmap | 1 + doc/guides/vdpadevs/nfp.rst | 9 + drivers/common/nfp/nfp_common_ctrl.h | 11 +- drivers/vdpa/nfp/nfp_vdpa.c | 441 +++++++++++++++++++++++++-- drivers/vdpa/nfp/nfp_vdpa_core.c | 135 ++++++-- drivers/vdpa/nfp/nfp_vdpa_core.h | 14 + 6 files changed, 565 insertions(+), 46 deletions(-) -- 2.39.1