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 67B564573B; Mon, 5 Aug 2024 04:14:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 503BF40659; Mon, 5 Aug 2024 04:13:32 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2132.outbound.protection.outlook.com [40.107.236.132]) by mails.dpdk.org (Postfix) with ESMTP id 755F140656 for ; Mon, 5 Aug 2024 04:13:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DU3Beky3hwJOs0hZBIEdFupv6iAGcnWLUexR9FaULqOHS3iLLmyYDKCODIJfwYNaMQfyk6AhpE0GmdaU/oM9l6GKkqhAgbLwlnNTt69nvHfsFNBkLeY01Iy9wq8f2YBPw4vS0k6JSnzkaqMl60AvY29jTesaaIpf94oOS+rBmvFOJBwRFZARjV695uN1Dj/bA8ZOyuiStHYRKly2ubHH4RCOA8CTmJm3wvAXutwRmcZJANQfR14tqwOK0baqSZw31LcBdBUIZFVsWt9bv7q4sUQFRXarK9eU+vF4EQZRNzgx+vH7NIgJVaYqo5i5+5qFWvEv394PCY80AQMyfV8FDA== 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=noGbcYrfShaNJliK9BJ2L8XMYFD4PKxNdAKjrbLMbek=; b=g3h5a33hX5jUhpELl7/JMbfMXR7MCgB8qHj1OCde5Q8+JJOt/XQaNDgxFEtqdQ3YvZlj8WCxJ+b+/y+P4PyYZYH4tjWUitIcPNV8VDsrhn5py52RvgGZTndqlWqBNxJ9SPIHWxVwMg1vwKYEqEE4HRLOGa4fiKvJQOvsxDha5PUwLWsi4E+1GfTufLpvqSZto/m9+tgOZjBPu+az8rVzuazt0sOTF4VDPG4mgVBI5cBqHwNaQVkzPaxU7j1wA6C+wzdIb7ZSSUKL4cunoj+NhtuVxcCHtYoB9z7GBc6Bh5g4e3SrlxiqzjYmROTJdJKX6C8wRMDT+8WdqD7co4x3Rw== 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=noGbcYrfShaNJliK9BJ2L8XMYFD4PKxNdAKjrbLMbek=; b=ojoTjJMhJrQjYBPKFPrYdHnaM7YLat7C51FCd0Xx9p+2/dERCa6NIG36Exb+oY0gBYC7/6KT+BxovVh6BUjwxzdrz6GzMk1fVGi0cXXJE/4JFlCQlP7levUmp9jFQySd/0+OtI5utG3KlIY14N70gMR+1051puBQc22Nx6jm+9c= 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 CH2PR13MB3815.namprd13.prod.outlook.com (2603:10b6:610:91::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Mon, 5 Aug 2024 02:13:28 +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:28 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Xinying Yu , Chaoyong He , Long Wu , Peng Zhang , Maxime Coquelin Subject: [PATCH v4 10/11] vdpa/nfp: enable feature bits of live migration Date: Mon, 5 Aug 2024 10:12:47 +0800 Message-Id: <20240805021248.1051198-11-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240805021248.1051198-1-chaoyong.he@corigine.com> References: <20240617062708.2932037-1-chaoyong.he@corigine.com> <20240805021248.1051198-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_|CH2PR13MB3815:EE_ X-MS-Office365-Filtering-Correlation-Id: f8661e40-e1e1-4b09-dd48-08dcb4f43214 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?C606VDZX++c+68YGybDPHK8sg4fRSMgQv/2IzKsdbJjXBPVXbHDz4mclxuut?= =?us-ascii?Q?6pamyAeZV6hIkuKM4naES8IB9vHbveNRQHxi2qpK63qCWXq/p/BqyUWufY8D?= =?us-ascii?Q?7Og1uXoiVbbHq9Z3wC06EmryI0Bh7wJh8LAdkZYjGP8jj4IWd2o1GSJa7DUJ?= =?us-ascii?Q?QyFb50tFu7yOzQZ7Msf62OApPDvmoiRBrjseZ40X62lQyClI7rRHUBtS1R8D?= =?us-ascii?Q?85BFm77dEYyJidbrrjDzpWjn+mDx2bFGFz8NqKmFGZ+YIH1pT2qSOvdUnnTW?= =?us-ascii?Q?G5B5PnffaQN/lq0GqmCSBfHg/9vXZy0pY4xaiUgPznFT/RgPEiR94m+N/lli?= =?us-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MrMZSGBYa80bhWy?= =?us-ascii?Q?WcuxTopu/nDoxtqsk/NUZj5ngRBejrMerSHMa09Ys/OiHaBqMr3VGmNBzkFO?= =?us-ascii?Q?DJYzJzbk9x1H1ESFqzadiOlQkzOPlfLXuGJIWp6baVNNrH3XcGI/arMfTNY8?= =?us-ascii?Q?fRzbidOg5TXW9TUfPrRdVhjSVAD2L4OP9ws5MpkhjkuY+sEkoQ=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)(1800799024)(376014)(52116014)(366016)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?94g065u6kC2qfP7tsrf07KpQ9kVWDUaq7WAEOOc2Xyr66bbrYUs7/o+D7nrh?= =?us-ascii?Q?5zgzmd1GL+a8NOs8nO9HaPG63X9E+iDupjTBJAMgU/+Z07jw9YpKZ3Uh2w47?= =?us-ascii?Q?za0TMCe98azEGybWU3YQxKHjNyBLzgvtDGtFX1dnDjoIgTrX4h2RjMjzAMMn?= =?us-ascii?Q?1eL2UuuNNYy9vj8o5Zw1k7tkssf9wvM3P/xUlL3Pbr0k42eSrpH9u/2uGOaH?= =?us-ascii?Q?c3yUIoMNDrAgfKYpU0X/bEDKUDJBIe+emJ8Llp7sXBF8ss8XNgf2kGsjwyqW?= =?us-ascii?Q?S1osl96oPo0tdrq1i06/gSD90vzwgpqx8BqAF5Kp/XvvW8yXkgmcJXIhqST4?= =?us-ascii?Q?n0sBZtu3X69Ncpdn6h+qqvpq5YX8QnYGlgougvKf5G1yoFt67YV5giQQXyih?= =?us-ascii?Q?lTy4Tz1RkOCarnoEGP7ggxK4rhh3P6/5u5gRorD0b+H5JljpyWn/sc/Ca4Lx?= =?us-ascii?Q?efkkDNYtO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F2vBF5?= =?us-ascii?Q?Q7z55d9dXVGDZb5JxOwvEqgii67781RueVUmoNKHDioVD6scU6UgspQ4u62p?= =?us-ascii?Q?Ze9VpnhZQCjbi3US9del2H0uIr2PIXqzm47dN3Bl4QgcrSUCB1WEJ4ZXC1XS?= =?us-ascii?Q?9MQzCmSdf1WsW2YRA0RlYcvHNd0ZpRCxrrQj+MP7xApKD5Z6Ea0qa8WO3eMr?= =?us-ascii?Q?84lWkrmMKR4Z9OT/HFo59WBaepZsKGBbsdXj5ISkvpvMhjcNTdq1+fKui5HQ?= =?us-ascii?Q?gg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: f8661e40-e1e1-4b09-dd48-08dcb4f43214 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:28.7646 (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: j4MQgWNmIUQJuyIj+9+w7LkzgXgf1UPfNw0S4zf5AkCj2p63MvCQC6KZfjkg8WLTpb4m3SljjKw2hy8pe6KPtpJnozHMhQlIoiAT5dDTZxQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3815 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 Reviewed-by: Maxime Coquelin --- 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