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 087A3A034F; Wed, 6 May 2020 14:36:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDEF11D939; Wed, 6 May 2020 14:36:47 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60056.outbound.protection.outlook.com [40.107.6.56]) by dpdk.org (Postfix) with ESMTP id E4C121D8D0 for ; Wed, 6 May 2020 14:36:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MFZSbQAr3rxuVCk7/jSMHdjyyIE/fb0jPzEm3DvplD/IKGbYe5YV3lj+fp6nkos7D4Zvq/heEIGw6phTT4kHU0BHlZh8i6fvEoCLgtWedgA9B6CQ+VA8DESKxMn4W9BKjhZnrScQRaVIAS066MfmJyEItrFS45zlS8VcKrorUNlXJriseMdK+dW1O9DZcRdJ2Mic7DrdahKENc/skKVU2uwAO0uDEx0SvUOCrOmt5i4uw0rqw8pV11phdQlOiqIFZzy16x8MFN9EnvRVhZMzrSs+inRSYb09KKrrzu/bmRpsbmkH3evSM8LVuPuyyNYatJOCct972y4jSOrL2IKKag== 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=9iWy9XMFZgI4QOPoFnWFnjrHzIO4HRlUebnNxtDqHEY=; b=J/GBl3jUCLJDDtyOTtGhwpZ2vCFs1Ry//YJn5f2BC0jWUfw3aqHC6LNHGqn8CHKJbEcmY08CPp1jhN1bbGz+XREUQkbym4xCKjYiiYDkeYM7gWTrPMHrSHehsY6v9ww5rRR1fYC2L541dfdhh9mcSXwJxx3I7t/Ln3bIE85991QT2NpiILyF9tPV2TtL19p4FHruHwEUIRJ84R7PBxMqoyMgaqUi6XXaWylEgXV4KT5ReTX+XH5Yn8TXhjqObc8npAjk9NBISiwGneT7QKc/8zOFtq1Z0jEkhBYUSCZ0KinxCOr08FLVG6tohaDFEq313Hp1mr9Y6OyEjzDhPyMXtw== 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=9iWy9XMFZgI4QOPoFnWFnjrHzIO4HRlUebnNxtDqHEY=; b=fK+YC9iCCFxSjE75ggkN/pk8hSO60Twl0iRtm8FiyLgom4lFZ2G0syvfFjwJ86AvLc/0uCmBG7Nyk04/zst03hR58wyyr323F/VQHLPNlum4QFHye37ZS4ZvRpBMJtdwiD1+NY/CcMXgB8HKP8tUg2lGAkBLxK0Ij+jStrDP6us= 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 AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Wed, 6 May 2020 12:36:43 +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.2958.030; Wed, 6 May 2020 12:36:43 +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, ajit.khaparde@broadcom.com Date: Wed, 6 May 2020 12:36:22 +0000 Message-Id: <20200506123627.22340-1-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430103341.1845-2-wisamm@mellanox.com> References: <20200430103341.1845-2-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0164.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1b::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 PR0P264CA0164.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.28 via Frontend Transport; Wed, 6 May 2020 12:36:42 +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: a91898cf-3d01-4eb1-cf66-08d7f1ba2216 X-MS-TrafficTypeDiagnostic: AM0PR05MB4209:|AM0PR05MB4209: 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:849; X-Forefront-PRVS: 03950F25EC X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QRf6pZ03ZKW0RqF2BZgtOmnARJ+27/amI+lwPeqKRBcMzw8/vc0nKWjtA1RPPDQOP9pLpDqCojZknYjLjkjP8sk/WlglxTqUeUim2q7CEXfrFSoiwbkkMnxR0ZNY8g84TGPnfNakQhTvooqsYXhxjR2uAhok4Gq3G5PXURfgMml6UCW3S2dBZfSfoBc6iBL6ss4ehqzAPSObLDWuBz4k/SOj/Z7F8z6sQDsJkpKwfnLF1ePru+S9PHgiJ0NHOY1X7Qtf8sIxGTCDT5GyKW9vjPUGbNfmSif/dPFnf79GHTPzw1ZI+yCXlwg80Vql1climkm1wgi7lYsgZtRL6QHMwZ9x+yK8/Sw+Ydfcap7h12xQMygky6wVbo39TvFJfQlCsKf44CDGl23Fu8tKok0UHIzf8WlXb7iicIkRKeIKjWIUGWDJkYzt7iDYscDNgw5SQb43MZEBcCh6aBw5dq7D6SMonINC/89CwFGF7xtX1cex/KKCIuCv2/Qh+Zbc9ycvoTBQGKpcBO6oafOmOUaKug== 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)(346002)(376002)(136003)(39860400002)(396003)(33430700001)(316002)(86362001)(1076003)(26005)(8676002)(55016002)(36756003)(33440700001)(52116002)(66946007)(186003)(7696005)(66556008)(66476007)(16526019)(478600001)(956004)(2906002)(8936002)(8886007)(5660300002)(6666004)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: mj4VBAEEYIAw5KcdfqdReNm6LhQnmb/heliFxLB1gVxmkud3Q1hDfusoepIUsIKqO0ehAtuMBmDNHzp0ICVGwtbRD5yZg4OFRFJy7cAGvz78cm9q1ATRd0VFGhDPPY/C6nnwpPHGoX+qIOCAooilwp6XoRUkqPg3N7kCIDIp0bEmhzWmpcmBb8bLLh8mLsQCdg6s1iuHEXeAasMUyrH2AQrzUBtDoSiGSqybtCVJF4x1Ze1dPCWUKsL9QhPR26Xm3eMlCTnDxa3QHv/AQJDw4T1vQFEktD18wj9g4YU3AughSOswChSiflw/tkizzPWHxboWrjhVDzKvJ/Jlwj4ARXs7OY8NllbAQKTPdI1VLUITMLyTZ1szt08FYGYPyPUmaT9jc9G1a3tNKkGsNTDlHDaQrRL3KX+/I4qDjySLU+TDASyvL2He3t5lhR5WDK6ScLvw58AqQeC5Rdje3aodvRK8Gnj7+ZyCwUKuxBRNdzRmUnVCWhKpVxiPQAalmXfwDbzvKpQw73Asxk6bGBjHAlanN964ulMU4vo4kyU0JARksy8uJbQJ1oy5YKZqDBDDntMM1VsiaQ8hvC3GFze7y6F+4VNKh4+EjHMYRP2xJemTcegguUlMNasy1+3A6OIE3UCYxsoT3dChidFz5gUm7OpxtTYomxD9nE1jj27xWB1n1rPeDoLS2IgtS3uNfjeuKexMXdGT8+yIKCX7OH5uzZsN1EJiOHIGjUy7ZCjzRJBlIlJromOO87bLk+6f1pnuIhuLjojjqhb+dviTpiqtacGc5ii+6xE6wnDzT8oAwKQ= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a91898cf-3d01-4eb1-cf66-08d7f1ba2216 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2020 12:36:43.7274 (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: gEw9cnCNEmQw4Ifobt6UQC5cS572Pb6T8tCsmRbRq1d9yD7e2zkYA1z2y6PTv3quH363aE+ie5w3mmOw4UWt8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4209 Subject: [dpdk-dev] [PATCH v5 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. --- v5: * Add app to 20.05 release notes. * Addressing comments. * Fix compilation issue for gcc >= 10. * Fix documentation. * Remove unneeded CFLAGS. * Remove unused includes. * Addressing format comments. * Move hairpin to be option use only. * Use RSS hash IP + TCP in ports and rss action. * Introduce and use new macro for bit flags. 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/flow-perf: add flow performance skeleton app/flow-perf: add insertion rate calculation app/flow-perf: add deletion rate calculation app/flow-perf: add memory dump to app app/flow-perf: add packet forwarding support MAINTAINERS | 5 + app/Makefile | 1 + app/meson.build | 1 + app/test-flow-perf/Makefile | 26 + app/test-flow-perf/actions_gen.c | 88 ++ app/test-flow-perf/actions_gen.h | 53 ++ app/test-flow-perf/config.h | 29 + app/test-flow-perf/flow_gen.c | 179 +++++ app/test-flow-perf/flow_gen.h | 63 ++ app/test-flow-perf/items_gen.c | 265 +++++++ app/test-flow-perf/items_gen.h | 67 ++ app/test-flow-perf/main.c | 1014 ++++++++++++++++++++++++ app/test-flow-perf/meson.build | 11 + config/common_base | 5 + doc/guides/rel_notes/release_20_05.rst | 10 + doc/guides/tools/flow-perf.rst | 239 ++++++ doc/guides/tools/index.rst | 1 + 17 files changed, 2057 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/config.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 doc/guides/tools/flow-perf.rst -- 2.17.1