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 51DA74240F; Wed, 18 Jan 2023 16:45:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 456D9427EB; Wed, 18 Jan 2023 16:45:39 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2055.outbound.protection.outlook.com [40.107.220.55]) by mails.dpdk.org (Postfix) with ESMTP id 88F2C427EB for ; Wed, 18 Jan 2023 16:45:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NaT4Nplv+etce4MklJZACf/AcSofRJxRdLxWnRiIuy6laFPRxOFU+sW+wsN+sK9v13/yWLWnHF4UK0WN9cBsuMK1Onma7Pk1Kd/KqgI5juQ7XbHEFzu7ZKYA+phtjRKL+Jas7PJ7avCq81b6j70TzKbDgmyRfNMAh8i0ynuPbfiCV1bhAWnFVL2puQpT1JdDjiMiI7vq0xZDXiRb/f0zHmRaslH0px54OhkU/oJJcZDd880Gm1TgOWr98/vFUg1u3Eu4Y/SN0UmkO3EbvzbdNy+qlTvpsX9x2XXegINYWixyODJ6w5Oq8TP0Sif4mGt+XDvgG+YAnv7ROXJ5RMYLRw== 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=o8PMWslI1wjKq9a0aBOo3abu/RXVyCx1q5mjLyx4Mho=; b=nfTINyfMx5QyVpvkwL2Thq8VP2hm0wxgXLuiIBguIjUbAIc9IW4rG3ooFWLhITFSw+cA1rg0d2n64hYTU/t8yfRW+Ts9rvkx+98AWpRASS7Xihi88XawmL1bPyzVJBF7rrotIZ/wqsI1OewJ2Kxe/3eJQlx/KbPKHbP63ntwOv7OZFaqq0nO3RXqTzzvXras8s5rCZ5q/VqN+bHAPWtO0EW9r7AcnuU6DY5cT42ZDAj/vI4+RlPeWtepwyH72veGsYgf4k6ouTNI1A4LlqYcsWNfmstytt3jESv2RXO+R6tA6UrBtkux14kLdyO6VsfI/pc2EGwiI/p1rau3D/u86A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o8PMWslI1wjKq9a0aBOo3abu/RXVyCx1q5mjLyx4Mho=; b=nmcm1M1XP/OYtCY/IB9ayaxVeQE111RbReuJzTINJMUYUr2qhOVnmf17jbc64en1Fn59lZkC4th4tmpu836BVQ78Xz0SCD0kChoj+YEKE0VGECPdd1tqWpFVdlll3GHaT1fXWnW6WPuIijmTez+ICn93i+2sf13qWvKJK0krKdxr3QdyV73jHqxBJN4YTKtl9elhlI13x1c9HndxI6xQWq595eKbtcLShOra9wXQuGGUj52bofIZRwEXMjPhdaaY2VUDcgS2y+nNHyNhglGMgajGdPh1U7qqlLEaeHG7dhS34CriHJ4XikLiArmfS7qQlRYQuaHgtow/fJanRE03kA== Received: from CY5PR18CA0037.namprd18.prod.outlook.com (2603:10b6:930:13::20) by BL1PR12MB5253.namprd12.prod.outlook.com (2603:10b6:208:30b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Wed, 18 Jan 2023 15:45:35 +0000 Received: from CY4PEPF0000B8EF.namprd05.prod.outlook.com (2603:10b6:930:13:cafe::f9) by CY5PR18CA0037.outlook.office365.com (2603:10b6:930:13::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.19 via Frontend Transport; Wed, 18 Jan 2023 15:45:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000B8EF.mail.protection.outlook.com (10.167.241.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.5 via Frontend Transport; Wed, 18 Jan 2023 15:45:35 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 18 Jan 2023 07:45:01 -0800 Received: from nvidia.com (10.126.231.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 18 Jan 2023 07:44:59 -0800 From: Rongwei Liu To: , , , , , , CC: Subject: [PATCH v4 0/3] add API for live migration Date: Wed, 18 Jan 2023 17:44:43 +0200 Message-ID: <20230118154447.595231-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221221090017.3715030-2-rongweil@nvidia.com> References: <20221221090017.3715030-2-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000B8EF:EE_|BL1PR12MB5253:EE_ X-MS-Office365-Filtering-Correlation-Id: f4195ff8-4b3e-43b8-0ca0-08daf96b0a08 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I1q+A9mqhkWZ3kpiZMb3fwNM9P+WApUpMJ+yvKd406MA+++KcX/99DXzNr6MxTGksp5LB2ypyFj47L1AWvA82mDRFmDY4ZJgG2MHV/iKTOaoYfjvw6AY6J1GXV7tIJQ+58fYMABRw8aiN4IxqqAUTsKXDnYecjYCQh72pNNkPBOm3ds+SgrSzQfh5QzLuWLk/4fEFmZY7lYItluS16b8cQyOR32aYuL4KEju6lYqzmhBeHADJdHEJ1KpqX8Ojobe550IW779DHeWGEcCab11ZtQLAEmTiKAivLNwCxR9olo9n4wQNUpvlrv2+P77wSWNeXbW/12Va2Y9upMHA77ZC+blrCW0i1qV6ypQkAqVzOd2KCHz73wTBzCpUktepBdDBA5q1HcsSuKBjcSAEe+eGiAFzY8Qrnoyurob2gwR+ZGVMeY0RpNp6YrDda2AzISA+w5YRSFarO7VT6EYXW4vXCq/H08iF149fKu1Uk8L3zwQj5BT4aykkj5TLRG1sfELtIf20gp6FIRs1jEEV+ofuZyP19Cwvt5Qbrd2RXV6tEkVu4GbPjmsF7SK/ob2BoTO+fw+pI5HfKvaY7WJeKnAZ/+xWwqLiFP76wKs9aB937J8z6rF4M1qyFZjyauNpvGc0NAnx5xPbcb6JTULsKENhb2KiNrS1BsPZoinw9KiW08dBS9IKIvhylv2Pfai2nhzCVkUPeuqTXAjxpOfSScpDA== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(376002)(136003)(39860400002)(451199015)(46966006)(40470700004)(36840700001)(36756003)(86362001)(8936002)(356005)(316002)(8676002)(70206006)(5660300002)(70586007)(55016003)(2906002)(36860700001)(4326008)(4744005)(7636003)(82740400003)(83380400001)(110136005)(40460700003)(478600001)(7696005)(6666004)(336012)(82310400005)(40480700001)(41300700001)(426003)(1076003)(16526019)(47076005)(2616005)(107886003)(26005)(6286002)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2023 15:45:35.0369 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f4195ff8-4b3e-43b8-0ca0-08daf96b0a08 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000B8EF.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5253 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 Introduce a new API to set eth_dev process to different roles: active or standby. This API should be used when switching DPDK application to a different version and it should be simple and easy to use. v4: add more descriptions and one user example. v3: add rollback and device capability. Rongwei Liu (3): ethdev: add flow rule group description ethdev: add standby state for live migration ethdev: add standby flags for live migration doc/guides/rel_notes/release_23_03.rst | 7 +++ lib/ethdev/ethdev_driver.h | 20 +++++++ lib/ethdev/rte_ethdev.c | 42 ++++++++++++++ lib/ethdev/rte_ethdev.h | 77 ++++++++++++++++++++++++++ lib/ethdev/rte_flow.h | 13 ++++- lib/ethdev/version.map | 3 + 6 files changed, 161 insertions(+), 1 deletion(-) -- 2.27.0