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 D5F58A04AF; Sun, 3 May 2020 09:41:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 01B211D55F; Sun, 3 May 2020 09:41:58 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60069.outbound.protection.outlook.com [40.107.6.69]) by dpdk.org (Postfix) with ESMTP id B5E791D55D for ; Sun, 3 May 2020 09:41:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TrQCH+KvByBL8/tUvq9/xqNwadyRKfOtbUkrVoopvcexE7J9WlOu5xWgiS1uxI7c5U1zoD1dZX24HJEFm4/Up7ui81mfawN5lR3io60paAWITQki7V0bxoeqnF7JkD2kblNdohnVheX7J0o5nWWLsPf51Ccsex+X2um+KexJF6vJxdVx4Es4W1EEUs3fbY6em6WfUtZrih4CydMVuX6SU5gK3v6EQeXEpOHzqwWTUIx2+qvcD7Y6t8SmRIQswqpb3DlBZJsmPzlGZWHI0usUgEcBeizbx6VIZDSyCrMmKM1q0xpNDnGlk7AIdIBotaE2FTyTN/LJMZSh1KG0Ifdcww== 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=atFNEcoS9qLXXfH6e2QOxJbCbxRae8LHGqdzkQbeSgQ=; b=nMRloGX3V6mzIAKjiCWLI8Nw0WzchYstw+tPmK2dpZQfQMQs+MvcZTUagZ93Ecmgn47J6f5jjVzyTqgt4zn370TLJK4ySnJKx6rOsrSyVqb/PIBAzwu2MPSuB0ft4vga9u2A4aWYK4Ig419TKWPnFuBAqfB496RVkWXcm8s/r+6fueleFbOMybXdC3p7L47ZrRg4J4aAv2TU+uXMkwYMB+dSj1yy4Ia48NODYCulAdUGQMGp4ytUJVx2MF8HJe51QC1/zlyMLj9lG1cszFyy99o0yn0WfgNNZTG//Xg+EHF1ON2yKKTkoSl3bHCx4KPMZ5YlCF/COx4TlPDxvcv8bQ== 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=atFNEcoS9qLXXfH6e2QOxJbCbxRae8LHGqdzkQbeSgQ=; b=I7DVx4C2jAnD9ptbWNVCLFEg7aGXHzEg8gCoEg6Yes0cnvoBdNoHNvrOzT+txGyomn8tdR80iS+zU8IGa7CzI2JvQEgBnzSaEWewODKFCAOux2QkYnudxJ0OKWtncdlGUzklJ0dxMYzzchOj5nHU48VLdOTQe7Avcc0/FXJFE4U= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3633.eurprd05.prod.outlook.com (2603:10a6:208:16::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19; Sun, 3 May 2020 07:41:55 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2958.027; Sun, 3 May 2020 07:41:55 +0000 From: Matan Azrad To: Bill Zhou , Ori Kam , Shahaf Shuler , Slava Ovsiienko , "marko.kovacevic@intel.com" , "john.mcnamara@intel.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH v3 0/2] net/mlx5: support flow aging Thread-Index: AQHWHc1pNSE0SZDWLE+J25fx0GyFpaiWAMsA Date: Sun, 3 May 2020 07:41:55 +0000 Message-ID: References: <20200424104548.12655-1-dongz@mellanox.com> <20200429022509.4360-1-dongz@mellanox.com> In-Reply-To: <20200429022509.4360-1-dongz@mellanox.com> Accept-Language: en-US, he-IL 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: [77.126.88.104] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0458851c-a82a-434c-ff6b-08d7ef35740d x-ms-traffictypediagnostic: AM0PR0502MB3633:|AM0PR0502MB3633: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 0392679D18 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a1tPJTLF77GjGz5l9Sh7Nl4QvI4o8id4brz8OfXaWERf/vj6EM5v+ICadHCVyp7XRBCBP9GudPAvsOTzmoqDzAGKjvIFISzhNpKlH2bsV/GRMuHWh3/OXrOt4gcEB0f+r/YLWi/uUGVRTC4PPmQtqvJ7UO99Ze+Zl736/zQil+ptrggeqqW3+xcaCsV2b43icLLYGsY6j2soIqDjumpmyL28Gb6SdbxvJDtEj/mxH7qbEqjunyFhe1dXry44O1Q4b2NW4oohvGxPWGyPkTWYlf2XjPHndS+4Y+eN7B9st5J5qI/dS6n31/NdcP161HYezMFzAAi654ETm3HvsSmay8Vpqk53hFFB3GDrriEaHCcRIZmuzNuhB+IfwvkJ4hbeV+PAhWN37CQcHImhUyU9KZ00uQi5jxVKUzdQQOfLkZ+E/cMQWrNo0RthJh1o2Jzm x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(346002)(396003)(376002)(366004)(8676002)(55016002)(76116006)(66476007)(66556008)(64756008)(66446008)(7696005)(71200400001)(66946007)(4744005)(52536014)(8936002)(9686003)(5660300002)(33656002)(110136005)(86362001)(478600001)(186003)(4326008)(316002)(6506007)(2906002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: kkI5hTUnirohLmF4BjGykQkAQqJ/7kRudyilhGQKo6BJ3ekHBsvp4rY/DBYIQzuhutW8ryiwivXTuMAz5mut0X+/+0WRysbv5TxkRyNSecox3fumK1QBydTeSnh2Jq5YSnO+2+p2rVC6dLK7i1x1p2EP3QmyoAmMUl/wOHjYvPyvLnJRYZr6xZXILtvAh8aA7IY/v7BJAaMUOSCULNyB5u3FtHKGBjEnm/6zlskumZX5x2NgO6LydDaajQ6z6LYir6m+2hP0EJ5ywQV9lGfEL6qh5MJWLhRRCSe2IodDQENlPxQ0mgRCMJMsJFErTMr6B2TaiTLZn3KT901SF2tOUrkeHQqRJzLPrFc8WEBpDNN4jzMLZhc9u9guPioulX25C1/f6PAIKDy0wyJj9KSH+tSQu8Ajq0cs+cGROlhQUqkxrcLMANt4Yh85erB8EEEOaseellVgA/LQCmNRAj8Rv3+Fk+3zZXUIoHWKmCW/g8q1uraQ/hmxcZr+DFsIRgo/Vq0tKX6CeEQAH+bwc5EzV0StuXp5IQwz1lU0+edZxOLqdnMObr56IBJ8OuwFRjB7PWUCIY1/1VWwKZwhWnRwXQDg8kP8crk/Szo6lHSFwccyey/1MYEt85iIob55wqef0BtKpPvfmbke41A7x5qlzYswrIFADHBt2on0W5lxXxlTAI3VBadvtMWcsGy/vxP1kkvj3B1K0NEuJVEvrDzPbsJyZYQOPaD8FWJQqmTllRkSeXrUWvgNG1BE43TioJMdNboFXqs1nikeA5c/9t8pX+ZqDN39u16gES78ml+9MIk= 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: 0458851c-a82a-434c-ff6b-08d7ef35740d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2020 07:41:55.3662 (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: FKntdZrk32irKLOK2lNTtlBONrtYs80vQdIcf0KLrktnXgdBa69fml/oepZtQbpjMhBvinn95jYme0T6v1If/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3633 Subject: Re: [dpdk-dev] [PATCH v3 0/2] net/mlx5: 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" From: Bill Zhou: > Those patches implement flow aging for mlx5 driver. First patch is to mod= ify > the current additional memory allocation for counter, so that it's easy t= o get > every counter additional memory location by using offsetting. Second patc= h > implements aging check and age-out event callback mechanism for mlx5 > driver. >=20 >=20 > Bill Zhou (2): > net/mlx5: modify ext-counter memory allocation > net/mlx5: support flow aging Series-acked-by: Matan Azrad > doc/guides/rel_notes/release_20_05.rst | 1 + > drivers/net/mlx5/mlx5.c | 93 ++++-- > drivers/net/mlx5/mlx5.h | 79 +++++- > drivers/net/mlx5/mlx5_flow.c | 205 ++++++++++++-- > drivers/net/mlx5/mlx5_flow.h | 16 +- > drivers/net/mlx5/mlx5_flow_dv.c | 373 +++++++++++++++++++++---- > drivers/net/mlx5/mlx5_flow_verbs.c | 16 +- > 7 files changed, 655 insertions(+), 128 deletions(-) >=20 > -- > 2.21.0