From patchwork Mon Aug 5 02:12:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaoyong He X-Patchwork-Id: 142893 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: 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 7784F4573B; Mon, 5 Aug 2024 04:14:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97DBE4067D; Mon, 5 Aug 2024 04:13:35 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2115.outbound.protection.outlook.com [40.107.236.115]) by mails.dpdk.org (Postfix) with ESMTP id 6565140664 for ; Mon, 5 Aug 2024 04:13:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cSo/ch+QKio+ausZlrGh5LPtXYNQoiOtGq+I/HyykUhQLR9BtWMO9Mm0kg0IFiOQI0is94CFfboUdK59yc2wt2JdU8SGfuG/ipWmv28Ro8D4MkrUa7SKGQEd33zbOLI54tTzljrvzW9zJGur/kwCA7VCkWiVGY4/cXf6p+6Vy+PrxovkOUD9kTLivKq+KiE3nhw8oppYp3ZV5dE+JGp7SrZkq6GeYr6G1WhN1I0X0V7FuM9zm8+IJt7h2Aqi3FXaowxPcDqz/on9bfyMU9RVxv//mMXci1VydYIq2/mUMlxYBNtR+nbxxswIybUnyqGEQ124nPgu93Z/CSuij6U3Fg== 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=ITH0kKvl6e+MzaBF/jZ5ArG2bmewXdiMrWCYG5IT4cs=; b=Ssmow7v6EfslffjFcCJjDrXz8z9SvdxFHkjhHuMoWabD8FRgVMoQhCXxhuwgRma62Yy9BOHc25900y63xEcrDBJYQ+wr8KE/dliTrDBqMLxfmQTkE8g6z/WUpbNHFRxLoHTedXG0Xhmp44uKeS+tUMamt0AsWQvtr0wqCzJz53r9kycNyjQCAdUkhexSbjLjjTyLFtyADGWdSsuxeAMkP0aowMCHXLycNu4bwMQPPYyobfm7Y6trIoYuhr9zLJWSVSyrFJ6Z2yLFuY82CwosAhv6XZW/2dLAOUXbT1ZX7wnWhPE164xghZWoBy3GUYGX0k63QRdXX7WHhdqwZS7mMA== 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=ITH0kKvl6e+MzaBF/jZ5ArG2bmewXdiMrWCYG5IT4cs=; b=gBuSY0mIqz22vmLzjHtxVKfwNZND5OvgOQdtsvMhwiEJENAVka1gHAZVMm0JbHYMXV+lS74Ghox9JsXNHcgGu+sRz/uF1egN8K/74mjcVFCDsaS0ZaQUkaZpBQziSIKcVTyMf8N1n0hT84GU/c2XJFJj1PXrci12KuY7toqLevM= 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:31 +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:31 +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 11/11] doc: update nfp document Date: Mon, 5 Aug 2024 10:12:48 +0800 Message-Id: <20240805021248.1051198-12-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> 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: 79298169-bbf7-40d4-f88c-08dcb4f4336b 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: V5PFXhk58M4hbbDjzvx6EBJy1OJlM4r/yrBh07ev77+8lgSjqABRduPz0b4nY2d+0oknhTvUJTMxjSa0t9UwkkPRShwmYUCekViVHjbfvJQDGnHKq0I4amllApuvgz5AdIPAFeslwN1ehAXDXi8FDMB7Vbn/V71kyU9QKa9D6ZtezLR15I2NyAmW9xJ0DCy7GyhKZhzXlyRLrHGEmHL7G4OV3issDU19wqEejrIm0M9v0RgmLQXsqehNT65Ohd1GkiJdNMsuRod6FAF1q6ZNMkx+HJJG3g/4nO280PNhssP3nkgfUJ69hlJfB4UJXqYCeW9wMd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wxz/Q0tNk2HIOtjkjYh/Q== 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: jJTeKkEg4rh0NPCr/d5zFw4jAiTXHivbBSDNI5xRqotJqvmS5TQuLEsXGGwNLs7mdkVnNQ1iL+sOrwU6x0Po4Ar+Ctm6O4X4Eq3pPYAKAayyr5zajEYl2P8vbc4kwSG6ENQqLrazw+08akTP85rnr7tQVsNDWv5bM3nQN2eVGAd7rNMjkYx+/AbAShofVWVHcTw7t4EtUox384J57hnjZDEvxgzLKXilZZIhTIPcU4bKIwlOVJKKc7y1GVBgcWHANQrcfJCqOjSXBgwVzKyxw1Ylk1tfeGqPxL7S+bWcDXn5YKRBUf7+ZpCduVa11rtCtDqMyv+eBkjl6CgoXB4yk5o8E4dVcXaO6c5BEuJGZBc84yKncVc+fVZPwY4rSFRhK9fpgjTHd6BUcPYN/U4zHqBHIwPPezjG4LWIBs18i/n9nZsm56hEVBe7/d624XgAFB0HNcPo+/z3W7GTdgrwG23OdGrADJQZd7dZN0vChCEgsg84BvhCj8YZwVH05llQE4k3Kc+aoHDo7zPXTUP+s9Cn+u61OypxFHvxo2JwcMCRyh3fooYCaeyku2//IZwmF6MziOdo4fqwFd824vN7YgNURrAHKom33h1/U7Ro1zEecM6jUrmwomF+oJyPtni1EjCgKttx4dKwU7F1Vs0NSsLB001mpuVsWe68YJKY6TNj3Fx696EtgbqiXhmKaa+PaO6GXpR2sAkZYXQK6/rhddL0zDWH3rO3cMftx+hx0sXCGfnU62s/foH2L3wuKf6j4Z5RJr/BQvYvAyK5UjQgYqC69tlHMOBKbzErmWGSPzrguRXRnjISC/EnIkXRyeTNiRZm7ZDUhqOvrLa2orShnSie9MPfg/eQR/EBTgtSyMf+NSriMNBd8i3gdJ4lnbJUhfwwoqQMGD+nReHNFXEiFTLmgpobVaFs8F06rjcBw0E4EiZ622oDUZkzp1ylWMcoVHb96wX3IbCWBpFYaSZ4sQhiy/rFaobnqTiqhkeI7YRYmuG0FdCUjW2m8VHnwjts4+gUMQi5zXkq1jEE1xdm9Z84uEDtd23skYje7meZ2m72GPRLZIbAhK/8cDc/07QMvIQyc482u0SVZ8GQs3bC9mg2TKOGo4DSCzvbiZD8VdoOxhFS26PnqTyi35ZkGtwEnl0RKQKs5Eml897hggF106DedVZm5yfvOhsUFqOToPJogrcwwKy5jVaNpslcmhS1Oh/O2eiND33Kuy/p6CbQmM8ujXWo8XAvfdfFF3VSTpWBYxEBbDXw7CFyq+Cp/bg9aR0I20oBTCCO5IxyagbbZmFeavCHnenCMP+9YGrWbYCCa+VCtWBY3pgMZ2nHKWRrPVtwfgdZdBjmxNn0kH3Jgxbk2QyTa+LQdFlTkV+HRZljVaM5cU3akQVzbnffgh62BjchsTWlgGNCx8Hi3dzpr5CKrHVH2zkTeafeMJ8eqhaiiOAXtVlXgMHSl0PByUCuBwVtfee0o7i4ebr9xJ3RiElYjjeC5TIhfYvZQwLoxw2Xxf4qq8B5Xn795NvexlWu0cTRp6KTjwfqYXmUnl7nDd2sG7Cb3Fbanxrc/ZxS3GdUQuD3J3TWIgIn+ORVtHIVCiDmRf+oZs/TzVWnpPp9hQ== X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79298169-bbf7-40d4-f88c-08dcb4f4336b 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:31.0071 (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: qNT6veZO+1SUrFe/ev9GpBMmwWKdWsymkXeM80sVX3MfOQbU1GaE642Sxiw5F7qqmNTEXEUaOf9O3WhOwFv83mJNJg4mGbGxvDpnBs/L6xo= 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 software assisted vDPA live migration feature into NFP document. Signed-off-by: Xinying Yu Reviewed-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang Reviewed-by: Maxime Coquelin --- doc/guides/vdpadevs/nfp.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/guides/vdpadevs/nfp.rst b/doc/guides/vdpadevs/nfp.rst index dc9e94dbc8..e4736d9f61 100644 --- a/doc/guides/vdpadevs/nfp.rst +++ b/doc/guides/vdpadevs/nfp.rst @@ -19,6 +19,15 @@ device will be probed by net/nfp driver and will used as a VF net device. This PMD uses (common/nfp) code to access the device firmware. +Software Live Migration +~~~~~~~~~~~~~~~~~~~~~~~ + +Now the NFP vDPA driver only support software assisted live migration mode. +In this mode, the driver will setup a software relay thread when live migration +happens, this thread will help device to log dirty pages. Although this mode +does not require hardware to implement a dirty page logging function block, it +will consume percentage of CPU resource depending on the network throughput. + Per-Device Parameters ~~~~~~~~~~~~~~~~~~~~~