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 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 ; 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 To: dev@dpdk.org Cc: oss-drivers@corigine.com, Xinying Yu , Chaoyong He , Long Wu , Peng Zhang 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: =?us-ascii?Q?YGkdnTTLe9aF1gJlvHNiK75yos4Yn7+B1PXNRJSnIa6KKRYDyzem8npgpkjb?= =?us-ascii?Q?yR+ALDD6w7lcF7hBsxuRwkjr39clxs6lPXavSrOUY3FkyPOd/zkDcPwynsRP?= =?us-ascii?Q?Ydobd0h9V+9gfZWJGagLYOMY69TAy97l4upB6aokHkIZQsyKrt7w4pLVdPpE?= =?us-ascii?Q?P4QeE81cnY8htAJHp64s0sRobWj6Nuz9QoY3h5R2w54S5lV+9tgQYV3bVXrB?= =?us-ascii?Q?8urnF9NzRrCA9M1Poh0HSC3jNbZ/1dLoaD2/70XsmctMpOPv4mM6NiSkpOpY?= =?us-ascii?Q?YOqo5d2NnN3WiIxBSZsPR3iDCBVkVzcZCE2OIezSDuNvXnhp6ZaxJPk9S8S1?= =?us-ascii?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lS7C5kLUZBjUGgP?= =?us-ascii?Q?XSMZU2748yYPa3IJrhO9A4zYz1byxcOseOrerfyLjLz86gcAhfMHo/ob1ftE?= =?us-ascii?Q?w+IgrrnK4QXQR5lAtHsDOcKdcqB3+IMwzN6hOOhHmRwuof7R0LS9zQL4AI6q?= =?us-ascii?Q?IbKqWiw=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?fxa1+Fs8pCCaHEhnVnKIXUPJ1X02Dponjc5SARpQLQmlPkJNeyxHFFRsG0Hz?= =?us-ascii?Q?wR4WLtWfBR1dPhSFLWd3D28EGzpCgoFI4zUtr1DWffCexKrydziURYPkyX7o?= =?us-ascii?Q?4UKRl2d3Q+XhDEI6HPj8kgcs6IsCpEmIlHKpvc6wGz//M3Gi6RC4tt5VvUW3?= =?us-ascii?Q?DdZM71w1NIgzNP4qqi3lsjiTJhUJ0tb6h4XXPBpZ+Cd0ULuR/9jRhcrsA9YK?= =?us-ascii?Q?rrSKpADbUV+alhZZ1GRqWKbYIQ7XjJAKVRhvu/W4uYs+4eFbLBH5JY/PDuMQ?= =?us-ascii?Q?A+kd9WesUC/uWVAwNjrzrl3KpFxJsOG9evC0erstdUs13d4Jir0KuHFT1L7N?= =?us-ascii?Q?mQBsEknkMX9+DXVZxtfLdEm8sAMNADopFp4Nj9Bn+m4YtMOX24O0xNF/Z3S0?= =?us-ascii?Q?qLpDDyRXA4GH2jPdMKfG6bZcjYHTfLGSCWJU8bxJ9ISxWYWFLXo3ddvLhs/C?= =?us-ascii?Q?ac8J0eGaVcTTMr1oIwoQa0Z6/DQ8ey+YAh2WCVDGO35a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?vLXnvMPvkxZPa1xWCfiB6M6p/4GFfhJ3mMnHVKLejpflMMjKTvq1Hlzj4Xs9?= =?us-ascii?Q?RBkqaRio8U6rz6kQNKOYHW0e0d9tXjeYpwsunO8rb0vWgKgoWH0viIgFAqCV?= =?us-ascii?Q?qJNk2PiJPIrHoHaoSAEwxRIwgfjUZ3Dc2zpxr+LQ7WA0yoPZ5UFrY+Cd6xC9?= =?us-ascii?Q?4VCMBGw/kkeugrNKi18L/ZAUdOohpxZ6NqsW85aMofG/TFog0YOGbPfko/GN?= =?us-ascii?Q?9A=3D=3D?= 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Xinying Yu Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the live migration function. Signed-off-by: Xinying Yu Reviewed-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- 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; -- 2.39.1