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 4FC79A04B8; Tue, 5 May 2020 12:09:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B32951D167; Tue, 5 May 2020 12:09:27 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60087.outbound.protection.outlook.com [40.107.6.87]) by dpdk.org (Postfix) with ESMTP id EA4AD1D156 for ; Tue, 5 May 2020 12:09:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGWCVsKjz+3lwCc06tt2jct24V+pse5/MzHD/tRlm8/HW0OwMdCCwNchcz/MhemmPINwIU9HwHA3SMKQyHTvh+/qZcQvXGf1LBH2a3HHUFNeirKjG0M9bGfRvYyy5fy6q9Bu6c6FKqNsGWuHPnIy3wunPILfBdWszaOIaMFUS57Crv3mnOtaHidZj/KcppTGs9uP3LJtPSCl/C7l2d4cI3cSCs7ngWvjIc1rvobo7q4VKTQ0q90kWFvUUzlGtCl1TUdxlxu+asKfnL3KLhMGcpATb5FmtAJ7nTv59bVZ2zPjsWAi5Fdd1LGACPyrNFnC5fk4gO8oRmUJEV4AoQUKvw== 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=Q/LKomGT4F5Jwl5N808857939nw/uzqbDhUIev9FUf8=; b=GgMnQ7oFm2o49FkTPYuKKXUvne60Se72bv/7vsnc9J6rx9Z9JRDHpA4f88J6XhFqdxVdNUoKmCiHaPZ9f6nzAjkxVdz7d8nEGKdMCNsZwif+J7h6Uy9J43e8Nv2fbtpQplPIiQ7PtB0opHSs3YWM4lBrfb2Kp2D8erAP0V5kC+VRNBOAYjvjgT3hzzZ/n86w45aCXXPDTAM83axjk9ItltmyZyvq1tG2Se9R/+JaRnmY+JgdNUxrpbn12tQS7spOUgVv0QaXuUs8RnhhWgFvSPddeWhrXHyp9iNMsxnC4aSDwGhlRsT8tnKiTxy+xDjsufK2WfG1TDpWros48k7Kqg== 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=Q/LKomGT4F5Jwl5N808857939nw/uzqbDhUIev9FUf8=; b=JjNxZqUoeSG33xZNt/xz/sVB8tXd/xqAkdDrAa1a4eahKB/WaH2Vt+24DARPvfI9cHzYI7PdfL6N53t7nxUKNt+8Wv3PVnMXFFVPRmKAXb5U6eRb+2XF8RWXMbt8OhMbMgi6WY1gkpMvouz1NOws79mPPgy9Jz9ptcybIZqGRs8= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM6PR05MB5110.eurprd05.prod.outlook.com (2603:10a6:20b:3b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Tue, 5 May 2020 10:09:24 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22%7]) with mapi id 15.20.2958.030; Tue, 5 May 2020 10:09:23 +0000 From: Ori Kam To: Bill Zhou , "ferruh.yigit@intel.com" , Matan Azrad , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" , "john.mcnamara@intel.com" , "marko.kovacevic@intel.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH v5] app/testpmd: support flow aging Thread-Index: AQHWIsJuEClloC8F+EqhA9ocZ0k106iZRIMg Date: Tue, 5 May 2020 10:09:23 +0000 Message-ID: References: <20200503085948.27167-1-dongz@mellanox.com> <20200505094906.3299-1-dongz@mellanox.com> In-Reply-To: <20200505094906.3299-1-dongz@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [89.208.130.33] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2347cdff-d1ba-4f77-41ca-08d7f0dc62f4 x-ms-traffictypediagnostic: AM6PR05MB5110:|AM6PR05MB5110: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0394259C80 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DmrfXCypfh6griePj1lOBhd8PV+N7EDwaY+mYetDGYwbNcKErS/8wjW+OMs+kfGk66Q7lHcDj8QK46k5Zm7UCmG1zHJdMbR+uaEprNidNfY+13s5dRy3KgaPyzpdN7lxy5CTIDFE2yAOpmDi5Zw0MrOUZ84+5WJp6H+Hr/VJVSC5ELPNxVnQCH2lXu8+Cg+qXUSDYEtgx8Rjp0qHDd6BP5o8wi+7sniSRKi4YdanmEV3+PgfcPz58xSiZ5UOYyNG5U1algaGXF/WYwLMFFdyy1X/OYhXcesPfB2asxoOX0835RYq5+6ZYL3+YSb3nKch2ZD2sk9cNMipkWbKWUzwbtXT14FBkR7IJXcthvzRkwtAYxdKH5KkEubRUGc5lcOTUgfX8w9PW2QohoUPcStgevaQ9t9npMY6PaEW6ZyqmmAgEvezhD1SKF1FGMN42e8hTvBzhVqMRHW3hU8nBZZ1djkdQ5m3PtV4aJD5RjLK3odsZZwEiCigK9Pi6A1cr3/8YqwoHtRs8LjkHpFeM/+ZOw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(346002)(136003)(39860400002)(366004)(33430700001)(55016002)(4326008)(316002)(110136005)(9686003)(8936002)(8676002)(2906002)(5660300002)(71200400001)(33656002)(52536014)(7696005)(66946007)(6506007)(53546011)(86362001)(76116006)(478600001)(66446008)(64756008)(33440700001)(26005)(186003)(66476007)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: QbGPoznl9oKAOUWuKAFzOP/l6Yl7QGkF/KqcINyyUr8Ghij1QH0Dm60n/UDSIoYUYDaR6ZY2GEwDO14vd0Ad1lg0WLtuubtM7Lphudou0JJyNLjL/NurTxavJDQI/DE6YP1bNPUXYuKOgnlYo5AEi+fMnBZ/NaF/m2K9++2rmC9+G1GhTIDh63cUR7/RdW5Pv7XvGSg8G9gBKoTkYCSlU5zp7MKMKB/VDP1la/AZqw6iOJ9ThwsNXyzDSO6r00DG0/KEeFj8K10rUALpYV7m6PGQCTPBZT5GNkAqEsk/cTF9Js+l+gp7KaClOTFkuctOUJoaMWJZs9lK5XY+6L0LdDg8WiGCrT+3+Sx501o7jwhOQ9UpzFxVH1iDtt/6kF1V3WcB2QxoKBa6o/jtUpfxs/SP72heEUWy/GdpejtUeDVJnvq0W0HD7G+iYaFBDyQ4MzsgVPqRApTNeMkfKN/3j77SNfwxKQGpiakTn6JRN/ZFl/pVF4P/QVF/xvXE7Y0Il/bUEXh6n9zo3MyxRKA3tlHVwjhDO1ftCY2KRegnddy+eY7SABzHPMa9Mv6Vd6OGIK1GWG2ZH8BAxOffK5bDBiE3W+wwxnFCBZfqSJ2aAFRqn0J31qHWTavR3pzW/npeY6WvUnu//QrVUAdqkuGxSOvilvpeqpFu9a4nPZohKkH44bU6Jaw0pgzTnmlNmvz+NqhsV3g84zMwL8Y97PXLHpmJyXL42rmTc1jVgmMn+N/QmP+bd2Wy9xZeHBQDnC46ctDJyoFEjiEDRL/Wua+ccKHDxfgkrr3IGze+7XPpybU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2347cdff-d1ba-4f77-41ca-08d7f0dc62f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 10:09:23.8511 (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: 7hVWvV5NOpuh6Ls4FJ/Jt6ihHLa0WACr/4Taus+ExDgT7LDZM/1lQ/8+zetnlhgStqmDsGgbOZfrTAtOQpdivA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5110 Subject: Re: [dpdk-dev] [PATCH v5] app/testpmd: support flow aging 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" > -----Original Message----- > From: Bill Zhou > Sent: Tuesday, May 5, 2020 12:49 PM > Subject: [PATCH v5] app/testpmd: support flow aging >=20 > Currently, there is no way to check the aging event or to get the current > aged flows in testpmd, this patch include those implements, it's included= : >=20 > - Add new item "flow_aged" to the current print event command arguments. > - Add new command to list all aged flows, meanwhile, we can set parameter > to destroy it. >=20 > Signed-off-by: Bill Zhou > --- > v2: Update the way of registering aging event, add new command to control > if the event need be print or not. Update the output of the delete aged > flow command format. > v3: Change the command from only set aged flow output to set one gloable > verbose bitmap for all events output. > v4: Add the event output to current global print event arguments. > v5: Update the documentation about print event command line change. > app/test-pmd/cmdline.c | 4 + > app/test-pmd/cmdline_flow.c | 62 +++++++++++ > app/test-pmd/config.c | 108 ++++++++++++++++++-- > app/test-pmd/parameters.c | 6 +- > app/test-pmd/testpmd.c | 4 +- > app/test-pmd/testpmd.h | 3 + > doc/guides/testpmd_app_ug/run_app.rst | 4 +- > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 62 +++++++++++ > 8 files changed, 237 insertions(+), 16 deletions(-) >=20 Acked-by: Ori Kam Thanks, Ori