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 401B3A04AF; Sun, 3 May 2020 13:34:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16C751D539; Sun, 3 May 2020 13:34:39 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70049.outbound.protection.outlook.com [40.107.7.49]) by dpdk.org (Postfix) with ESMTP id 6A18C1D531 for ; Sun, 3 May 2020 13:34:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iJp5miAOetekPgXfdK310NbY2n6dgSMLzn5zz8+/lhmJluuGFp9w6rZbpQ3k5cbsC1e8UiI5EamAhJYZd+JtxSs548CRCNpxcThsRMTwV7/o9ItzJq1WuPh1m5L0r7ssP2iA2Qwk6/n4z56Iwm+LPuFWjq9Rl9GuMLxxjb4Je5KssXSaJr+wrb+8yggUfNTPdB+CpM+2Dm0za5T2S79/km0elpzyQ+Y5063uLz4Lanl71NNLiuodd8+/iD+iiglExM7kLFFu6D3SOhvalC79e9U6vJgyXAl/KE9acfostfAXr/sdxt0lxWjNwKsxj1cPZ/C+qqnFhftrCBsbdRuvUA== 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=Qq3g+CYy6NoNEw1QpnpBR66ZVC4FHYQBaK3o1EK64nA=; b=FPvpihPRMY78wg+NRTOv8XhpjCZ7k15VObfKc9slFlDdj3yxr2P13aTAj5ad+QpsGEIBOTVpcQ6RIiLa18U5jvds/jmg3gKSS7XUy4vovEaLv5jjTo3yQlybRcACYZ8Bx+nasT8qAGVxOv+bsZJGCjfXgEQVD32G3h8dnXnbOyVFruOnm5a53xmrtRTglghWILstVhFVer97waAG5LtpvoVdESli+v4kJ+1rTPzzp095LbxffCQvWGV+bMo/TuU50rC4Rg7qNonekQxx5H/KpkPP6v2uCUc3g2H91Tk63pLmjkrmeCRXsU2X6A5ZJaIKnmuS1XR1kNs90BIBftqYXg== 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=Qq3g+CYy6NoNEw1QpnpBR66ZVC4FHYQBaK3o1EK64nA=; b=pECFJFz9fF8e5vSsL2C9Zv7fnIYqZMftaNg1nZYjYME8zMXvkeKYr7iqyB5Mjoyc15HulLHTZQVt2ToSSXOA6ZzRqqkg+Dxa3fNgWRzhtSrESlhQ7OgBM8hW9oBldCIywCRR9yucGv0ACjuYxSDPOMERbSoMiGcYdlZUhojHHT8= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3681.eurprd05.prod.outlook.com (2603:10a6:208:17::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Sun, 3 May 2020 11:34:37 +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 11:34:37 +0000 From: Matan Azrad To: Eli Britstein , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam , Slava Ovsiienko , Eli Britstein Thread-Topic: [PATCH V2 0/2] net/mlx5: optimize performance for IPv4/IPv6 Thread-Index: AQHWITh+hnayfLcfQ0ak1VP7B0e7kKiWOuiA Date: Sun, 3 May 2020 11:34:36 +0000 Message-ID: References: <20200503104755.19545-1-elibr@mellanox.com> In-Reply-To: <20200503104755.19545-1-elibr@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: 5ab7d552-e2f3-4a90-b2f7-08d7ef55f5ea x-ms-traffictypediagnostic: AM0PR0502MB3681:|AM0PR0502MB3681: 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:3173; x-forefront-prvs: 0392679D18 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BShd3Rw2z6WARzAdBhmqQbwxlxH2/IYLAVFVWYULCF27yvdP9GjREipG8WqW1F5GN7ibkHWoqBt8WOLesAQ8O7V5+egKEYycHt+oeaLF3d2H14QF5uxwknbugt/nL1oVq7nEk/86iztHE99X4JRrMMrq8Dl6ietANpfQzj+6j2ntGEHmnInKHzbOjSI3qpEdxsqQH0cF4TJYbc++KCzQkywGbEROCSoPWtT1V9Fr45sexPzMGjWP5JLa2fa4KKggZk/QSna9Jr0Mn6+9uFH6UYl5OELplXQTa5VR7NeVPJa17zR63jFDX5g1SZNcEG84HvHy3KHwsZ5S7moKV7g0x8lxkPzyTTgJmJdlhJhJdV0457o5QQvsewB+U7kwVzMGSCDws0tnFHs0NSAEubDVr4uTtJBZWfdS3VFN6iDrwk3+l8o6QsNS7z0GrT6HZFtw 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)(376002)(346002)(396003)(366004)(39860400002)(136003)(54906003)(4326008)(107886003)(110136005)(2906002)(5660300002)(86362001)(4744005)(71200400001)(8936002)(8676002)(186003)(26005)(6506007)(7696005)(478600001)(9686003)(55016002)(33656002)(66476007)(66556008)(64756008)(316002)(76116006)(66446008)(66946007)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 0OYZaYWoHS+1Tq98IpnYwh9YBuw9eK3q6DrFsLWSsNlUAtp0Ane4l4dd9a8+W8AJ9uUF64N48fc/Ys+GII/XcLRmud+3ShE0dnOH7g5kCJMpbMKMBHYrOi25O2upKAY/I2tC5I2rssf7FQP1qrn/w0ShMAZoIkIUxgzQ6o0dguWWrbCwF2a3klQdAG+7jsC+4IZBWab65xHkl2HkCk6/NtbtBhUCZqLHN/L1xyxbPLDkp/oFzSlkjW6Bip9/4yZy+AFb872PQXfg0bm1slTw5WaHv60Jq5bdHJ/zjrztUjjd9I5VOIXLSvNB4tbGN3lMtaR6FUYg4pVA5HEDeEkN3tCoofxAaKATDioWKFrnfnAFroftQ+gn+yjxtXcWSkxpV3/hMCb2k1C61Znnxuzr1/XimfObzahQFQDuYjgwozPoveL8iI9EfXWVOs8vAtwq/PERiZRavvI/OrZvgId1JgKBaukmSo7rFFaiX9WAbFtEyochr6fup9Qs4ZCAtLSvHR30rXMC/0Ggt+5NXd3T6ShepQA1JbCmqxro5sVESDK+jHOXWp5AB0lT3bI9odaTJI3p+kGAGTQkrpYloETQn0X/PTTuNUOqc+9WQf6wVvpVhrwyyKtA6/MiloJiOgagEVTH7i7UzjPvYtrgCx3M22hgfhzB8Z+ca17q8y/NiJ3AMV4lwyzLYWw06oAnAA+9sjnbVVrS2kauG7nelL/f6AXt8RdYDAhen5wZVGXL3MMSS6LIJE2OMMtmIqmVJwgZ27eEqBy5V+GISDxdkHb+SSpxqae3/c6ziGGbGPT/YtI= 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: 5ab7d552-e2f3-4a90-b2f7-08d7ef55f5ea X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2020 11:34:37.2314 (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: RTZCZPOgjcJ3TZsexX64EPC8+s5u7YlRwgiX74NS5QU0YI9VOidpx+cNsWH8cs0muFS9yDaAOVnWmHpDC3c3Tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3681 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" From: Eli Britstein > 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 Series-acked-by: Matan Azrad > drivers/net/mlx5/mlx5_flow_dv.c | 91 > +++++++++++++++++++++++++++++++---------- > 1 file changed, 69 insertions(+), 22 deletions(-) >=20 > -- > 2.14.5