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 89C82A0032; Thu, 14 Jul 2022 15:48:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35BE842B7E; Thu, 14 Jul 2022 15:48:26 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2079.outbound.protection.outlook.com [40.107.93.79]) by mails.dpdk.org (Postfix) with ESMTP id 5E1B342B6D for ; Thu, 14 Jul 2022 15:48:24 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=cRKmGHEk/uZZ17HYHQ9JrCJrilbvVCiNw4MOn9wjliqKygxxa+45Upz+R3Y8/LSApLmXN8lCD+yNWNdMxxbXPv4Gj+XfHdd4Gf408NC6UYXiJhq2r/Kb/d6MitiQUAMVT3HAxg892R6OuzytRgwM0lVp9tQGLTkMtz5pvyJ4o8I2TxNeimMKxivzn7LJ/SleU12tEFzGmK5TpW6DG86EO7bh+OL/B4ryE8hI0+Z9+c/66MKljrL3pRuER3nIkCxNYUKooBYzwn07aS7wHdRV+ETXnVZU0uQD1yiTesC3M0PEH+kPz+kOuKQtAURq148Cd8mHy91GyknGfHKy2hd3rg== ARC-Message-Signature: i=2; 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=XRtt9Ar1laTZ2Dxq1hsnHo4BHsfAFhCanlHEoTW/8Y8=; b=fHmirlg9nOpGwPoGpUCjLhLCyZZ7euYYm2qABkxcuGAmNEaNaFl3KRQAgWjxvZF/1TlijdSC8vgS77LiHvk415Up/kcJL8zdNIi1pGpKd93iYYUNHHc0+4HX2T00oJQ5Sn4hSKy2otnF8FIX1hr7hRPLR4CrLSunbfOjllKR6GDXgWNyzxRScjiefTkoDeQIBZXjeh8R8Mew2rqhmlyurQ2e/oqafKuFcIoAYO8uY74fuo4+AIP+OT2czvZNrGgukRNZyt0EcN9xCYYaHarRngJKnLHX6HFvte7iMlVMSkn/3dqfGDkDQ0FR+/bRxv14VYhrEeGu3j/LaGJ4HHIvZg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 20.83.241.18) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=xilinx.com] dmarc=[1,1,header.from=xilinx.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XRtt9Ar1laTZ2Dxq1hsnHo4BHsfAFhCanlHEoTW/8Y8=; b=4mXjQ28cnEBALetp13TVarpc51I0Nry+STUiT1LuJvch/3mUKDYT7pRwVLJONw+FFagNoZC1wlAKD0Es36NYQBvB7qzZnde0JVB718gR/pYY050gmspV6PrhDoon5gU8kZ4926z7vSkiO2SleyewvWp3hLwR9jOo8HBMrzjOYcXMCh5VUGY4MDUrQ2rPDQamiNDR806gJWEGwuLAZaTB5eX4JK4v68izG3l270bJt2xZ6OfhWTtbhIdiuPPeY3wyBJ2s6kvW47eGygMIROLaNFDEjrKxKwiHcjvPLnvS0c/qKWBV/n8Glin9TiTCOJXXZTXqVIjcI+5bICUCGIlTgQ== Received: from MW4PR03CA0042.namprd03.prod.outlook.com (2603:10b6:303:8e::17) by MN2PR12MB4271.namprd12.prod.outlook.com (2603:10b6:208:1d7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.13; Thu, 14 Jul 2022 13:48:22 +0000 Received: from CO1NAM11FT018.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::46) by MW4PR03CA0042.outlook.office365.com (2603:10b6:303:8e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.24 via Frontend Transport; Thu, 14 Jul 2022 13:48:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 20.83.241.18) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 20.83.241.18 as permitted sender) receiver=protection.outlook.com; client-ip=20.83.241.18; helo=mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; pr=C Received: from mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (20.83.241.18) by CO1NAM11FT018.mail.protection.outlook.com (10.13.175.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Thu, 14 Jul 2022 13:48:21 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2107.outbound.protection.outlook.com [104.47.70.107]) by mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (Postfix) with ESMTPS id 7EC5741D7A; Thu, 14 Jul 2022 13:48:21 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxHxzIIc1MYQeGJa5SqL41j1rzL7l08IcdR+piCoGyGpu2YUefRky+DC8pAOM6S33W+LThhbR/fDLKINOt3iwBXiJ9hQyb4IyuA58UR2yCdqUFyaH4TVj9axZk6eGI93V6fySVFp/KJek6N3UlMFhYfsKS53CsmxJ+q6Qyw/jIENAr2mNVwU/NrY3XnITwk+XTS5GUuh9Phe39uctNYpn4Xb0CgLe+ZiZdTh/Yc5c9fGajrv3NACJrqda9gUfA48m0M4jWBropaAN+h0DJYK2N+4ZWW9YjUnpg6RlW9+6dy+dwYXLLvefazlG98BiTU9WXPQ4W+vuDMpv7KslioRzw== 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=XRtt9Ar1laTZ2Dxq1hsnHo4BHsfAFhCanlHEoTW/8Y8=; b=hs/bj3nqpRoDl3LiZ2sOO5Kb4cznalqYjvpwxHy5xM7cdIqtARThOX77AbZk6Q8Y0v3UovmD/Cqk1kwcmbGQWfvvS5qyqD/hwoz3P3b60irDWi/BWoX+u28HOik9u870ngzeJg0QHvgA4c9U2ms3vD2Q1NUVG2Hd50PgsGguwBTfMZ0tJIqPb0y9/T8UqzTNUoGrFLZEagYvmD4PeS1OA1iwt08HeBGw0yb9aRhcS4MJjp2m0CJzKuhxuTT9KvPNXD8K7js3t7agZVqEkWXi2wHACsZ13fHTStAAq+wZ3nmI1eESIzxn20RZ3RyYLmKjHfvDLIQQ9z5HmdwVJ5FMGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=dpdk.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none Received: from BN9PR03CA0426.namprd03.prod.outlook.com (2603:10b6:408:113::11) by CH2PR02MB6232.namprd02.prod.outlook.com (2603:10b6:610:d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Thu, 14 Jul 2022 13:48:19 +0000 Received: from BN1NAM02FT050.eop-nam02.prod.protection.outlook.com (2603:10b6:408:113:cafe::cc) by BN9PR03CA0426.outlook.office365.com (2603:10b6:408:113::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.22 via Frontend Transport; Thu, 14 Jul 2022 13:48:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT050.mail.protection.outlook.com (10.13.2.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5438.12 via Frontend Transport; Thu, 14 Jul 2022 13:48:18 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 14 Jul 2022 06:48:08 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 14 Jul 2022 06:48:08 -0700 Envelope-to: dev@dpdk.org, chenbo.xia@intel.com, maxime.coquelin@redhat.com, andrew.rybchenko@oktetlabs.ru, absaini@amd.com Received: from [10.170.66.118] (port=50892 helo=xndengvm004118.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oBzCJ-0003Fq-Nr; Thu, 14 Jul 2022 06:48:08 -0700 From: To: CC: , , , Abhimanyu Saini Subject: [PATCH v3 0/5] Add support for live migration and cleanup MCDI headers Date: Thu, 14 Jul 2022 19:17:59 +0530 Message-ID: <20220714134804.60495-1-asaini@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220714084451.38375-1-asaini@xilinx.com> References: <20220714084451.38375-1-asaini@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 01dae38c-842c-493a-7471-08da659f8426 X-MS-TrafficTypeDiagnostic: CH2PR02MB6232:EE_|CO1NAM11FT018:EE_|MN2PR12MB4271:EE_ X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IxBLNlT/aRANZO1EP8jXTCgbaRh5fteOZEdhutKWEPoBokg94muP4NDgdZq8rRXdZ5x+Dp/HXtK4BYz6ackmjMSJ9dwES09DPAq+VqZyo7qNFHk9nUUgQW2Rx9cL2WUd95dVyYaXvkTeFbo0lijEW2dTYvouFETUoRX0Jxk+M7WtY9PDRhBDSKwPcMjETsSds2R1ilEC5gmn5r7scFUydgEyWWHcfKfByI+QbHA3YC4d2fPHYzUcVfJjquD4deC/dghTrYD4KN/PchLf50YhswUw3QIgK7smke2H0NtzJWD5Un6XLOii3TQq0VSL1rpj3vg4qcX8v1SlA+RVg4HJd7QQWHwuH9HzYdVV2zREJYMvmBF07AoGuXtpqPLidRuf3W1W40YdEab7hpWbx8lpZ+8adwg8+ZzYc+ErGJ9SoX2xzJQ+5Q67tCmMrcX1H9zs2kf1Ex88vDTteLOLjQFwrCaYNlVIh0QSFcfflqu31zkEfAT3fBaEmgL+ZDGGhG0n97bgqKuoYcB2zy3tkZucwUkCgNr5JPJ9Tcfc/K0uSYRiim5ZaBOrxz0/SX6rjPQ+THidsq7iUVEXMFju5Swci+2TlWJHssUOAqEI1S6M3e2uvM3km8wOuYh/7DYzeZ621tVf5Fhd1OGZ0rime/ah09kJhruNfWzUmN6LF0KZ7Frl6LPqS/cFu4byrXvk/2PoL4x5u72BMcgTOFctcukIpYoI6hKUbhhr2L2hfJruS/x5j7fzixhJ/A67F05kIXx1eMhnSj/vSNFNHX2VV0fz4s0K1MSIYw5F/mmtiQLZ222ehSogfdBN0YiOFMG9I/qcXb8mAsKZ7pa6XVI7kOfZwWp4mQVv5qR3+W+b+k7jenw= X-Forefront-Antispam-Report-Untrusted: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(136003)(346002)(376002)(40470700004)(46966006)(36840700001)(82310400005)(1076003)(2876002)(7696005)(70586007)(70206006)(336012)(478600001)(41300700001)(8676002)(8936002)(9786002)(6666004)(2906002)(4744005)(2616005)(26005)(5660300002)(40460700003)(426003)(47076005)(40480700001)(36756003)(6916009)(36860700001)(356005)(82740400003)(7636003)(4326008)(186003)(54906003)(316002)(83380400001)(102446001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6232 X-MS-Exchange-Transport-CrossTenantHeadersStripped: CO1NAM11FT018.eop-nam11.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 17b82ac9-0f09-4024-f16e-08da659f8260 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yFPxQWwK39rrh2c38eydNFXkCKhtgbnc0CFbaX9ZbLqrHGGgdXac3gEdy4qf1pwxwokQPsjcyLbVuiGcKaDA/ffL74G9M/KhSdC0j3EwfeXpevYcQFj2DihESxFxc9v+7YYrc90rxJ/nNZVSTbjkYGXyWZHMeuHK41KBz82Y1E0weEP3UwTuSyjT+96o29ax29lXVsVJu5/KNBKEfiwxysyZQ+Pzy6oEYvbM7qrEr4aPslDEDKIA7elxZqzUuAr0IbDdRIIVqru1LI5n9BwfGPaJUOn6ExoP8EXspW8Mmh1T0wY1mGGCsC2AeHs9bSU5zMau//YRp8L70Zcrz+pA3uY/6pGhz15/EEWTka3LrP7r7Zp2SX7aK8LVejyb6g9H2nO7jLYVyGw7HtilES722yZFGSrMlY1ZNLpx9LGbPMqtanTxkbJmOp9Y6UWXZpmg/ZBf9mRGvIL0GpR1bDnc6eh26vRE688pNl3qwd2Vwu7m0X6H7pivgW4yRQuDj8yuAdbnWTfseLvd65UyV0zEw+Ox9eB6Nk9Wpe8ZggXktMgeT7qhRwCMymgXN4/4DGAlQu3Pr2gc+A3j5oi/UeGsUXg37O9C4FooqfyAdOSGC6Z15Fpel8KCapHbZ71tAWQ3AhxFF8DBYyMQKBHgAastns7LPsy+3CeCm0V+205gMrAqa37hC/z4SpwTRDORpz3wq//l9cO+dGgUL9GpR9EmK28yt0l+l8ZDBYb4zO9Puqx9Y9ptOUgB14ZEbbIKdUh9zyxZOkxeDSbuyEr+0K7quVeelV5/7c2htZNH7B3uPNH7h5tRW4DzhzEmxHYDYvotByVXgAMVN1hlMaetA7eGikt7Icb5jj8kgzKg5CQK7uk= X-Forefront-Antispam-Report: CIP:20.83.241.18; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(346002)(39860400002)(396003)(46966006)(36840700001)(36860700001)(82310400005)(83170400001)(81166007)(316002)(478600001)(4744005)(5660300002)(82740400003)(8936002)(6916009)(4326008)(70206006)(9786002)(54906003)(426003)(1076003)(8676002)(47076005)(40480700001)(336012)(42882007)(186003)(41300700001)(83380400001)(2876002)(2906002)(7696005)(6666004)(26005)(2616005)(36756003)(102446001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 13:48:21.7352 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 01dae38c-842c-493a-7471-08da659f8426 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[20.83.241.18]; Helo=[mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-CO1NAM11FT018.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4271 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: Abhimanyu Saini In SW assisted live migration, vDPA driver will stop all virtqueues and setup up SW vrings to relay the communication between the virtio driver and the vDPA device using an event driven relay thread This will allow vDPA driver to help on guest dirty page logging for live migration. Abhimanyu Saini (5): common/sfc_efx/base: remove VQ index check during VQ start common/sfc_efx/base: update MCDI headers common/sfc_efx/base: use the updated definitions of cidx/pidx vdpa/sfc: enable support for multi-queue vdpa/sfc: Add support for SW assisted live migration drivers/common/sfc_efx/base/efx.h | 12 +- drivers/common/sfc_efx/base/efx_regs_mcdi.h | 36 +- drivers/common/sfc_efx/base/rhead_virtio.c | 28 +- drivers/vdpa/sfc/sfc_vdpa.h | 1 + drivers/vdpa/sfc/sfc_vdpa_hw.c | 2 + drivers/vdpa/sfc/sfc_vdpa_ops.c | 345 ++++++++++++++++++-- drivers/vdpa/sfc/sfc_vdpa_ops.h | 17 +- 7 files changed, 378 insertions(+), 63 deletions(-) -- 2.18.2