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 C0DD743F12; Fri, 26 Apr 2024 09:48:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F175543C66; Fri, 26 Apr 2024 09:48:55 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2133.outbound.protection.outlook.com [40.107.93.133]) by mails.dpdk.org (Postfix) with ESMTP id F1FD8402EF for ; Fri, 26 Apr 2024 09:48:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jw3DYRS6MmHwPZIIhzM+EMsiYJutwNyrqUg1kilP14C0Qlh3k+vhTfBrMyjgh+s9NXHH1QIBPR1Ks8Ivy+chjt0ZmXVgBvi+zjfO8/oEZhS4Zp7WLPcCLoC8q42xvEidjD1vDCCIy3QmcuL/gwIeTN6fk+S9DoYzzbpCPSwRloIqYRb2zOovdvxuJzUzXJsxf7nnw0Uj7Lg/XEKdrpRduirmGoiFf5dV74lWbxPpNqeDxTGo5t+aGK0J7j3q9+rkB8V1hloMpPNiNvV/EERmPI1I4jLGkuxck7VMaVuY3Bav8vxZkzz6KzqrvauqkSK9d+IpInDvDf7mlIwbZLGWng== 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=Jr089vglwbv0s6uYLVlxsMferl+1FkN2XPR4kpqzrWE=; b=Wo3byeXQ4kPGFi1dSH8QujDK7bSM1u7SDdDWHtopeplgQ+9GhuDWA4d35atQKAryjbgddq6WauG59XAgJkg09cxNy9YyqsnbBiw4XfRkUIuSdTrEu2xY9yQo9Pe64LBUQLmvqGemYHL13ynrL/uNkDpOVleeXY1u+BlWaHs566i/45bVIeT9omfc37vofL0ZI7hFCv63dQ7COjV11XTzV49n6QNO+lv7uBr6sqLrIBWgJGx5MkUGnFZ9WvkkigFo95MVem73xMvzs/bCPvTNlvCcP7NkTqBVjhkKrFfek+oyMeicElOLPtH7q+ZDGvNi9MbazyJWks1Z4Qjx6EGjZA== 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=Jr089vglwbv0s6uYLVlxsMferl+1FkN2XPR4kpqzrWE=; b=CVp2c62h0hMOENRb4ki+HsPeaQdgV/Z3V3RTVb4bq+etFRsH7yt9YrQM38Yiw/ait53v1aHme2oD9eS1F9tnh1mG4JKFZIoijy3FIqzB/6Yyete+9cdjCktfYldsp3ZiIvnwGyFeLZwWlcK63MGCOvuSN0V6/wz68nLrD5GfDuc= 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 SN4PR13MB5279.namprd13.prod.outlook.com (2603:10b6:806:206::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Fri, 26 Apr 2024 07:48:51 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e%5]) with mapi id 15.20.7544.010; Fri, 26 Apr 2024 07:48:51 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 00/10] support software live migration Date: Fri, 26 Apr 2024 15:48:21 +0800 Message-Id: <20240426074831.1729792-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR02CA0007.namprd02.prod.outlook.com (2603:10b6:a02:ee::20) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SN4PR13MB5279:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d639803-3e0e-477c-097c-08dc65c5505f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|52116005|1800799015|366007|376005|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?1J7kcLYovRKWO+VUnt/Cddd1fpRhyHqEUiCI5nvGub5z1Jp4+ToqsHtaKzqA?= =?us-ascii?Q?zelzPSJ1bbm/x/0zzS0jyLKYW7bQr8x7AgRmy3jBkM5aDr3Uk50Q9uWTHMQ7?= =?us-ascii?Q?NZzgc2kjwSMGYRWz6Ry8uDjez4AdvpawAemwyePqysY8Mb8/6s6COjr5deUn?= =?us-ascii?Q?gTDSezLyKS8m4zCVuxgIe9O2QlfeXuXDGb60s9nSsEzSr09ZPOaVzjvEs+Tf?= =?us-ascii?Q?51Bv1dEJusxIvXJ6/FUUPsiUyjAb87R7auhV2oH7Mrf4MW87gT2IlH1Ly8XM?= =?us-ascii?Q?7TaDh3MncM4yAxcjskG9WAB+RVJ6Qm9e+7HRv/+3zUPu/2yAsIHGkXdVQcIG?= =?us-ascii?Q?aI7T5no7Q74RTWhXYDo5U4lQMMdy8W/nwMto+DguZqOzeNWqVGthGshZ8ugM?= =?us-ascii?Q?Dm2YpCDxeVH/IPk0JMwOwXP2mQSlT/l+TLWAj5m7TUA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9mXV42hndi0i/FQADMfgu2FbXvK/DUnKFDhJcT0DQGQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(1800799015)(366007)(376005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?0vxKH9Q/3/Di5GAw3+uqmf/xlXZ5kpeBELKW9tMS5HXQ10wnDZgeFVM7WTqt?= =?us-ascii?Q?RncYoOMvkGNAvrM1QbHodloWdiZ+4WH4rCatE6pQypdp/eItKQ1h4Hb4z2j8?= =?us-ascii?Q?ZaV5v6OAuObksrZ42YoAjWg/YdZhO30ofdlA3cxhxjmn+7UHjYyGHGxTquX3?= =?us-ascii?Q?YD5uGC1HGSIL7PUznspa7lgxHLlsxtAQeGrlEIJ1BYQHNu/+BY6chgi9s2QW?= =?us-ascii?Q?j93wDZ6lTonzn+zRtXTtJwsC35zN13JJyqaurkWEdD+J0+WG9G5/ZtS+yd2Y?= =?us-ascii?Q?ge9WD+oUsStqWhp5GKHSd+dUWUGdFO+gdzX6jeyNS15mcXAf4PA4EMTqI2qn?= =?us-ascii?Q?SXNOPebi9rSI2aXAJ2DO5NP1DEziHoTqKkvGaBy8ysu/Za9VjPzCeJmr7EMd?= =?us-ascii?Q?PztFp1GS1bc+/ucDg4tsXyFn7ZJoDi9dXNfuUdezvFbfNKwf/ZLeelPQpWZJ?= =?us-ascii?Q?vTntAKWqCyyF1HIpmMZAwKzrwb+KA9nmyqBWvXWoVMBfXxRlGT0FdWI5YIfi?= =?us-ascii?Q?BQ0bBLdxikpeLYswa0OjcQWjkDAbIbH3nQESmCLgkPwAauRiwYyYRoM1fVhM?= =?us-ascii?Q?fBR2PJ7kHWQtJTGuXyGR0yMIKXGMyVrOjewGW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ErezmCWgS7EiIxyzA2XJuo0wMixTHuL9rh3Nvp7UuT?= =?us-ascii?Q?umI+1MnVm4Dwvzne77e2qjQ1P1T0gtNf1k1XGVlBWdDas/s2LHKQXMCO6wn8?= =?us-ascii?Q?7A=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d639803-3e0e-477c-097c-08dc65c5505f X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 07:48:51.4093 (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: 6p1JBcPXi+nfBNVylNFV1DwY3gKSf8vmvKsSrbChiV3+AFKX/B4OeHeMnRby3j6kSgFig/sWfmefqclGDXE+2KxgPsU3lKwktPmrtIptmiM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR13MB5279 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. Xinying Yu (10): 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 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