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 0781DA0C41; Wed, 17 Nov 2021 18:42:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8433C4115B; Wed, 17 Nov 2021 18:42:01 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2061.outbound.protection.outlook.com [40.107.94.61]) by mails.dpdk.org (Postfix) with ESMTP id 73B2D41158 for ; Wed, 17 Nov 2021 18:41:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cMHoQK+KhH78qOlPlrdUKu4ww8yjh5Gm4YliwuwfpnNUoldmmVjGj6Klx73QBXfNcWLDjYTEB8KHngoJzA+fEdi/x6EEAM7F7SZrBIr4nHGtRxpdF8H5puxgA/rfDZBXaIM1rdY4HBDtHPKv7GaTclPU6KNYJRP39MMj4XYO1mSM/WTJalFAUHdoWuUoEg5h4hq0URfisKsRBoRcZ4qN87Uyq1KYpbYblzgNkrUzlS3M4NzlEZI0mfpWjLIy+EOXBDvltuyC3HXvictnenCGDeYcCXHhezwCg/B5jdwWJ8wrIXodwUDKWsv7ZlAQkPy8ysVeiYcH165cGFX5hm3rbA== 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=qnw9W8gmFyyLwHy3mbN7vO8WNa14tCAqoDsCmjmb/QA=; b=eeON8LNCTpdLUbaj39R5rmtdJGIcOMxkg7dwxo9effVGIv8Ji7P15OXt55fUw1GVWsHdM6P8k+5ZyYNptuGGXW8urrxoAxBbuLUKl7G4qksILZCCfvf2D5PRU4fdseR2JsEsOKYr3O1P1AZRc6elRy0KXg1dW/S/XhAXygOWpfCn3HXVnzDZNCEOCm5XTrPm8xVOuanD4hoM5b/rb746o8BVG0np95QqMrt3y1G0kz59wPIowssxGK3Sn9jH8iS/HBt2wDdwrUXoHmlEBxLYlDku1+XDqFEjcTaE1hKttcqhPVpcWExe8SePFpP8ZHNmgVOHsme3N25mHP3/KciomA== 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=qnw9W8gmFyyLwHy3mbN7vO8WNa14tCAqoDsCmjmb/QA=; b=ni8PCARkf6hEFXEEVF/Xcu6rg1eXGO77XGS81FlrHELBWnhhGRdrv+NjGvtXbGEXCRCiqczRgR7iYmj6iNdO2LFE5svmE79Wf/2BwE/yvd0nrQi7fwBepYSS9plLgOYYEYN5Y6NTdmp/kDgunKTPzJM3yh2gQLaIeXwPXZariVi2ydM7kYcSaJ1huTKmclKfT8qtYkNYzglCfhDUYG+B8+GGNMMblpJsGFbUbusliCHOjtULSz3WYRJe0/WOZx3Eqoo0pn+sOetovEjBYY2Z+axlRhjzeRO7MADVp0qjmvkDMnrML9QCTZjGCPgHrQH20JPKmebHml1+uCUoUH1A/A== Received: from DM6PR11CA0059.namprd11.prod.outlook.com (2603:10b6:5:14c::36) by DM6PR12MB4563.namprd12.prod.outlook.com (2603:10b6:5:28e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 17:41:58 +0000 Received: from DM6NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:5:14c:cafe::bc) by DM6PR11CA0059.outlook.office365.com (2603:10b6:5:14c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 17 Nov 2021 17:41:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.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 DM6NAM11FT017.mail.protection.outlook.com (10.13.172.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4713.20 via Frontend Transport; Wed, 17 Nov 2021 17:41:57 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 17 Nov 2021 17:41:54 +0000 From: To: CC: Elena Agostini Subject: [PATCH v1 0/1] app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory Date: Thu, 18 Nov 2021 01:52:27 +0000 Message-ID: <20211118015228.30628-1-eagostini@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.5] 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: 8fe5e06d-6819-4af5-39ae-08d9a9f18d8f X-MS-TrafficTypeDiagnostic: DM6PR12MB4563: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ITTZqdK5nszhW2uyTo55HN0kU1imXpnV9JdZ/34s9xe9hPmeQ4Xhh120va7eLYJGY4UUYVPqI6od76NYfJjAPuAQY99h24GBG9CcakWPVbjhlhZYY9bf8s9x0t/SI+Jf+mw+JbKuSlh3HOKa/epFnpM8/Pfi1S7dQ9k2QNrklydzCd9nu9CHU+GwrNAS7AWEX0CAT7zVHtvdxqi8MFIvAQaXAye4xtOpqj/qmyTaKOcm/lY5y7VDnv6cNtoI80ZYDWUbJ4Wq7PuQfk9GooKbhUc3eCCg82iGEUZoD694pI9drJptfCuRKSN6DFprE6kCEPy/TeVFVrflJTdkleGhIqZQObbiG6xMRJcrctAEHR2U8/trqQHUJF86tsCS4znw/lmx1m+EH1CC8k1IVjbcr3/JTzygziVfkHJ7xkRuwtfYpd56LxfWzCn/A+nEYNKUzN9Z9+Dd6u/obqZizsimkht/wRlbCZK4/r/NJkh2Fe7s5aEAtTvi8Xj2cIUcVTZ94ACeGK17kEOwVZnStupBntdWCb3uy2bIIRHoAJiLuWe9QTXNM7y7vcjHaeNwMA0T6cFYfoK56pHCKb7nN5VjAWu0ZCOjgS94xKhOo7Zu72Hd9uiKmy9kKcb8dgFq9/JQ1CYAVa5LapG4tgB2QO4RK17OevdwHIGJVF4Iw1mZs4wBrVSOnH24gGUfIwgCH4tXoHBfLbKZ3kumcV16w97VCQ== 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)(36860700001)(186003)(426003)(2906002)(70586007)(7696005)(4744005)(36906005)(82310400003)(1076003)(16526019)(508600001)(6286002)(26005)(55016002)(7636003)(47076005)(83380400001)(356005)(86362001)(6916009)(107886003)(5660300002)(8676002)(336012)(2876002)(70206006)(316002)(2616005)(36756003)(8936002)(6666004)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 17:41:57.4633 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8fe5e06d-6819-4af5-39ae-08d9a9f18d8f 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: DM6NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4563 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 ethdev in test-gpudev app to provide: - an example to show how GPU memory can be used to send and receive packets - an useful tool to measure network metrics when using GPU memory with io forwarding With this feature test-gpudev can: - RX packets in CPU or GPU memory - Store packets in the gpudev communication list - TX receive packets from the communication list It's a simulation of a multi-core application. Elena Agostini (1): app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory app/test-gpudev/main.c | 471 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 452 insertions(+), 19 deletions(-) -- 2.17.1