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 D6B86A034E; Thu, 24 Feb 2022 14:28:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B55B41155; Thu, 24 Feb 2022 14:28:57 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2054.outbound.protection.outlook.com [40.107.92.54]) by mails.dpdk.org (Postfix) with ESMTP id 8F7214114D for ; Thu, 24 Feb 2022 14:28:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=egwufIZNRQ/f4lalu+Gm9n88/Hc1VqZB6EAURqqvZ5D2fMB7/YIO3RAXyGad6VdwrBjF9ks8HrOtUPrav7VjjlWXa0rySZEzKQtKinO6lExKytQfLMGfHVmDVFvYaG4BeEY5uRFVUNodLNBtQod7AkoHa4aw7HRF1OIqG9WfUAuznLQvxhwT+Pu7sp2WgfVLno+l1hlIPZXg2nj617pS575reIRI3Swn4Icps8qRDeOP+Pd25RKrhlzWDi1k20jHuUiPn5m3hBvLbcwabWzgf+a+oHVSM47J41PoVZva/EHvxWvaacAMiZ8imIEv3A76bKpk93pwEa2+PSpKxcrAbw== 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=ptURploL5Oy1tfI4ARoVZpEKjZUgo//UQ4wWeX8ifVk=; b=SWmgKWwZcjygvztqWN9iq7zK7JgWee8/R0PyXDGs6BnT+p6N6p75CMFXfGbWC0Ltov9LGVPC0CeTEBMjJYLnjPCyN9MCRwXnafb5ym1u0WHSZaPAsnIAAK2lvE2nGOij6tIi7Pr0CkOUGYYhkvQ3DjOdGdy+mg4KgV++zvAmIFCaP/FZdRR5v3qYDyiuLRLjnT3Zo+ILDuKX9dod4LY2it0/iWT/VCr03SDv02tdqgcmIOisW6IlPraaVqhPadHVUzikLSb5jK1RiSu625Y8EHOZbOJaiewbhFMtPo2pbMBTPNA+iHAg4n+edb5+7Og+7KBYmeT+SO4/3CPII/dWZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) 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=ptURploL5Oy1tfI4ARoVZpEKjZUgo//UQ4wWeX8ifVk=; b=nDpolJz6bD+BxLX5PAJEwTtV4G+gWLSZOY6Utzgbo0ReEUMk83x70KJpU8qQWrJnJ1mFJk0kC5PEogNm+SfK0gkcSqE4yt5F0XSCfmBQq+ACpkaodmCfmKSD4UlQgNKiyc6hog9Om0qm4+Nd1rltpf41hkSEnCWq1YVMPJqVfP7R4xw/xzeHb2ZFccujjcesk83M3J9HwFw+9B0cUzTiGEfmebUMf1LG+mncyBK/ccPzLrMUEB+np5eryLa3of0A7yzLXsUKbIHpqQg0nR7eDY6g5s21LwEe5xOhd8bQuH2A0v6eMd/S3F1NqxNhy9WDFD+gOx4B/AY191ej4vcesQ== Received: from BN6PR1401CA0006.namprd14.prod.outlook.com (2603:10b6:405:4b::16) by BYAPR12MB3174.namprd12.prod.outlook.com (2603:10b6:a03:133::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23; Thu, 24 Feb 2022 13:28:53 +0000 Received: from BN8NAM11FT056.eop-nam11.prod.protection.outlook.com (2603:10b6:405:4b:cafe::74) by BN6PR1401CA0006.outlook.office365.com (2603:10b6:405:4b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23 via Frontend Transport; Thu, 24 Feb 2022 13:28:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) 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 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT056.mail.protection.outlook.com (10.13.177.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Thu, 24 Feb 2022 13:28:50 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 24 Feb 2022 13:28:49 +0000 Received: from nvidia.com (10.126.231.35) 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.9; Thu, 24 Feb 2022 05:28:47 -0800 From: Xueming Li To: CC: Subject: [PATCH 0/7] vdpa/mlx5: improve device shutdown time Date: Thu, 24 Feb 2022 21:28:13 +0800 Message-ID: <20220224132820.1939650-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] 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-Office365-Filtering-Correlation-Id: 7b4eec16-351d-42ba-e6ee-08d9f7999877 X-MS-TrafficTypeDiagnostic: BYAPR12MB3174:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X5gCUZ8WQKBoKSQgiR5djyZRQK7jDKyhu10G2WXBhkLU/E48SvdC1lDqD6YFdX5P8MCeXTttsj3tGKBIcmwVNo/2Ww6JbyzBTN/6RbQqNVL2p6HtY+yu/Kn8rkTEWKxF//HlxeWLh/QXXPWdbTIkSAG67z3iwtLXre+JNliLU1zuzOAU/hIjdsyHRUcCSJ+pNF3MdDBvrocRp6EnryGoRflD463bVu5zREDlv9muQkZB/OiYFYuvkxQggnBdAPWbYK84TLawEqRZZ9ekwqfeMdQQdAZ+HFXVD+geLtwrvFUh7GaX68N9S7GzWkmcq7A1m20zaCyQl1OAT6JLdwZxyHCoL8+zPKZ6l3pkfH9wadhItIHwkYELPQUE19XJ3E7hzWEazWssXCZDuDacv9JQ1iUi8+llOps2ZNWW/1ESBCIuTWnUhJBJiByZjgqtYDm/NrkRM0W1rsMxNHiZG0hyTMIheS1GJ9NwqUvfSiQl5LcX+DKebqPnRuoNuIJ3byxN8zsxT/+t4WBtwgzQZ0wnvboTtHi71HexGh5EIxBFqjubnCOotWcuhAkavM4kshEVZOntTxMqZql5HTvHQ6ib30RHOXs371uVTf0g1rs+QWiQELjW1DJEp/Ln38E1SrZVndfFLF954YqpOyTf1GoZmoAJLoInImNkZfE/R8bz5qYmrn9s9jMB2uS8wowfCcpP1Vn56vM2Bjc8JLPdXeIOXw== X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(36860700001)(16526019)(70206006)(47076005)(70586007)(83380400001)(4744005)(6286002)(186003)(107886003)(426003)(336012)(26005)(1076003)(8936002)(5660300002)(2906002)(4326008)(8676002)(36756003)(316002)(82310400004)(86362001)(508600001)(55016003)(6916009)(7696005)(2616005)(81166007)(356005)(40460700003)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 13:28:50.7812 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b4eec16-351d-42ba-e6ee-08d9f7999877 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3174 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 Xueming Li (7): vdpa/mlx5: fix interrupt trash that leads to segment fault vdpa/mlx5: fix dead loop when process interrupted vdpa/mlx5: no kick handling during shutdown vdpa/mlx5: reuse resources in reconfiguration vdpa/mlx5: cache and reuse hardware resources vdpa/mlx5: support device cleanup callback vdpa/mlx5: make statistics counter persistent doc/guides/vdpadevs/mlx5.rst | 6 + drivers/vdpa/mlx5/mlx5_vdpa.c | 229 +++++++++++++++++++++------- drivers/vdpa/mlx5/mlx5_vdpa.h | 31 +++- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 23 +-- drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 38 +++-- drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 25 +-- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 189 +++++++++++------------ 7 files changed, 334 insertions(+), 207 deletions(-) -- 2.35.1