Message ID | 20240617062708.2932037-11-chaoyong.he@corigine.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Maxime Coquelin |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 590F94547D; Mon, 17 Jun 2024 08:28:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09338406FF; Mon, 17 Jun 2024 08:28:35 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2097.outbound.protection.outlook.com [40.107.220.97]) by mails.dpdk.org (Postfix) with ESMTP id 0BF3E40E28 for <dev@dpdk.org>; Mon, 17 Jun 2024 08:28:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jy9j6dlRYTghaoJlS06zvSYxvKvDyk61Z9ELdYX8MXKMrgeJjd3LQGHsu0VgTOpJJDyRM7NuNXq/pB87ezQNhOuiyGMzd4f7Yv++7i2VEUhw8YZsm7V6Xnh1p9XeIIk2kt62qOOcjrk75j1aFIkeQSaeqIuBN8bPbfLJGDyR11imqnXG78RnCPLxsBcEvIrdltTB2Rgy3dpADM0JHs1xYPwIXOQQ9Q2B0zrWvmYPuF/k44H+A6BttiquD/dXrMLqQkchOCoHX9cwngOiPGm8RLn7furo2WGHUHWUY75d9Z5Osqp+ZaxlrbXllze1TFtLF6pkgmHxspauXzg0bVqJqw== 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=jmauuSnZIwNGK0klhOVO3yF84VHkjeTUznyKFiN5hfg=; b=MnfEZeB54Wu73CZIlVCPEfhnKwbqCrmuhEMTSDLv2NSWeHHe8KN8H4RRFDBnN7PUjy0mrZXptFCPtkiPHlIcoIk+73wRlYLcYiydnl0hgPCwt16hE8ZBgHw2JU3j+SEtFOqyL0Fx/WS4jJok38jccb8p5+qnmATB5srh/9FhIb0lR7vRlR3+SU+FMD/Z2+laRcvI0pKaygqO1s5qmZZtkJSK+u1on1RqjA7giIPNuu/3fCPAAEFeQUrNeDnMJeZB65kvn09fDsiMsDM27v+tSJ3C1WS22IR6tTeIyGPb4j9520v2tqfkVq9K8gicPmGsYpTnyKEVryGV6FGNLf2Y7g== 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=jmauuSnZIwNGK0klhOVO3yF84VHkjeTUznyKFiN5hfg=; b=kUpWDWiUbLe05aAGMaA1VVfVM04pneyeiyZ/aKbOPJ7o8ZCyyl2pGaLX3ihv2NEgWQkjEZObNV2gtPViUSJGEIVSzSwI3OtwTEVTDHd3seW0k37k/tTCs//JtWftqE5jBogUxNr9fR2vXphDNbqfo7E0QByz87+z499XEw7v3PY= 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:28:04 +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:28:04 +0000 From: Chaoyong He <chaoyong.he@corigine.com> To: dev@dpdk.org Cc: oss-drivers@corigine.com, Xinying Yu <xinying.yu@corigine.com>, Chaoyong He <chaoyong.he@corigine.com>, Long Wu <long.wu@corigine.com>, Peng Zhang <peng.zhang@corigine.com> Subject: [PATCH v3 10/11] vdpa/nfp: enable feature bits of live migration Date: Mon, 17 Jun 2024 14:27:07 +0800 Message-Id: <20240617062708.2932037-11-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240617062708.2932037-1-chaoyong.he@corigine.com> References: <20240614070120.2663160-1-chaoyong.he@corigine.com> <20240617062708.2932037-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: 4eb35311-330b-4c16-5baf-08dc8e96a4f5 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: YGkdnTTLe9aF1gJlvHNiK75yos4Yn7+B1PXNRJSnIa6KKRYDyzem8npgpkjbyR+ALDD6w7lcF7hBsxuRwkjr39clxs6lPXavSrOUY3FkyPOd/zkDcPwynsRPYdobd0h9V+9gfZWJGagLYOMY69TAy97l4upB6aokHkIZQsyKrt7w4pLVdPpEP4QeE81cnY8htAJHp64s0sRobWj6Nuz9QoY3h5R2w54S5lV+9tgQYV3bVXrB8urnF9NzRrCA9M1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lAtHsDOcKdcqB3+IMwzN6hOOhHmRwuof7R0LS9zQL4AI6qIbKqWiw= 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: fxa1+Fs8pCCaHEhnVnKIXUPJ1X02Dponjc5SARpQLQmlPkJNeyxHFFRsG0HzwR4WLtWfBR1dPhSFLWd3D28EGzpCgoFI4zUtr1DWffCexKrydziURYPkyX7o4UKRl2d3Q+XhDEI6HPj8kgcs6IsCpEmIlHKpvc6wGz//M3Gi6RC4tt5VvUW3DdZM71w1NIgzNP4qqi3lsjiTJhUJ0tb6h4XXPBpZ+Cd0ULuR/9jRhcrsA9YKrrSKpADbUV+alhZZ1GRqWKbYIQ7XjJAKVRhvu/W4uYs+4eFbLBH5JY/PDuMQA+kd9WesUC/uWVAwNjrzrl3KpFxJsOG9evC0erstdUs13d4Jir0KuHFT1L7NmQBsEknkMX9+DXVZxtfLdEm8sAMNADopFp4Nj9Bn+m4YtMOX24O0xNF/Z3S0qLpDDyRXA4GH2jPdMKfG6bZcjYHTfLGSCWJU8bxJ9ISxWYWFLXo3ddvLhs/Cac8J0eGaVcTTMr1oIwoQa0Z6/DQ8ey+YAh2WCVDGO35aQi0CHE8+f2RHB3tK3jQrbpmQQOERf4vvZEro947M5KZhFjfr5akVE4HAsJDgFR/J9kZSPwPod8m/NtDR7crjGyX64R/qM2npTG/HQDCgjVyp4j8q+3BuuUt6Oq6NfItc3FekwMUaBro31ieCIsSSLNpZhkn2kOdQpyfeDIrZuU731W9aHOaAhy3XLlxyMzIXAzXqqmS1K932W/TMi8FP/gJDT/xQpaf+X63qdpRGfRTpLAsv8QbYlX/NHNlUotPZZFie93Zp4seok9MCJNVAOwPFgOzsZnzOHZMZuMKqUQiy7rBRhxsy6JAHL8Lsv3RTgluz22grBB9TnGh0vjhRkBDEQAEWbP3vgWGQ68E7ixnYz1uJhY7oVkU3TfqAR3H94MGRlDbjDQDbLUO0SAUYMoOx6xb6LYYzbB0XzgqzpFEEGV6HkcG9+SSWy//X1GVg8rJTk3/Xs9Jh8WQnX7MR94QxtcTCgkuRDw9bIZwzO2wF0hJ89F0UzQdv9LCaaKw9HK+7mrETUpU1RwpIPjjeRPvI/yopdVJA1bRLZbJnyHmbW6ZXp9SSltM8ifu8hvkgZnYcINTXbFq6jiwyVp1ODZwBDvSMhUBjNcB2dbbQaKa3DPbUulNd0DrP6+ZeqtiHFS6zHwVpePQS35ceH9HMg3p0fTQFh6Dkrf+uocV7TNSnTEwN3ygKVQ51+ZTGS4zO79eljZFgZrDvHLtCkHO4lo4ikfINO7wDgZks82vaZ+3df1fidJlRE4sjvbZb4jH1nd/GgVB5TpI/b4pHLDeD9zwkcdV/SeNn3rs3FvkqfBmmyy+Rwfv5cs4JgmoXoZoQkeG9EsZ5czgPc9pD1Nl1BwUuvLXnvMPvkxZPa1xWCfiB6M6p/4GFfhJ3mMnHVKLejpflMMjKTvq1Hlzj4Xs9RBkqaRio8U6rz6kQNKOYHW0e0d9tXjeYpwsunO8rb0vWgKgoWH0viIgFAqCVqJNk2PiJPIrHoHaoSAEwxRIwgfjUZ3Dc2zpxr+LQ7WA0yoPZ5UFrY+Cd6xC94VCMBGw/kkeugrNKi18L/ZAUdOohpxZ6NqsW85aMofG/TFog0YOGbPfko/GN9A== X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4eb35311-330b-4c16-5baf-08dc8e96a4f5 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:28:04.6480 (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: pkTG63nSZYiCpV1qYozl+O0u3azVCRic4cK9PAT81vVDzCmT6UfwPkr/cOOJjqxpk56UQbFsyXZg69z1J3hCFWi6OKWg7cLQAep6zelJnWo= 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
support software live migration
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Chaoyong He
June 17, 2024, 6:27 a.m. UTC
From: Xinying Yu <xinying.yu@corigine.com> Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the live migration function. Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> --- drivers/vdpa/nfp/nfp_vdpa_core.c | 1 + 1 file changed, 1 insertion(+)
Comments
On 6/17/24 08:27, Chaoyong He wrote: > From: Xinying Yu <xinying.yu@corigine.com> > > Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the > live migration function. > > Signed-off-by: Xinying Yu <xinying.yu@corigine.com> > Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> > Reviewed-by: Long Wu <long.wu@corigine.com> > Reviewed-by: Peng Zhang <peng.zhang@corigine.com> > --- > drivers/vdpa/nfp/nfp_vdpa_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/vdpa/nfp/nfp_vdpa_core.c b/drivers/vdpa/nfp/nfp_vdpa_core.c > index 3b3481a99c..70aeb4a3ac 100644 > --- a/drivers/vdpa/nfp/nfp_vdpa_core.c > +++ b/drivers/vdpa/nfp/nfp_vdpa_core.c > @@ -95,6 +95,7 @@ nfp_vdpa_hw_init(struct nfp_vdpa_hw *vdpa_hw, > > vdpa_hw->features = (1ULL << VIRTIO_F_VERSION_1) | > (1ULL << VIRTIO_F_IN_ORDER) | > + (1ULL << VHOST_F_LOG_ALL) | > (1ULL << VHOST_USER_F_PROTOCOL_FEATURES); > > return 0; Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Thanks, Maxime
diff --git a/drivers/vdpa/nfp/nfp_vdpa_core.c b/drivers/vdpa/nfp/nfp_vdpa_core.c index 3b3481a99c..70aeb4a3ac 100644 --- a/drivers/vdpa/nfp/nfp_vdpa_core.c +++ b/drivers/vdpa/nfp/nfp_vdpa_core.c @@ -95,6 +95,7 @@ nfp_vdpa_hw_init(struct nfp_vdpa_hw *vdpa_hw, vdpa_hw->features = (1ULL << VIRTIO_F_VERSION_1) | (1ULL << VIRTIO_F_IN_ORDER) | + (1ULL << VHOST_F_LOG_ALL) | (1ULL << VHOST_USER_F_PROTOCOL_FEATURES); return 0;