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 7577FA00C5; Thu, 30 Apr 2020 12:34:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8DFD1DB3B; Thu, 30 Apr 2020 12:34:13 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20046.outbound.protection.outlook.com [40.107.2.46]) by dpdk.org (Postfix) with ESMTP id 80F441DB35 for ; Thu, 30 Apr 2020 12:34:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jDusyn6uGEn7FHyrdV0X6XSpTTkURwi4SoZD+21WN9mk6eJdSF1tJuFs1PveNvOICjoSu1DmmIBRjSDQzwesxj2FTo/V/7zmjnbya56Z/B/la1K2JrBSQCZxV/PZB7KKOzbWLfJ0Feu+8YGQDo4M4NluAQPzYxtjRBXyGNeBlX0bJdU2YvEsFMAsPMbS0OHglM/KbaGBFbk/AnBcosC0xh7vRvu1Ixm5DTAMZDFAvHS1pmj+EnFQbhjXh+swebLRWabZi+gOUGZTTsTZ4xkaSxcQqo4m8s4TvecRsK8zCMFaOlhBaTeE8xr1ZKEZ3hLxrschyYogLoGhD/HT8bOzRQ== 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=e/vNDpBQQ9g316LL6Fk46OKYlERs5SImqROZ9cCHekg=; b=Y8uoJHXcJ//2RJgiXAjJMC322+G8CZ4QhXIElyXxIvre1ND7zYJNfTGzNy5cpWMCo7Z8f3Hr4joK3KZNy80CZRUKg0cZjm5i8B8B0LDrNbVbznMYNk8n819MexUHrfNqplE0LGk1dCiQNtTak4NGDe2rC0B2rUetcsChMGTa9p/h/jOeTLMZUmOtHN7oBvvRuB+5TDPp5hCXh8O3QxyKdgw3+SVs35SigCIl0cmYelRHnwS3l5E1LZzZaCPDMKFRX8ChZt2ursqmcofys7YvvpWD2rUTZfL02Axa4t9hJxOPDamWNLV90YmyjtqMbdQaZngkpggq6vI0MA5AxS211A== 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=e/vNDpBQQ9g316LL6Fk46OKYlERs5SImqROZ9cCHekg=; b=Xr5U6kWOEBJj38Pcq8UkhdfGIxsvo1VevPXmdhvMcZdeAou86EVTcliDPkxfecU+/b7CO5t1KtL5K981mi3QIckQhrDPHJeTNCEYwRSIFidtcNvuw2Blqh9Frjj5TWBAfjNgVDcMGURGctFgPJG4iaqMugG5zS5Xkjoozr8WB84= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) by AM0PR05MB5265.eurprd05.prod.outlook.com (2603:10a6:208:f0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Thu, 30 Apr 2020 10:34:11 +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 10:34:11 +0000 From: Wisam Jaddo To: dev@dpdk.org, jackmin@mellanox.com, thomas@monjalon.net, jerinjacobk@gmail.com, gerlitz.or@gmail.com, l.yan@epfl.ch Date: Thu, 30 Apr 2020 10:33:36 +0000 Message-Id: <20200430103341.1845-1-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430093249.6772-2-wisamm@mellanox.com> References: <20200430093249.6772-2-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0116.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::32) 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 PR0P264CA0116.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19 via Frontend Transport; Thu, 30 Apr 2020 10:34:10 +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: 29396de8-ca38-40ee-dfd8-08d7ecf20524 X-MS-TrafficTypeDiagnostic: AM0PR05MB5265:|AM0PR05MB5265: 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:469; X-Forefront-PRVS: 0389EDA07F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MHbwHxRWdbkDjhl90Eekg1rQ7ptjB3ITlTYQ8wE+vbca6zfE35eOsWNR3qbnVbFeZpiz0pjgFOjzkYEg2EhwG663jNPnVHum5ucM5qyaQNh7UyGXenWOz3BB59eOJetMLzLqRFFeQbf1UvaxUTMIbzEsMyDAv+9zHDU/Es6my3a72QC8tXnU2dVVVp0TV5CVxxP44+e8JmtAgohIOY5tkKaYG/HxLZf4wle6PXojWv2BtLuKDIdk4NddLAypQ/3S/KG7+6aWzmNuIM1suD+lAKlmpLxLIUScCjH6NTZm/q3nC7R4dWue/uskRF3MVoyfT0e+tXo7eKjOaGvsrf+LHtDRiZ/ChuwYPNhjW+DwXDz021ly6+JJxk1dGqiG0EB4a8IVvZiaCCafpDO3jFoD/oFixQwugfVNmBP6WGhYeS3IJ7aAk86SHQJRev+uP0BL 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)(39860400002)(396003)(346002)(376002)(136003)(366004)(2616005)(8936002)(8676002)(6666004)(2906002)(66946007)(66476007)(66556008)(55016002)(956004)(478600001)(5660300002)(86362001)(16526019)(52116002)(8886007)(316002)(36756003)(186003)(1076003)(26005)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: +IHaMc49vnxAiekomxsw9EtiGrruBlMP/MSWLzFzOUyepvTFwg0f7EKz/vgblRGMQdcG2NfleWvW6GjONfSrzYNmn7hLHOqHMnj/XMh0eAMJWKeb+A1H3rGd944NYwbt9CCp9j/SnvqK56mRvPxXJOL0Q2dvNy9OYRu1Y4xRTukBXw1U6trCA/VDFltPDKexFMEmS9qWJcRX/4XMLo8K+DBT8r8zO6vzhYM+cEd3eaomHKi5DMBnyKoYuY+6Rsz2K2vncE/sbK/WrfTM32kVA7m1IoD6toNkXBr/LxuTW3b9cNNjAjAM1cCPjpFwlREyFhowz7BFrQTixiYIhlkUsqPXQOHxZQJEHu3qlyiJamY9Ss42EAZ+Ibwosqbc8C4QVj9mR0a3szPlIAYBTgyYJiZMkmv241AXuEY0p6VcGn1fOU4xxIrlndpOR6AP7h3L6LhLHi8pZsjNBB1jXvuBcY3kYVgyLRkxTyjO0Trfp3Tfs1EB0BUzj0PWWL2gjtNapwe+IxNrYB0fKFQlVVfCAMYOwfTFTTMQTKkKIgMBY3ur6FsAhOmU/DWe+Ii5mcZsDkXA7hoRt0NHjKqIVYxGAuXw66BdcFcDLuiKg7iIcuMqruoRodYAR85/NBvwNnUuga0P44XqnL8T60F8Yb/pn6HqIVL5jRj/mDJnjf3b6qv8KwX2s8egR00xyjMpE4jGIYxotWhb1EJSySFGcb6FoGbkY6s1AmlikgFjt9Zi2gw3OYFYZt4JbCXWMyeJXtTegq+5AuNh/pVaecPgnGmctVYQnH8Wwc4S39q7GCtkrEY= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29396de8-ca38-40ee-dfd8-08d7ecf20524 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2020 10:34:11.1966 (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: DbNZbs7THGF7RPK7UVAwdl6ReyB4Tz2/EDtqABpxAFwkQjBp6Iwldmhge9GqPp/HvxuJvCc8VJ2Y+hB1aehMLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5265 Subject: [dpdk-dev] [PATCH v4 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. --- v4: * Fix compilation error due to variable set but not used. 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