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 51761A04AB; Fri, 8 Nov 2019 09:16:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0756B1BFAA; Fri, 8 Nov 2019 09:16:08 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00052.outbound.protection.outlook.com [40.107.0.52]) by dpdk.org (Postfix) with ESMTP id 816CE1BF7B for ; Fri, 8 Nov 2019 09:16:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bfkOqjwRS5LnVeHcy6kGuSofFAexFwMso8ykbNQIEzO3LDdhpIslagevVr5xJcId2KoAOuApKB6SA0Tlm+TZnQx49pYpvtKMnzjAO2eBL58PFXMEHOnsr71Add8XELvjsQ7Cdf66VOzUU9E1XFZwjb/v8RnyEA2s+UtLwAw0P0ayA21lkUuLT/3rpRZ4l1+LjnoY8BejjPEPvQUpmchVQI38I0N14DhinefQ1X+skyAF9UXDQ7tODj7qoT9bSk02mSzm2gXULApI4hcYl9czhuzVy1+dYSkalHI2OMH5Mhj4TIaigIIKpS2Ch+IpXolhYw0RboJiMNZlbvRM0a/iLg== 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=26Gh2DWWe3eLRI2ib3gfDFjkcKQuaFT+UUWSyRZlHE4=; b=dQUhLBJBFds9K6uvtyuDOxiepQoWnvtUeupJo26DcPSUvz48yrAjy558LohBBvIc37imX1E4tR49aceVKvqHqtHtjAdIMUKN+fOCTJkX+WkrxreoM4MKtqbzBPUIEQfQjdWV0aCWgVHPv1Z8RNSy5JSd6OyNyOIxXiI2n4fsotn2nhrIxxrWHsiGVixIC3OS63njRz46Ex9YWBLJni/pkSVL/Wdk2TZlgB3IaknKQ1uGwdtLFgyUN0lrFoaEa+exkED847sEvSqGEi7WYKc9BvTK81SYdvQ5umZf/afGWxeNwex4S5ZQbKRkHBmYtFcwl70AHqTLdtLIwJuVqyyRWg== 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=26Gh2DWWe3eLRI2ib3gfDFjkcKQuaFT+UUWSyRZlHE4=; b=RVnGrUEUMmtQEmj7+o/naNRT8sw+X7g8lAxk9sS5wlfBTQ7qZgf4aPRxGJR/aoRjG0mgH9c/pWt5K0p63sqKneKiY5tUN0rKaR1FxAsnERSvopPUsWn7BzJj8PC6cPjtkBo/rKfTgDQY72G/KKeFAF8Sj6/jqjvxdxMNplDdYUw= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3395.eurprd05.prod.outlook.com (10.171.188.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.22; Fri, 8 Nov 2019 08:16:06 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::9940:94f2:db23:aa2c]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::9940:94f2:db23:aa2c%4]) with mapi id 15.20.2430.023; Fri, 8 Nov 2019 08:16:06 +0000 From: Slava Ovsiienko To: Bing Zhao CC: Ori Kam , Raslan Darawsheh , "dev@dpdk.org" Thread-Topic: [PATCH 3/3] net/mlx5: reorganize flow matcher resources Thread-Index: AQHVle9PVbEdtQjt80G93RaOR8l00aeA7ZqQ Date: Fri, 8 Nov 2019 08:16:06 +0000 Message-ID: References: <1573188297-51428-1-git-send-email-bingz@mellanox.com> <1573188297-51428-4-git-send-email-bingz@mellanox.com> In-Reply-To: <1573188297-51428-4-git-send-email-bingz@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=viacheslavo@mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ff1997bb-51d3-430e-b62d-08d76423e795 x-ms-traffictypediagnostic: AM4PR05MB3395:|AM4PR05MB3395: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0215D7173F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(396003)(346002)(376002)(136003)(13464003)(199004)(189003)(7696005)(486006)(99286004)(6116002)(8676002)(6862004)(66066001)(4744005)(53546011)(6506007)(6636002)(8936002)(6246003)(81156014)(81166006)(305945005)(2906002)(3846002)(55016002)(76176011)(52536014)(7736002)(54906003)(186003)(102836004)(76116006)(66446008)(64756008)(66556008)(5660300002)(14444005)(74316002)(4326008)(446003)(6436002)(316002)(229853002)(33656002)(9686003)(71200400001)(256004)(11346002)(66946007)(476003)(71190400001)(66476007)(25786009)(478600001)(26005)(14454004)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3395; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ytCqySMG7NDHj9XqMXSA2ESAeCaJ68ZpCAJguRL+HyHsx6MYWoSssYmzu6dvj3ToYXZkBCMaBYLTr7QZHSKLn0rDiiSDqIfHAaV5owX4+Y3SAQ9ENRUTpB568TjDxpyTsLKcoMac5DOvg0yAYDPRHkcg4dE3zujiXYymWJxULuT7eStM01M+z8+49AiigdSD9Hy0a3mUcaucCYpRRfBpuvWvYxaOh5gPdXzQIaFMSybQlK7MPa2vqXFyfSpH+E0xk8euSzd4vq5/QfRp6MH2SxOwVGjFk5HA1TO4rj8LqP455R2LeBhWrDmOwktAAGeZVaJKtNzIjhKUm6ymPj4KyIzUbCiltzStnwZhhHpJE+eg08pXKzHRYTz5WhwSz24BovZ5Q9PUBGBE+wNblIGjEXXo2Gq11ilftnax/uvOcHuaO5N+GVBp84tO/C92Ic0w 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: ff1997bb-51d3-430e-b62d-08d76423e795 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2019 08:16:06.6956 (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: Hsk/QdMgwzWteJUzZt4G3AFBB9X/RclKFhmw5eOi9Wt7l40xBnLhnRVvOQ+/U96v8vN9EAxjI54fOtdCBRv8rY1l1tdIekdA7XkE/Qr3ET8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3395 Subject: Re: [dpdk-dev] [PATCH 3/3] net/mlx5: reorganize flow matcher resources 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: Bing Zhao > Sent: Friday, November 8, 2019 6:45 > To: Slava Ovsiienko > Cc: Ori Kam ; Raslan Darawsheh > ; dev@dpdk.org > Subject: [PATCH 3/3] net/mlx5: reorganize flow matcher resources >=20 > Matchers are created on the specific table. If a single linked list is us= ed to > store these, then the finding process might be the bottleneck when there = are > a lot of different flow matchers on a huge amount of tables. The matchers > could be move into the table data resource structure in order to reduce t= he > comparasion times when finding. >=20 > Signed-off-by: Bing Zhao Acked-by: Viacheslav Ovsiienko