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 E568AA0548; Thu, 11 Nov 2021 14:31:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE59F40E28; Thu, 11 Nov 2021 14:31:18 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2072.outbound.protection.outlook.com [40.107.237.72]) by mails.dpdk.org (Postfix) with ESMTP id 6233940E03 for ; Thu, 11 Nov 2021 14:31:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K2hBz88HJ7ST7PBd7fo5ScHikGW2T8p6BmK811ansl+xbmhUMyizIiTxhn97mE/mh7Sk1MGPZulGqFmauzDbeVMxiy75fsjz0ZAYOYdJsYot5HbnQFkf0o/l7VcxYNL9ESo8vH1tx65+jf2rbmQSoDTUh76AwCYpZ0G9RwKbBUNz91UsD/ZaQd1CC0BbY1Y1g09e4uK+eD180OG7cHvXUGONK+84DElyFkjQHV2K8jL7tlXymKblnWuV2nnmidXE0nKo9dzYqndx1ezhjWiiBSWEAxQEYzv1uhzqegct5Z85YW8zztEDTtS1aX/xDAF7QgqYzs12FMnx+9g0sAQzMw== 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=SJcxt1wrkXoZxUPfzcG6duHsuW0WM/qGog5/Q69eQd0=; b=IR7i9n5A1WyWzjHITEvUdvvx66KQUSe8dODYKSlmiDSC1N/85pGxe5sF+PYXCXXea0wuXmlF4OdPyywHtbmOzjsLeYQ1Tv577oz7prhXxIyNVcBguAOJVU+Y+AI3BiPDh9m7mj4ttlp/qOQUzwYhhW+QKbVd/NNzHPt0EH1BujImN1deZhXUkC+NUSgKaif9G9soah+Cl/sLxCtHiUaf9LsYkU/znuLCYvLOy1G1sA/be+SwGuse0U9XSRjhf6hQqSC2VYlO/2PagTiACDtjyC1Hn9AUAgS15VFm6lJH9bYs5XxZiOkC44nZpRjnL+Xq69Sbk7oiZRFQvp/oQ1PqOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=SJcxt1wrkXoZxUPfzcG6duHsuW0WM/qGog5/Q69eQd0=; b=iejaebnNsr+sAhzJVs3qeff0HX0U5IVUYXL9kAMMqeAf0aSlMOM72ROVjfAhJsx1o+I2/4tzxCZfMZH+D+WkeaC74x01RCSz5hH7DkhkJFQURSer4IeJs6X9Inqrtq01pqjwCUXPLTYROMh2tDJx0VcKLq3W0MB57KNdLA6ZGMGA2YiW8cSxAW1+hVscDOEu5crqdt5py03vHfkUrBUoZmlydROd0vIRALHCUDGzrg/nvHnJw717/0LlZ53ggMyCKFMsWGS5ZKqrZEaimqVPivmlnDoUaQXY9Fv53Jnz2020AQeH1HSJ3BHNykk/RoM3Fm4ds0BaokN2UTsPsdnmwA== Received: from DM5PR18CA0055.namprd18.prod.outlook.com (2603:10b6:3:22::17) by DM6PR12MB3692.namprd12.prod.outlook.com (2603:10b6:5:14a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Thu, 11 Nov 2021 13:31:15 +0000 Received: from DM6NAM11FT041.eop-nam11.prod.protection.outlook.com (2603:10b6:3:22:cafe::4d) by DM5PR18CA0055.outlook.office365.com (2603:10b6:3:22::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16 via Frontend Transport; Thu, 11 Nov 2021 13:31:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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 DM6NAM11FT041.mail.protection.outlook.com (10.13.172.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Thu, 11 Nov 2021 13:31:14 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 11 Nov 2021 13:31:13 +0000 From: To: CC: Elena Agostini Subject: [PATCH v2 0/1] app/testpmd: add GPU memory option in iofwd engine Date: Thu, 11 Nov 2021 21:41:40 +0000 Message-ID: <20211111214141.26612-1-eagostini@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211029204909.21318-1-eagostini@nvidia.com> References: <20211029204909.21318-1-eagostini@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.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: 1c2540d4-3030-41f5-8a44-08d9a51788ea X-MS-TrafficTypeDiagnostic: DM6PR12MB3692: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e7s/D1nmtY2BE3gfJHByKgkDk7hjoUbiU0VSEL3CwZBw8VwWfarzqChfSmBVGJqE5OgCFhdR84zLw94FeYO7YIKPuGb221KEQg/IndDcvwpycJpFy6RRsPIwiGTIiIqP+AexIgl8PD8RcPBhlk7BUD0lRfVkK9NYtpp2x5THBuY/oSJvpLb3GC0SkOR+hwLEwAvjPxvlkpyIDFQZOONfQWvuvTa1Q73VnOah+cAfed6Wt3mkgTbO/U1ROdFqaGqvy8wc8dVPh9jzAV5sJemNPdy3FfYMIqRAoNhxaGQYpzZxHJGoc7KR5XCZDcWsWmrXzGcfQ0/MX4AsYArhpNJweRd86q9mNp+DVaCoMy3f3iw0QiTKFYXj19s1vcZYxLjg0hIQNXYDVYBfdwQz6Aw8kgBPQq/XWjguRw8v/u6m3rcpvoEJZhBvlGxvthTkmVC5RQ/CP8D6YEI+a5jJ/8GPj/qG8qI3veGs16tw5NMHzr6sxFMrOLxG2xhszIBP+K0Y7wTlik5A/3G/GBOtH6HOrePzEu+J1k1938cxSro6NNHNzUOoZyDDTv8OTCiJaIDa5ybT7HyE3SoGDsDiwhe/43GTZ6zTNRYXSoh7XUjpCyHNJvy/+w/HJD0Q3e0Ks3mPw8RewTFbfpMG5SJ6w3XMEn6EbV52WEYm/QvyE1OA0tL5UXJiXu9z/axL2oAR3RNlClx/C2VoG7zBoNXw6W/PLA== 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)(36840700001)(46966006)(70586007)(55016002)(1076003)(5660300002)(16526019)(6286002)(356005)(336012)(2906002)(8676002)(316002)(186003)(4744005)(82310400003)(7696005)(86362001)(6666004)(6916009)(7636003)(36756003)(2616005)(47076005)(36860700001)(83380400001)(2876002)(36906005)(4326008)(8936002)(107886003)(426003)(70206006)(508600001)(26005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2021 13:31:14.8309 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c2540d4-3030-41f5-8a44-08d9a51788ea 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: DM6NAM11FT041.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3692 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: Elena Agostini This patch introduces GPU memory in testpmd through the gpudev library. Testpmd can be used for network benchmarks when using GPU memory instead of regular CPU memory to send and receive packets. This option is currently limited to iofwd engine. Changelog: - Updated to latest gpudev API eagostini (1): app/testpmd: add GPU memory option in iofwd engine app/test-pmd/cmdline.c | 14 +++ app/test-pmd/meson.build | 2 +- app/test-pmd/parameters.c | 13 ++- app/test-pmd/testpmd.c | 133 +++++++++++++++++++++++--- app/test-pmd/testpmd.h | 16 +++- doc/guides/testpmd_app_ug/run_app.rst | 3 + 6 files changed, 164 insertions(+), 17 deletions(-) -- 2.17.1