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 9EC7DA0A0E for ; Mon, 10 May 2021 18:03:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 988F34003E; Mon, 10 May 2021 18:03:43 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) by mails.dpdk.org (Postfix) with ESMTP id 1B2384003E for ; Mon, 10 May 2021 18:03:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eTKbcM9zsJ4AY1aI+ZgvOvereCEGG2E/JJ/0/Skpfx68gglFDUF/r8qtRovZUi4fhLMJLQ1FRgrVt0Ln8b/ocIjsfAYAqz3g9Cl8gBOVFSupV+8oyg60fesm9mB2svzq3wr69iN+YYLFttva/X6BRHOP7FEIp0U8rp6z3OGWTnBMyJSTgoQi+SjKw1d2D4fu2O2O8AcWXyY74gtYx17wNd19IVmC96VnCz1YeSOMvrl4OaiteRLVzYy2f6puVI+JsG6E/6b8LsTSXLgFuH1SQ1x4PrIMni6kXqIaAvXfKrNr8GPW+YKsd7IUdTms0XLoqAASjcX/j/GPNhPT5hiO8Q== 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-SenderADCheck; bh=Wol2YhnTquMnAtDwrUR+qwg3+zcmzRqrMtmgcs3TjIQ=; b=JO4AbO7Fb+X3qsdAMnH6VAqiASFREY9OwN0qu1a6b2XcE+tR5ANRaxWHYXNwYVXl1OsnUGhGMQTAhmosibufQwPu1KzVXoihBNGrPq/upSHy0vuPwIhzv5n8u9+41HOjsKgWoAzgfOLZiumlaNHxhjj7wrVjDeK770zo/blPF1+sVbWvEipnPIbmK5upm/vpqHbwJki2ziXbywKditR9G7ijXqVxsxFQ87ykVlS+u/iDwCZP4/7qQEM/sOfWyMT5/3g0R15X9vTJLVtT4dfkSSqnh6G08TOf3KeXP+ldaTG6ggC1EQERNCKSIgA7QKxGLggqR9Ry5CLEUo567StY4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none 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=Wol2YhnTquMnAtDwrUR+qwg3+zcmzRqrMtmgcs3TjIQ=; b=loXl0Md3LgzSY1pSSpuyEaOVSZAdRNS+UijAv3LfjjnNULNEwBwnyh8YPVLQualelkTDctK37njfKxVScZXx4Qn/Fc6RzU+yR9gSklyGwMJZhlHfExgzZuDraldQfUqjf+YFY+6YCzGGtzo70ipdBZz/3W4AHQPSpM+SMYc/2TyQPBivlgNIAzKOAbOGnP2kveJ6eUin4/MAfgeM6GOibeKS84swY5LY/11FrRG/XzOEomBn8XLpISAFZq1KFORNZGgtatPADt+Q5y6/REjUjTbagY+n3PMCmGVJOq94kaxY1IR4U2y6jC4rXzzxXAp6lwXI8191ylUyyP3hkrr70A== Received: from BN8PR03CA0009.namprd03.prod.outlook.com (2603:10b6:408:94::22) by CY4PR12MB1224.namprd12.prod.outlook.com (2603:10b6:903:39::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.31; Mon, 10 May 2021 16:03:36 +0000 Received: from BN8NAM11FT067.eop-nam11.prod.protection.outlook.com (2603:10b6:408:94:cafe::fe) by BN8PR03CA0009.outlook.office365.com (2603:10b6:408:94::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Mon, 10 May 2021 16:03:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT067.mail.protection.outlook.com (10.13.177.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:03:36 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:03:34 +0000 From: Xueming Li To: Yunjian Wang CC: Luca Boccassi , Anatoly Burakov , dpdk stable Date: Mon, 10 May 2021 23:59:13 +0800 Message-ID: <20210510160258.30982-4-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 475322cb-2ccd-4e22-04d5-08d913cd2b7e X-MS-TrafficTypeDiagnostic: CY4PR12MB1224: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wwgiFxUkFzsBBWHqQqlX8sVPsrGtozgVzCTJfS3XujMqiDI/Rf5QMtSVkwuOn0mWqTnOsJj9vVCbfDKTx5uz7Z/VkyJqPbt6L5B+Bj/GrNtVaixditMFFt2eacgqbf9e2tuZpEoPUIb5a0lTH6XwtVtvkwSgPp+NVndp62nbbg2oLur5sj4nKjFCiY7T/NzwfHb1nJ7zNVwtZ0yBRKXcH8+kgBfkjUE2dc0hdTQWNX64VP+AgjtU7X7tXiS9GqdJChQCZ/2abmQ6ii2PPPh6eyk4AFdZdc+dRcM0ZPr0dbQpwz/++98xjKYJJMczuU19BO/04tGWU2C8r+I3t2+s8LaLU7n5ibWV3CgB4U1ugI3ukTLi3NYLL/ASPnjhwxuT/OJmIseeOAUG/T8G4KOWC9hZHPUOswmGfvhL83V98r1GVgmx6+q4mGUk51YoxKF8BNiqwd8TnsGeUzMFsfEmreJEGeNAVgQsO9n68qR4jS4SVvozHhs6KDx0g5+SBq9m6yh5TeYDNtk7BM0QATfy/6p5X0FO3adRyWhmxzkuGYIjt/SqrVAC4ZPZLCbi3sovOa9rGMG7g/RWM7wr+w0UYZw97c0RYOhBBjZt4DdDPEULm1R6kS4E4+/yJJGIXt033PT0hQ9Gcw10iSRYR38VETQ4nT9ZkcLwkewANkbHVxSiffT9uKgxkzboEfyPGFJHHwqUOCkQZGxQEWo1jhMHLrVcgOZ9PPdyoI5mlLuqWfIjAhhEcd9G1maq0YwkboMDvKcnw75TIcuDj3bM6Y9okg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(346002)(39860400002)(376002)(396003)(136003)(46966006)(36840700001)(8936002)(356005)(26005)(53546011)(7696005)(6286002)(47076005)(8676002)(82310400003)(70586007)(7636003)(4326008)(55016002)(966005)(36860700001)(5660300002)(36906005)(70206006)(86362001)(83380400001)(36756003)(6916009)(1076003)(54906003)(316002)(2616005)(2906002)(336012)(16526019)(426003)(186003)(82740400003)(478600001)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:03:36.6729 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 475322cb-2ccd-4e22-04d5-08d913cd2b7e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT067.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1224 Subject: [dpdk-stable] patch 'vfio: fix API description' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/db950ecec21d4a82f57657e45bf7e2aa9daf2e57 Thanks. Xueming Li --- >From db950ecec21d4a82f57657e45bf7e2aa9daf2e57 Mon Sep 17 00:00:00 2001 From: Yunjian Wang Date: Sat, 6 Jun 2020 17:17:20 +0800 Subject: [PATCH] vfio: fix API description Cc: Luca Boccassi [ upstream commit 8d63961fc7137cab823f85a50ee82779792f21e4 ] Fix few comments and add detailed comments for return value. Fixes: 279b581c897d ("vfio: expose functions") Signed-off-by: Yunjian Wang Acked-by: Anatoly Burakov --- lib/librte_eal/include/rte_vfio.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/include/rte_vfio.h b/lib/librte_eal/include/rte_vfio.h index 20ed8c45a9..e7a87454be 100644 --- a/lib/librte_eal/include/rte_vfio.h +++ b/lib/librte_eal/include/rte_vfio.h @@ -156,7 +156,7 @@ int rte_vfio_enable(const char *modname); * kernel module name. * * @return - * !0 if true. + * 1 if true. * 0 otherwise. */ int rte_vfio_is_enabled(const char *modname); @@ -168,8 +168,9 @@ int rte_vfio_is_enabled(const char *modname); * an error on BSD. * * @return - * !0 if true. - * 0 otherwise. + * 1 if true. + * 0 if false. + * <0 for errors. */ int rte_vfio_noiommu_is_enabled(void); -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:26.853353700 +0800 +++ 0005-vfio-fix-API-description.patch 2021-05-10 23:59:26.310000000 +0800 @@ -1 +1 @@ -From 8d63961fc7137cab823f85a50ee82779792f21e4 Mon Sep 17 00:00:00 2001 +From db950ecec21d4a82f57657e45bf7e2aa9daf2e57 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 8d63961fc7137cab823f85a50ee82779792f21e4 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org