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 B8C1945459; Fri, 14 Jun 2024 09:02:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A71A0402F0; Fri, 14 Jun 2024 09:02:03 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2104.outbound.protection.outlook.com [40.107.244.104]) by mails.dpdk.org (Postfix) with ESMTP id D4AF1402C6 for ; Fri, 14 Jun 2024 09:01:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jG4p1ZxyS9TpqROPKjv/9Vv0+/ASk+Rkk4urzgPS/EXc0za7htxkwHlTiVptLteZkMOktSbbr90+JFQFKR0H4GC3QffQRocs+Sfp+QwYI5MTVWBAxjrs+d9iHOqKeQzyt1S0IwK2+HcqzfxyRErg8G+jYYSl8OHTse3sOU64aVhnBmxUsOaAYVg4KMDbBY441symuGPdx9SEXyPgeH9h9IUY7K59Mp/p5G61U59NPyW2CpOCfKfq07TzDn/jLCvf/0bRIFuJ4gvby1Hkw+3j1E07yMcbJVv70Rvpp4Nfj2ad4aho0CtDg8/PmPwqlW0WaK17qyJTfYka01H0fPgUFg== 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=Z82qN0dMoKsXroxzn/V4rrqxqUA8L4qN8n4ys26cuhk=; b=HNAoR1J0xsA8CeQr48NyvZtoo0MVBFFymdxkQzHiI+n9kvMFkciC2iSWDivNacrbrTKr0rl1XMx713PeYWDTgytZvNwRwwGmxW20oN1sn6D9Itffykc30SDL6XAUc3MadNNcjEt8ebgAKupLoNeC4v24w4VUSleommYnGeuNv2MZzB1U5L4u5mWAdALEvBiF5UJ+AbF/Kj/dviu7GngKxRLsHiqY+JWRHs6pxzt21s/sRcoQFa/FQY4Aj7geYTSTPnIINmBKHVx6uOlKcglGC8FxJhVycHm/qhlQBz/YQEpKnqnW1Z9XNNH/90Ea5764mBSPK/u1wr1O/9C+BmNIgA== 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=Z82qN0dMoKsXroxzn/V4rrqxqUA8L4qN8n4ys26cuhk=; b=dSTkfTdkjkWHeZkTXP5BVnFquDO1Elr9xndd+4++qFhRfKL/vPBL6qKyQ/qxGjt7a3WbgNeched3I0b8li1jEwaMekVbT6dTkIRoKRJyM90ZAsJ3QvXbqptSRjz9eW5uLO/krt5r//3+6Nt+tK4Pm/yVK3DprTUn0AneY0brbG8= 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 CH2PR13MB3831.namprd13.prod.outlook.com (2603:10b6:610:a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 07:01:40 +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.024; Fri, 14 Jun 2024 07:01:40 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v2 00/11] support software live migration Date: Fri, 14 Jun 2024 15:01:09 +0800 Message-Id: <20240614070120.2663160-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240426074831.1729792-1-chaoyong.he@corigine.com> References: <20240426074831.1729792-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR06CA0025.namprd06.prod.outlook.com (2603:10b6:a03:d4::38) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CH2PR13MB3831:EE_ X-MS-Office365-Filtering-Correlation-Id: 199a0b03-e947-4790-63e8-08dc8c3fd755 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230035|376009|366011|1800799019|52116009|38350700009; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?j7+Ku4afSr5dy/LdQQ/gijPM0pZt6Cy8qlPr/ZTB2mvSsJ8QtHXlxtPJ7XJg?= =?us-ascii?Q?sBXHTQYTIkLTQDtsnJ5Fe2SLntXowlcS33ZU24i+/SLaVblzSrTAQ15gsKaE?= =?us-ascii?Q?1XsLOdq2S1br/yLIYRbXwniuudc7uvARwC0yyuqbc5pDRND+D3B1Gbb9D9gu?= =?us-ascii?Q?c+9yHfF3bo+MDHP9d1R9ZhxqGqpxPoBLOG3o/C4Z4yeT6Q1jgsAE39SQRwp3?= =?us-ascii?Q?pnDg+i9hh2i1fsoGN7etf7vkU464q03enjkcJG08AkyIwM4yeAPLD56qSHB0?= =?us-ascii?Q?tGiub5bOOKrAWspymONPCSPElBNd/5BUBOx2lBMR6SJnniW9oiwn1lv+xLLi?= =?us-ascii?Q?CXgdg0Ciy5A5GfwWLDkfvkUVjAPD83GDEaKWQMApymDgsO9exSAjfvIUHRew?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2xYIqJjvEmLEqwssOgu5l?= =?us-ascii?Q?gTdPJsHoAk9Sut6aTKRsaIjT1IxFnAWL+54NV3XKYVp0ZbMLHN6myLO9mZIG?= =?us-ascii?Q?8iF5yxw=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:(13230035)(376009)(366011)(1800799019)(52116009)(38350700009); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?BsrZ4FYqog0rl7adniQRsVzmcVz0zfEIFMcrgt6Pr+Ti+i9YSwNJ6+NKxfPv?= =?us-ascii?Q?8YiTrOYJXphvR/rHpENigTVa6s574jzdZ95JBTM24VjxWkYmiX0WPR2jOSRz?= =?us-ascii?Q?gwStVM4o+f0lv8iqi84u++0U6S3n/YskBIgySoZAuxcO30jZx1wYfY78SHS4?= =?us-ascii?Q?hr2uMCsACh8rwJqf30m8WZhcOXPSRdn+F0QNAs/oaBdUkIjQ+Pww3dwtxExk?= =?us-ascii?Q?UECgSC4XSUGP/MOEt58joxIeqF0yVvle4FVSfRLqVRolidANNKu0JL7vQtlE?= =?us-ascii?Q?LsmpVMIGp3dfkoSxbCAJIZdjXczhfuNyK/MvVt5ZeYPQyPzUX1wADMWgS1HX?= =?us-ascii?Q?O6CeN7WhZf4/61O3pVmcwuXZDbZQVyl4DgGlM+MsDP/KsmEJsyFQOZc6zxFa?= =?us-ascii?Q?Ua3Wp4cBPC4D5Z9e3CAaXcC7LXL+ZjNgUKVVs75NqbyrnpdiybcLNqIdbpce?= =?us-ascii?Q?AjHVAt78+gLrm0l6APxgjzbNC8vw+Vzuq+0BZZ2q1d2fjGSOEilUExBduQdT?= =?us-ascii?Q?RUoJU/VmebyidjCGL6TFVBLnnEWwNxdqhRdtUl5K+eSANYvuIQ/Vo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hTgzrhSJZDzSQx3UYjtShmlRLHInJ2uf?= =?us-ascii?Q?xgHiklZUH7hEfsu3tgaHU+c2oiZmhItQLMH715qkJ3q5oxwY4SQhQLZg/0tU?= =?us-ascii?Q?OGONj73IZwSdI4mjEDKXUyxeMo2GuN/wzlIXgv9GnzudS7ikAmXe33Ks58yh?= =?us-ascii?Q?Iw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 199a0b03-e947-4790-63e8-08dc8c3fd755 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 07:01:40.6629 (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: pGgOoKpH1Q9A8OBfTacSzyXtJWzF64/b1ArcQBdS2xae9Rm8jZERc1TeO3xOWy68f8m/BIPVoV9AbcYFIyMRbx9OwLGmk43qybfscUf6iTA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3831 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. --- 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 | 440 +++++++++++++++++++++++++-- drivers/vdpa/nfp/nfp_vdpa_core.c | 135 ++++++-- drivers/vdpa/nfp/nfp_vdpa_core.h | 14 + 6 files changed, 564 insertions(+), 46 deletions(-) -- 2.39.1