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 69CD44573B; Mon, 5 Aug 2024 04:13:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1518640295; Mon, 5 Aug 2024 04:13:12 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2122.outbound.protection.outlook.com [40.107.237.122]) by mails.dpdk.org (Postfix) with ESMTP id 254904026C for ; Mon, 5 Aug 2024 04:13:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bkdt8XqTTs3futsSA/xFHFe3ZS+iagZ4JG51RZEnWE8Wh2JCc+6XQ0EaI2EmG7dsbs8clEBTPMVLRW2rvfTXE1wYK/wynYIVL0wbvm3ZJ7MRA7kSEt8LjOn6kLXtJnKMdfNB9MGVAcLVJ8/PCySw+TMpr/tAyjqnbim+zJ5ThBFgMd7XcH4c3RydoQjOc/XezA81+DBZ12WBIYpfL2lro1fiC33VmIHUZ8LVxTs++Q0tbAvR2k1cDUHG7KARDP1hAa0x2Jd7OqQtv9LUPo7gt/OJp7reY7eFzPyzRJxqoY0XJFID+pF3l18tHnvYb7kR1+a8zfBM4y5jT6Ek1Y77aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=urNylCo9SKBLEaYeC7Pmha9iVO/dGaxbzmmtymsadB0=; b=V0Ps65cYOihvEEEMijaTje4TQ0abbwsiGOxC3/2j+iG8Nlfca7QJtol6y2+lQ+793VQh6YDvPbXdm73qmILFw3m6B1mdah9oiMUsSMwZez0PqCVbHORGodh3jngeepuppH7FasWzxd731fTaOoI7ZaxEc2QnhH7Nsthttau0GY6CEoqsCemkKZGucg+KiKb80rmUsFYv29eA3X04QFWwCUri5EBpGBLDuIDu246rQcseD3LzIY9GEVgfVo655b1cw2ES7heKVYNs2YemIzEIslERzzLFbqCGM/0P0FyFu/vC6MmvUlQoWs64aeLEIVe6Rk10qLIwXk0iz6g1lVPkBQ== 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=urNylCo9SKBLEaYeC7Pmha9iVO/dGaxbzmmtymsadB0=; b=XUWUmqBrwLoszL/iWZ+RzZngM5LYuWptP+4oPhFG7+oGzRK4gqtVHvOgzL9omcIqeFKd+5hmMOzDFCJ1UOFaKf2tRG2lCv9opLChdsylrMBYmHhlO38wknolPjQlI2H1TD5mr1X/oqpl0D4ypyjXy3KLi6uK24k+AqaLMWTCNhs= 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 SJ0PR13MB5896.namprd13.prod.outlook.com (2603:10b6:a03:43a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Mon, 5 Aug 2024 02:13:06 +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.7828.023; Mon, 5 Aug 2024 02:13:06 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v4 00/11] support software live migration Date: Mon, 5 Aug 2024 10:12:37 +0800 Message-Id: <20240805021248.1051198-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240617062708.2932037-1-chaoyong.he@corigine.com> References: <20240617062708.2932037-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR01CA0050.prod.exchangelabs.com (2603:10b6:a03:94::27) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SJ0PR13MB5896:EE_ X-MS-Office365-Filtering-Correlation-Id: e5e06da2-34c8-40f8-3169-08dcb4f42487 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?d6gqHFUV6Z9o9nf5AN4IjdqajWU2G2sBkIdZh6Qhp3bIZyoP5S2aQazP2z5H?= =?us-ascii?Q?zqPGlv6WOw8u2OCvG0FtIl13Y9LAdLfch5RD3/ndfLf0YAVjUzW7k4cfdk9F?= =?us-ascii?Q?BgKv39et//CUznGdPFjrxu6RgRaoTVjmmYAUc6MIwOOCxgUMmPBY+3V6olJH?= =?us-ascii?Q?H1u0vY7FdTgfG7Syks+jOFxx8Xb0+co2iIn3XcWclyRTI44daNX1jYUA2wdI?= =?us-ascii?Q?SnZrbbVk431+UACDSOgTA8LexOewhYMbUBVTJAsqA8xmhdh4PW7K3NrsWRE7?= =?us-ascii?Q?MueaMaU5+6h+J3grYRV+5KpYCvdYXy+i5gIMZVjGF555131Mj7ZNUrRxKQJG?= =?us-ascii?Q?i9x7Dk6+L7hWRPvG/FcW3oB6PSN0H7Sc4SEwm9IUEBXO6qqnjS1uRyblEv47?= =?us-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o/d72dhSgU0+AEcif1u39X?= =?us-ascii?Q?GrCxuWAgUkkK2wF6/VuidFQI7R6K+TxleNrb/t9khce60P7dJa/+paGo+ql5?= =?us-ascii?Q?apATqxrCRSnn0ZJAODexZADYfgsvUCv8ChA8vEwvDZUI5kLphg=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:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Ele6vt9p8ybWPtZpoCNNgjAzWNGE7dcyt/wa6sjDIqpmdj7Ez9ADIzx2QMMj?= =?us-ascii?Q?MraeEwX6tTVWhtfFqwg4/+zoXwYoltP9NHZiCzzL2Q/Te2NDVwnmztXvnICc?= =?us-ascii?Q?EL3a8XY8kpr/mgtnFRCBtg+RSs+YOP6A8zrnSWyrhQI40beQgGLYQqSSHXMl?= =?us-ascii?Q?DzDq/mSXzTD89DiRp06btR/kgo1wEep8iDjzITb0EBZ38CDMpfetFl8wzaxj?= =?us-ascii?Q?YMZKA+Fhd36drou8vgwSea3zw2ekweafAPCYPfizVjuDYKalvYXiu7h7e0V8?= =?us-ascii?Q?3jYei6cLyKxgOGesGubS9jgRui2Tg7jUH4sJdTM0vSe+At5XaOfvwx3F6R5l?= =?us-ascii?Q?LbUxJ4hk8pMGvYggvZO7m0Qew2r4Q2z4PW4v+3eZDPjWyF+q6E2ztH40m8cF?= =?us-ascii?Q?AcIhHyK0Dng6YHMT/7vFDz3Ohpk2PmEmvxgREeGv0Cb3tOG6ko9QfB8qv6ih?= =?us-ascii?Q?7bmKdFXoj0GOfChoZaT578zssIQaoYOiWu4p9P+X/EYOlatsMfa0uIIHcEzw?= =?us-ascii?Q?XS04ttBvkbZKJHEeU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q?L+jHwS9wERzGmreX/WiLd5OdRIoGLQzBt+Lg1kBepNttDf/x46MY8k0Z7oaw?= =?us-ascii?Q?vTIVJr8YPPAmBRtKq/FNvFC2LP1+NAfBHjJOumy7TN4o71o7RRaa70t+78Ph?= =?us-ascii?Q?msUmNEgaReUh4d0emtmuPfB29l4lxjX1mrP+kVbshYkHaYvXJ7Vk+o8G6WiR?= =?us-ascii?Q?vQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5e06da2-34c8-40f8-3169-08dcb4f42487 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 02:13:06.0694 (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: jj7CWAHt3Sd7g+sNaM1EmPrePHW4nqshQOZcLPf60hnJaW6khitR+9gF2iCnfflG6bPFzDY7KMkMrnYlt5bYVvkCzpfru4VvLbRP/RS0/7M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR13MB5896 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. --- v4: * Rebase to the newest main branch. * Add the 'Review-by' tag of the external reviewer. 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