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 EFEFBA00C5; Mon, 11 May 2020 13:10:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C6541C440; Mon, 11 May 2020 13:09:31 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2062.outbound.protection.outlook.com [40.107.21.62]) by dpdk.org (Postfix) with ESMTP id 8EDDC1C2A0 for ; Mon, 11 May 2020 13:09:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ln+cZ5eV+L2ZVjl4LliYgIqzvpaKXMjZLx+YPSz/qBsqXeGHigbdJSKfxPIjEpOX0VnbTPWb3tyv84+gHzmFJliMasi9ICjw/ysy1rXT9LGFJ6+AjEzQfFwLQbdCKkJ0ou3iOVdpZC324jXtLqazb/ItrLbHO2oE9NqBZIvyQatCBUSEU9BRPGvAq1UURJIfn5zjGNw2/cTJF+xjzTv/YbAsFjhosjbsgNq6hXNENlFVaRGokBOUwlLUIioKmltdDqnXWMHozuQZ4+8dk9xQ5ULIeerxP3oU9ws2CiXN9lauTdgUqvZP+j6Q31Q7WdChacXuvwv0tzpYh1e2TyZMXg== 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=LPSj1QIfM23RC2KkryCG7p12rWw4aRyV7iMwe3Te7FA=; b=UfTQMBozh8Z+suPfHYKqbUBBairqX9WrT8AOKZuHnTU0YnNW2IRfn6CvNb78FeweqQIQR9E76eFLKR0PODpMOoTBDpzweps8E/YN+o7+QwDgv1GFNH6jmEb+btGghEWcCGXAj4M0b3iubwdb+BL5m/iECw7Im8F6XED7J6xT1NOV4rhCC5gdbty4JT3OtmOpIzKOBcQOgfY42+Wm4jrs93Yde5S1Il1wSAdtcX06f4ASFI05rPMjfOjmFVqO4NIIVmvic68ke01nCBMW1MS68d3J9D8kQj3MbHUXszeFzt1aWuq5aeoPZUt0omeOypw5lv5J4+VHfPSE+hkPdP2sDQ== 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=LPSj1QIfM23RC2KkryCG7p12rWw4aRyV7iMwe3Te7FA=; b=V4kv0oRh47ISDVcOCqkbiueAM/BCK9LSEi1Wi1a2NdeapXGOQE+4UTkGW3grZ9Cqcw0oNbmz0FxzCN2utcTOHEKcpnytjSS3eEqwVF64pZrY1iUDWl5C4lu8tpojrHSLb2Ljn9SoE8yHnlKydy2dcu7erS2dL1JNmKJNHcIEans= 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 AM0PR05MB5891.eurprd05.prod.outlook.com (2603:10a6:208:133::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Mon, 11 May 2020 11:09:28 +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.035; Mon, 11 May 2020 11:09:28 +0000 From: Wisam Jaddo To: dev@dpdk.org, jackmin@mellanox.com, thomas@monjalon.net, jerinjacobk@gmail.com, ajit.khaparde@broadcom.com, arybchenko@solarflare.com Date: Mon, 11 May 2020 11:09:07 +0000 Message-Id: <20200511110912.11535-1-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200506123627.22340-2-wisamm@mellanox.com> References: <20200506123627.22340-2-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR3P192CA0058.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:57::33) 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 PR3P192CA0058.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:57::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.29 via Frontend Transport; Mon, 11 May 2020 11:09:27 +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: 220c42c5-620d-4191-4bae-08d7f59bc5e3 X-MS-TrafficTypeDiagnostic: AM0PR05MB5891:|AM0PR05MB5891: 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:1060; X-Forefront-PRVS: 04004D94E2 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UoGilY8Z2/70uWVclE55X6qX3IEuzkSD1p0ymSehPfC8YsreM3W+4Ce1yaraNwaU4AxwSWvPpuMvWhQtW+YPb9XlQ+vqGtNZm/NuaesltCjOXDcyyQm93H1nhJDKsezv7XItoPQKKlCkkCLGBOYSDfiO2AfH2ceAN43VPtO6ZrV37vKx/6AngODlpuGOpkwh8xw2s1oM4Czu00iXXr3oL1GuxVd79GKkOThNIkwDM2ajLg8rvIF4GOJ28Jnw3uVGrWqqlVeKSn9UblF4R7vpoXLdcdha9lDTjgaN2pzCJcilGD0Ff8Gc/hcF77CH2hrd2gk62nfmXxYK/ogPSTmhc3vDJn1im9MMiNebiFc6E9JAV1TSs5S79Y6o9mU8GTY4oFFNVdBFwXK1gSTqhFRIUXcBsIOpibnjRY3errt9ABN0kL90CiF2cWsRujUFMzNUX1NM8AmGeBy8foPBC1O1/2RlZ3PThABzouI4S8rFKMPfJd8bCEtgWxcAPWO+hQoDWCeDZHpAAMW0pBd3RPbZag== 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)(376002)(136003)(39860400002)(396003)(366004)(346002)(33430700001)(66556008)(36756003)(478600001)(5660300002)(1076003)(33440700001)(316002)(6666004)(8886007)(2906002)(8936002)(55016002)(86362001)(66476007)(8676002)(66946007)(52116002)(26005)(2616005)(956004)(16526019)(186003)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: CesTCKZNg2rQBNMXSBuaBUwAxn12ejHRNt/BAQ2hHh9cWZrZxjqRbBPrF4IFgnb+L1A26DUA8LZom00Hl4urosXZKr0puHoGe61Xt9/7RXzGGbUb1SZhad4an/tf7vXAUa33UiSRhU1yG9iKljPMr5z1iqbs34w2VtEwk45blTmGoVh1ZM4ToZWCHKeZ9boi4s3hXNjO4KZCkafULsUTNUMrqLnETlPXIKutwJNWYS4yTltnhJZiU4krHQ3gCSUaIXCz4/gDTvEDsKHL/natzLvfG5rvf+zMIEsMFgYiaqUIFJV+sDd54GVtCnOfmoiTFEmxRzcBSOBaoEFfVV3dMMvSkcMAUdig3ROE7Y4pEi5b9RZ2ZKzr80SMEegyGij0hIHklBzFgKVV0DnuKyZo6tA3DS+iel2zjRp2b31IZuQrhdR3dASKvnxmpCY9me3iZMkRskZ4yEqaIUbvD2tkdsS4ubexYaTDAwfQE9vkcgc= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 220c42c5-620d-4191-4bae-08d7f59bc5e3 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2020 11:09:28.7086 (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: J4Mea6qoQkvGfA7e1ngq1sdHjaVcmHWdCyyZDXXljiQpX1W7swo70RvT9Wsg9E3Ku+J+GumHz5weR29Rs7di0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5891 Subject: [dpdk-dev] [PATCH v6 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. --- v6: * Move compare vs 0 logic instead of logical not. * Logged errors into stderr. * Remove offload parse on queue level. * Fix documentation and limitations. * Added macro for rss hash value, used in port and rss action configuration. * Remove all design global variable, only control left. * Remove items/action defines for bit map and use rte_types instead. * Addressing comments regard args_parse() 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 | 164 ++++ app/test-flow-perf/actions_gen.h | 29 + app/test-flow-perf/config.h | 30 + app/test-flow-perf/flow_gen.c | 145 +++ app/test-flow-perf/flow_gen.h | 37 + app/test-flow-perf/items_gen.c | 277 ++++++ app/test-flow-perf/items_gen.h | 31 + app/test-flow-perf/main.c | 1116 ++++++++++++++++++++++++ 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 | 247 ++++++ doc/guides/tools/index.rst | 1 + 17 files changed, 2136 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