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 17138A00C5; Thu, 30 Apr 2020 09:08:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A042F1D90D; Thu, 30 Apr 2020 09:08:40 +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 D86741D909 for ; Thu, 30 Apr 2020 09:08:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OM8ewqwz+8/z/h+hdhaKRsepflCL/JSizwNnUazNB+8je9XsDtQTD7+OR5HZvREQNbC1CntND+KYaXZxt7HwK9dQpRPMNjbhD/KIStwIT3Of3kMiBgv49KVar0hw2K5J9aDkNn2yQrJPRNmk/QzI0S4RQSIEv5uuPri3pp9+a+Qw4ePZXVuPtqskrQmPnUTUh9//PL/m1iQbFHVK0pc+BfPFHs76/aACMNCpYhxR52cLoDozEtp47NaoGmvvMzV/gxpxAzeFLQ/2ao/4jWckUODpbh8NyQdTHZNxzKJpeYqQX8Y1nU/lATOQq9H8eX+fVlWGtFUupSKFNuoV9bRRKA== 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=JjDoln1NecaMloQP4v/6S8R6FOJIbWi0Q3QqPALJLIs=; b=oD4AYRbVere1adAcVQ9po0Mz/XoZ3tSXAP9NwPU1pxfuymtiSva1JsSnUOn8WwLh06oXP1sE/mj96bCOgTzRmEyF/uAHbXU4sew9XzL1lxt2cZxqnEx2S/X2W0HXqhfMHqiOCl8OPaRZyBSIiRfHFaATBizo0OFaEyR7Vw3T/FJ03FP5IzNGao94SJjSWxx/h1jm6ZLvBJQwDCBWbGdk321r3OF4AHR8wXKUB163emjeepEqxz4Am/fgwCvtkdPpAniPfTh+uFwfIcXt/5bd3uh8QXxWD98V5mUC0eH61cXgrejw2YtpPJTQWA0580kWj16GM1YiB4mi5iClalY+JA== 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=JjDoln1NecaMloQP4v/6S8R6FOJIbWi0Q3QqPALJLIs=; b=U+38bnOs7LnpwtaRsWn/PWgZDoS6niAw3kYZprYlcijtVq7e+MmoyClf+cDdA2+dus3TbaA6kANAbrMx9ldPXkd6Bx5LRrbnvbCfZa/XCMzlr08q4JfU6RmI3naduyEENcsUw3Ht0t6mDus7kUVRH2fBY6C9S3zYRpUBq3Hur5E= 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 AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) 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 07:08:37 +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 07:08:37 +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 Cc: root Date: Thu, 30 Apr 2020 07:08:18 +0000 Message-Id: <20200430070823.24046-1-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200409154257.11539-1-wisamm@mellanox.com> References: <20200409154257.11539-1-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR3P191CA0051.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::26) 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 PR3P191CA0051.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::26) 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 07:08:36 +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: 0ecc383f-27bb-453b-7e69-08d7ecd54d91 X-MS-TrafficTypeDiagnostic: AM0PR05MB6707:|AM0PR05MB6707: 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-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W917mLk5dGPhEv/R6SvsjPQVSMzJe4FX5P2Es6HTkXUTPbJaNWMRk+uqpkf0CSe5oJY4ofxW9Q18bGMNIjyDfjnMT3B7LRCaA7JriHLpJUpReCRRfyeLe8BFcelTotlLpN4jaEJ3ngEcl7Cntqfyh6ZtXOw8dC+Ov/tu1Svn0Zeccov40OPQ2Ztbjp/Jj0jWUD4GAuPPPsxonwQ5qt48TSB97JJcI8QER0lx+D7GxAfr798MQipCYdano9dp9hQv+WqGLFXQwaVMqrYTVmQflyGRQk0c1BDTvm/kVKUuRYieWHfQ/m0no/DtrvzyCczks6oXFV4FWHI21vgfSsCh37865a1ZtgVljpYtsjzfqOcmZrbuW0tqkBZ39sQKIFoINLG3UKzUBVjtjWvtznza2IgIhlT/RVOBJeMOGmoTL8D0sF9/jYMsLuRhGuKqvUjC 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)(136003)(366004)(346002)(376002)(396003)(66556008)(4326008)(1076003)(26005)(186003)(55016002)(66946007)(8886007)(16526019)(2906002)(2616005)(956004)(66476007)(36756003)(6666004)(8936002)(316002)(86362001)(8676002)(52116002)(5660300002)(478600001)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ckKD0x4dvyQ6XZuZei1TAgeeQNgtkQNUrab9vZ/cyb+Z9vkMtafvzVsshEtXdeX0WrXcOsOcMiXP1v5DLR20TWYR/2F1lPUGBCJ7XgM9hzWXxN/CM6tV7L03yeNJFgFKhUkHNO73Xi+D41gESKCQyr2Mtdz8tPagzGzIEAhl35R4qbxQzbwbT3tHi7LYJSJrBOc+egvq1vQWlIYaYkqejsF2zF4sswQY06puQEI2rme+9aJkL432faabkDpxaEJPntml1/VbPZa6s+IR3ZGSlMBqKNwYrSRjseXJUllaRIi+UxFKp/kS2whDJC/GYGWPu5OcdXDGZ/vrDfrhcBVGbmLlT667RDYl8EHRWC/QdPUTjwQnt2w9ziCyzjLWm/QwG1tYqC1S4YEdAbKe+2GOcrBMd4rvmRCXr5omEcybo2r753LPxsc1yq13zZn0Fmexore09wJrhHzbZSWVi7fsgJ7ElMmsZw/9DsZvHM/KfMxVP3RLT82ipeyZq75kqsV6UWnu4d1XY0LwECFEydsThBuLHImEMd1AKry9OcVsbMMrRqqBBDbjJclKeB1IAEuL4U9bedG2DLl3nzGIgCTB0Fgz3iznzTETJNJDxXrrtR7pHHdwss+1QbkiVwxiRw2+YHkdgsFuNnztaHpw8kWtE5FKohwY/5eVm56vlRG+vBW5Er5LC/Kt/W0WOJLjZOSAbDJMNo3coJwe+rnLU8krlihULPKhKLm0LMUdcmE0y2h+tchaRRZCfp7lvmakHxDeIHJlLbBF9E36gdwpuTpaIYXiB5G//d0SSmV0lQvzaWs= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ecc383f-27bb-453b-7e69-08d7ecd54d91 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2020 07:08:37.2512 (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: ljLXmkHpFhb05iBhEgd34WqpJAWYPJ2BC2ViD4pROoBwyaS9U4vtNajrB2WRzEQ2chZ/oBDXxqF9ZIypodDLFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6707 Subject: [dpdk-dev] [PATCH v2 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" From: root Add new application to test rte flow performance from: - Insertion rate. - Deletion rate. - Memory consumption. - PPS forward measurement. --- 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