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 3329145459; Fri, 14 Jun 2024 09:03:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 44BE242D2B; Fri, 14 Jun 2024 09:02:26 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2118.outbound.protection.outlook.com [40.107.244.118]) by mails.dpdk.org (Postfix) with ESMTP id E74C041143 for ; Fri, 14 Jun 2024 09:02:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G+ey1u52XxUMv3vT/tXUUFPT178QFUhvr/BzDZPIbkTd+XvRsV1oVpbiSk8qrrtwt9ESJuvWaiZ+LW3u0V5kQ7A3nW2ztg44ZXo3ZLaaGskZSAEa6FgLdux5vHX7pbv0YbMsvjaKAtLVKXdU9fuMR4sn8FT0jtJoReJDbt+KZo1arv5CUz5R7cw2CCIQPpRg7jdzLgTxdM0bJMJGpLlxmt3Om55kMTaoG9gY9+VXPtP6aNPnzsE7jIrF3rbccJZF0pA0fWMQPHJxtT1Zy0JyOkp7RCOnP5dVAIqym+0JEuGQJc463szeDV0R3HID8tZ4OnBWV6BWN5XKZ+MGrG8nHg== 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=gAdCmn7o/zKfsK8pRp87W9FA43vB41zSDcyRfPCvQF90FZ5LWqYC0uGKLKqkImkVAf5yuX0jidaKS4OIv4NuGqjAs6l7HC7OG0HgnWD8WEW3hjQMSjhz1jAaPO6UMojBVHaYuk/BUfYtKi5Lz+n0kO7EegYG4AOxbaSkXpPB6EyECxRRkXQ3cMotiIYT6xpPnxLDdN6xsokDaClq0y3Ox3A4v9Cmd0QTLrdyFCMUokbKhaR9PRdyrpS6bVPUszWoTTtn0T+J7ZbXyv1YcrEAY7tbM4hWOtqUe4XcQkE5KT3PmWQ1MNbnwBRVW33b984/1Pqy81DlvNIcDfjI+syGow== 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=nu8IWU+n3dPTjuC6Pz3e8JIPkOdKNoWOSc+Wsm2Y13h+5kIaxQuLi1Lnw8iszhQT8+dwJubC4lfTWYOcLHUvFWmAJWhdpiu4S3Emi4SLvSgTL6RyndTttjeYNKFvARlqxQtxymhwQc2ekZI/bzVvWUHDdig17APn6hhjDfIoCKM= 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:02:02 +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:02:02 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Xinying Yu , Chaoyong He , Long Wu , Peng Zhang Subject: [PATCH v2 10/11] vdpa/nfp: enable feature bits of live migration Date: Fri, 14 Jun 2024 15:01:19 +0800 Message-Id: <20240614070120.2663160-11-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240614070120.2663160-1-chaoyong.he@corigine.com> References: <20240426074831.1729792-1-chaoyong.he@corigine.com> <20240614070120.2663160-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: d0891758-c124-4a0a-d35c-08dc8c3fe44e 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?97gitJ6FSs3iI3TI4Hfq43x5TGhFNzKo6D81kCvZa6/uJgW7Fh3SQK4FO2pY?= =?us-ascii?Q?vUF0qzxWdBUdHT5cQFoVJXE3lL6K77ks8oYx+4YA/zS6fHsQFbhhRHodmnir?= =?us-ascii?Q?GieJjLTi3BH4q0Kbyk0mDTwHNejl+nU1+9opwKIIOjSLEe6HTEkXRwKwPvPR?= =?us-ascii?Q?9mPAPfESOakyed3eWJb4QAhVBbroFdsUs5S+otVl4+hdYX8IWhc4zSVxbP6x?= =?us-ascii?Q?heGLm5zivCOwzDCoLOtpxDMGFxZHm1HwkIk7XSTDSOS5xmh8iPUJEF6ACcXS?= =?us-ascii?Q?KBRLFZAPleVENkc1pYSbq/8tc54r7QsHpuPW8TJc0KomEwwE0VL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PE6MUHRr8PV38lB7z8vg7Ariuzw32AQffN8TMf7I?= =?us-ascii?Q?CPa92UK+3sWnR/siN2yH8ffAiAtleFtyngC+PZW9dwInpQ1GvSOlWOnbXISG?= =?us-ascii?Q?ijcYSz9Ayg5g6hXozK3715e6rrQzzTNDFQHtOYnJs19/fsZp1r9Q4Rzn/JLO?= =?us-ascii?Q?EMkYbLA=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?zsi1vWsmqEh4cPt+TBw9LmlCX2Mdt7/9+tYapgBJEjFaFUEeZHsdjKOCm6kq?= =?us-ascii?Q?zcOQqtqGgU0Nqq9rGakfss7dDA6d9jAc8kAAJHT/T95eC43f8P6O3GhoHUyh?= =?us-ascii?Q?qq2vFjrlKcNJgv/NhYgh12y2pzHTKtwaFKnYPCNsb06IKb0m+9X8/IVGM5yw?= =?us-ascii?Q?+65ac1GvVGhiGjbeavWIsf9uuw53v5z2KWQDICLk6c7ejH4ZgDZCi3LzyRu8?= =?us-ascii?Q?Vu+5d1HfEaEB1cz5h9KQQSgZcqQ2wadvkoiBSqFIU/Io9/dUAmqHLZ7XBVSG?= =?us-ascii?Q?S63iCDWkb26EI48nhF7dv8hp0xive5jWLn8EDFPGorJ6ClQ4X+8ol0JUCCZ+?= =?us-ascii?Q?GDgZJM6dB9JZ5CLbFUfX4fujCqqKRjCoN+uoghuw+CiO9Xl6Rx8iAcQ4MQ4E?= =?us-ascii?Q?M+Q5aTI1vX7PasCDXGtQwjs+gS3VR4br5Ca+Ahmezbciecr1KqfecYa8tvJm?= =?us-ascii?Q?s803gP/hqTgi+rTk7G8bOnGRII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NY2QtlJoYC7riIXMK3U1Vt8nfQufAGz5gV9l9R/kVvu711+uJGU?= =?us-ascii?Q?uasiMX+rGs+EQ73QcbfQZZ1AOaxAPDOFdZjHgKNNRoq6BWC+e4B2sHZwLJMc?= =?us-ascii?Q?cBrCFvY3wICEBHQj+1N4LD+kCYVfIE0bPwanfgXyvqpCvVM2Vg3/ZUdBFl6M?= =?us-ascii?Q?e9bJfgXBGUQpBKZDIJO6z98SH6eltmytVpDu5abwwqle7I9iibPZJStL2MNH?= =?us-ascii?Q?cQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0891758-c124-4a0a-d35c-08dc8c3fe44e 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:02:02.3529 (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: brFFvylJeNXh8bRl9duGkEzotOokf9ptkMuaG4JzkvSPhkjF6wB5SsfmQZjG8+nT3BYeyW/Bjg79YxqUqKalO4SrVgJWCrjJFwBBkDwsxqg= 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 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