From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E95A5A00C5; Thu, 30 Apr 2020 11:32:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5936C1DA85; Thu, 30 Apr 2020 11:32:55 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60088.outbound.protection.outlook.com [40.107.6.88]) by dpdk.org (Postfix) with ESMTP id 0E6B31DA7F for ; Thu, 30 Apr 2020 11:32:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZQstJiG8PRhpd+D2gow8BxUZj6MefnnZb60ZZjMSo7zR9cMD+sWmJbTlN5jRyVAY0sSVd6rl48wZDeeYQcVicS8CVMKJvcouhVxdONIjfsOxKGps7d3xca3W5PRn45PLA5roqyQ7AMH7525UZWA3nKaq6zMw4YVgohDoce/6UkgnNVxbp6zkmmx7+OKnUPpzlode2yl6yLbJm2kEYcLh1VNszR6MovmWrnc4xpHWthZIeDPBJtTIRiMmNGP2gobXfVw4mvzoitfOmBpFkUE87VPHu2+mRmbc2hQjLP+2C5AGg+NT7l/6/RUkin6TRCRISrP1/JOunbPoruUhPolJJw== 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=5b6CO37n8cxO5AbWuW+YtXYqbAE19vdc4UC0jTRnzlE=; b=oAp1uMka2J+RSEOghClwF8xQOnvglYfEbGYsxHKY5/0qB9aa6zar4yQqquzBEf0Uvg71JkeJac0C3nBtHDa2frhwYa/FhnVGQEGtepZ55hAEj1ppZBTAs14mnlBm/03oKsGez7QKaK07ObCxrIUsUJtcXCESp4INOb3BTks+tZkNUPAQ+qEkkpSaNUbHz3u5g1fGBNYbv9gdrevRWa9RrMOrv1/9EI+usxbYQw+h/zzq+1KX3c4HFGG1jI+6voLKotzlFSO0TKKIjIlv8ZT8JOHIp93lo7zfnlnr8hBIXmcuH++QYhS5F6fWA17NvQ9msA3OzeF230JslaUd3YTJRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5b6CO37n8cxO5AbWuW+YtXYqbAE19vdc4UC0jTRnzlE=; b=jRZE1K1k66NC5g+31Im9NmDkJIb4P3I3uOtYSu5A2JMV0Q6baWCHGP9ZDz+zoQTCHhE3doQxbldEskIUYgBiTXAhteZH5nWM4tkU/j9eJ56YgtPxsscc3+XDsoXGmUE5KuC3Pjann5ETiaBMtPuh3hAfU9OPIdkv7hCl4ZYi2t4= Authentication-Results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) by AM0PR05MB6419.eurprd05.prod.outlook.com (2603:10a6:208:142::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Thu, 30 Apr 2020 09:32:53 +0000 Received: from AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::900:c0ac:78bd:18fc]) by AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::900:c0ac:78bd:18fc%6]) with mapi id 15.20.2937.028; Thu, 30 Apr 2020 09:32:53 +0000 From: Wisam Jaddo To: jackmin@mellanox.com, thomas@monjalon.net, jerinjacobk@gmail.com, gerlitz.or@gmail.com, l.yan@epfl.ch, dev@dpdk.org Date: Thu, 30 Apr 2020 09:32:44 +0000 Message-Id: <20200430093249.6772-1-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430070823.24046-2-wisamm@mellanox.com> References: <20200430070823.24046-2-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0107.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::23) To AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by PR0P264CA0107.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Thu, 30 Apr 2020 09:32:52 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 81da01fb-566b-4824-2494-08d7ece974cf X-MS-TrafficTypeDiagnostic: AM0PR05MB6419:|AM0PR05MB6419: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:285; X-Forefront-PRVS: 0389EDA07F X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6610.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(396003)(376002)(346002)(39860400002)(136003)(2616005)(956004)(7696005)(52116002)(2906002)(16526019)(186003)(26005)(5660300002)(316002)(1076003)(8936002)(86362001)(36756003)(8676002)(478600001)(66946007)(66556008)(66476007)(55016002)(6666004)(8886007); DIR:OUT; SFP:1101; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL: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dxIY9N1UdLv4RSxnfxnUlR72JfGyfa9bDjyMyFUjNg2A7w8ZFI+KUc+PTtxWNMteIJ/X5ltzKMci+w/TiQqSlwg83JgLqlp2S32Wq5laCZQRIMdUtLbXfgBBhz1auzkMBiiDlIpZggTDtiwOWYbJNwMr3zuVttFNiZ355S9f+Lwe80isKWaMYZqwWAxK9BrV+u0h4P8/kQ5V47pgAm8uZzJS8fqsajA= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81da01fb-566b-4824-2494-08d7ece974cf X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2020 09:32:52.9740 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: l+sxZXXvA6hXzKR9naavKzAtTYCkWLf6hliq0wv2WyKhsjkHS7wXGMjPtly1+r+tVCulleBbArFRV0VTgNaiTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6419 Subject: [dpdk-dev] [PATCH v3 0/5] *** Introduce flow perf application *** X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add new application to test rte flow performance from: - Insertion rate. - Deletion rate. - Memory consumption. - PPS forward measurement. --- v3: * Fix passing hairpin queues to hairpin rss action. v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/test-flow-perf: add flow performance skeleton app/test-flow-perf: add insertion rate calculation app/test-flow-perf: add deletion rate calculation app/test-flow-perf: add memory dump to app app/test-flow-perf: add packet forwarding support MAINTAINERS | 5 + app/Makefile | 1 + app/meson.build | 1 + app/test-flow-perf/Makefile | 29 + app/test-flow-perf/actions_gen.c | 86 +++ app/test-flow-perf/actions_gen.h | 48 ++ app/test-flow-perf/flow_gen.c | 176 +++++ app/test-flow-perf/flow_gen.h | 61 ++ app/test-flow-perf/items_gen.c | 265 +++++++ app/test-flow-perf/items_gen.h | 68 ++ app/test-flow-perf/main.c | 1071 ++++++++++++++++++++++++++ app/test-flow-perf/meson.build | 19 + app/test-flow-perf/user_parameters.h | 31 + config/common_base | 5 + doc/guides/tools/flow-perf.rst | 265 +++++++ doc/guides/tools/index.rst | 1 + 16 files changed, 2132 insertions(+) create mode 100644 app/test-flow-perf/Makefile create mode 100644 app/test-flow-perf/actions_gen.c create mode 100644 app/test-flow-perf/actions_gen.h create mode 100644 app/test-flow-perf/flow_gen.c create mode 100644 app/test-flow-perf/flow_gen.h create mode 100644 app/test-flow-perf/items_gen.c create mode 100644 app/test-flow-perf/items_gen.h create mode 100644 app/test-flow-perf/main.c create mode 100644 app/test-flow-perf/meson.build create mode 100644 app/test-flow-perf/user_parameters.h create mode 100644 doc/guides/tools/flow-perf.rst -- 2.17.1