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 4DE50A04AF; Mon, 4 May 2020 12:54:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2A551C1EC; Mon, 4 May 2020 12:54:20 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2063.outbound.protection.outlook.com [40.107.22.63]) by dpdk.org (Postfix) with ESMTP id AED621C127 for ; Mon, 4 May 2020 12:54:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FJN2mYcBXUPH/fbcOOUyEdmXR1wHpu2Uxy92tcundMARmJXbfIkFol9BhLR7ZgAZhIxPd/d3Qz6tFwu7FqW/noI55y2FgJeOgTp6o9ZxrWH2yK4FVNrG26nwj9tB9s/w43h0/s2OSmlXFkvjS5slNyXyeXJkt9GnxXrAnNBdyHFfXzJmy2KVW9v5iC529ryyUkXoitCSu0RNWSK9UVzO1B5I/zlkwsciI3DHcgLn/ruOx7qIA/8Qc9mP/Sn24lQqFu1NeY5t0Wnosqg7WJqB8+ZWf+7GT4Ks/EEHvKwUf2BslzLracq0PlrFm6J1usOviwF6IlD/aefMAcDQu0dihA== 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=IxrqQ0a8yD+P9i8yYK5Xm0d47WQYdmxWveGPyGI2ugU=; b=f+NxG0jNs4EGj6YC4K1bhMfVk4wWuhAvh/rcUXBA5yQjR/56EmXv9dgHRcOIo6Ku/EuQD5ayDUcd6FnrpPDeqS+abB9y+UQ2gPJ44oLi06UqopCXHg3xlXEDSocL3Vl9bIP7aXmE2TtZUS1vFE4SaxJbwy/f0kBXNKgmP+Vol9kfV1Ri+a6tSvfftDiSieeMc7XeWvzUYktc7qbNsoSUbeZ/pS+bN9x690rSuTNJzRczyvoppgBitT4zt+CFGLn3oXPsZ2e4GrYSZ716rQMYr4nFUYn8/QGPrPEPQiROP4qSwi2uxsD3p0Nk3oiuGfI2bD5isv+HO0y3bIKbC82HaA== 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=IxrqQ0a8yD+P9i8yYK5Xm0d47WQYdmxWveGPyGI2ugU=; b=qrHyu9iIuWiMRnWx/mAacpYJazbWoVZPoJR81bXhg7HAIZtpq9/HFnw2SbGSAEkqp6On8q4E0/63XOcFXesS0ZZUmnAtCYrfAuJoHAj6mCZ879zV6sq6q95MtjHaTukcmlecB6g59wpS+OcjJbBmHWsNU66AqDRCRcRE1yBApLE= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB5668.eurprd05.prod.outlook.com (2603:10a6:208:120::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19; Mon, 4 May 2020 10:54:18 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e%5]) with mapi id 15.20.2958.030; Mon, 4 May 2020 10:54:18 +0000 From: Raslan Darawsheh To: Eli Britstein , "dev@dpdk.org" CC: Matan Azrad , Ori Kam , Slava Ovsiienko , Eli Britstein Thread-Topic: [PATCH V2 0/2] net/mlx5: optimize performance for IPv4/IPv6 Thread-Index: AQHWITh3dhXSXK8SlU+fw+cNP1qsXaiXwgbw Date: Mon, 4 May 2020 10:54:18 +0000 Message-ID: References: <20200503104755.19545-1-elibr@mellanox.com> In-Reply-To: <20200503104755.19545-1-elibr@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: [188.161.230.216] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 22a8a926-6c7a-45e1-6156-08d7f0197e76 x-ms-traffictypediagnostic: AM0PR05MB5668:|AM0PR05MB5668: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 03932714EB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JLbndInUl5oKC01SKQt9na3nezF3Yihr13lgRKxCtbYWVtd1L31FHYITkF/nECzFUXvgSwcqhPHaNkJB3cf8Qquqe0ZRbCQeBD3HoDDYneEqZnmXqq8p/ERB9ZWIzmNRQvJejc09/zW+7hqthTGOLHbjCTcxomnUICiZc5XF/tH6qWgY8KnbMCh4e/kEGagfZjlcwJCX6rAF5EONt0cslROBw7FSZHVOZuug2c/tOmt2nVlAMeGscwTI2HEoIUWSKwQRvEI14dWHZq/kkvcKJJ+nOH24wtlYPAS9ny1WKUtKyWTagkLOJ2VpLMsoWa8cskQtNv/P1f44tUVuwukyP2bmGxZIC+k/hZSme27cyHOR2tN7Ekve82Q9Y+7Hur6YjTwozxBHgSHVWryTdXcHMHTz++9oR6Xy2Y2N3DPp/tea4BwDGbxt5RYjb6xahZv9 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(346002)(376002)(39860400002)(366004)(8936002)(66946007)(52536014)(4744005)(76116006)(66556008)(316002)(66446008)(66476007)(64756008)(8676002)(7696005)(26005)(186003)(107886003)(53546011)(71200400001)(54906003)(5660300002)(110136005)(6506007)(478600001)(86362001)(33656002)(2906002)(55016002)(9686003)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: r8+kZfU39CSylEgngOuP7B/ZGikCgkpk/TTkEpgaeoOPRu5IKJCCJdvwQ87Zz5yqwW1Sqs6QUv9zdOEtUPZBf2xl8nZNeV5V27XnJ011I4ioRSsPCe4uOGE4e9vC9/W4FAEbl+Q97GqIi9DpvwbtjaT9p0oLZ27Erg449sep5MMN29kSExQ6oKxBQVckpJcE+D0AFow9y8NU+/SuD3K7zEGM8l0V88k7AzDG0SDuWdBtyudibfyvmtprq/j+pNd+DnoA4NNNxVH91VYxLZZ5NXpfUCn13xersCM2bi0YoM9Eu+ck58beNL3cSDSfukFdgeEXjfDSxRRI8D6r2YwrjovENb4G/QaS+XrybNVHQEK2ExcpuOWD7FJ5GvajosphNQqGcWbfwMc006+1rgtFWGfHgKA08V/U1mhF/1497Nx643+NwGU6MNUIe4araU079ToAL7vdLFjr57El48BdZqa06HTnWy3PJo3KgvvgKiMQJJIB81+8m06VhMfnuv7WDI7zy+BF2WLo/OfDvhTLelEW3PvvvGzc0amtnVsmD++95azf+ROXA0ASUxhUcUl/L1kaLMameEqBQfOTAPduKNWKjUexkeK/h/0naM755/CQFJ3y1NG1gkYqon+S0sY2VJ8rqokfWCR+mqRxivqUN+nuP5y87CPekzz3rE4HNKO8ZTcYgkpOBIi1PQP740G2ZwpcgPdCATN2dqvPPi+a2TnrYkpf2S5EvuJGCLnsrYJbrAMNf6IDaAp1zKYR2/kX7Jwdb9ItmHOwNaNG7OytSD+lKiYaKudQ073hhxjWoL1jZf10qDucNl2X6jUSwrO3 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: 22a8a926-6c7a-45e1-6156-08d7f0197e76 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2020 10:54:18.1077 (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: lPJ3TXSzHqoxGVKvCWaDFdbLUXrnylELO1x6P9jHf04qXR/+qiyNThswoTd+dwC1+whIiTY7EQELuionidv4qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5668 Subject: Re: [dpdk-dev] [PATCH V2 0/2] net/mlx5: optimize performance for IPv4/IPv6 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" Hi, > -----Original Message----- > From: Eli Britstein > Sent: Sunday, May 3, 2020 1:48 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Slava Ovsiienko > ; Eli Britstein > Subject: [PATCH V2 0/2] net/mlx5: optimize performance for IPv4/IPv6 >=20 > The HW is optimized for IPv4/IPv6. For such cases avoid matching on > ethertype, and use ip_version field instead. >=20 > Eli Britstein (2): > net/mlx5: introduce a helper to set IP version match > net/mlx5: optimize performance for IPv4/IPv6 ethertype >=20 > drivers/net/mlx5/mlx5_flow_dv.c | 91 > +++++++++++++++++++++++++++++++---------- > 1 file changed, 69 insertions(+), 22 deletions(-) >=20 > -- > 2.14.5 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh