From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0067.outbound.protection.outlook.com [104.47.2.67]) by dpdk.org (Postfix) with ESMTP id 284A76CA2 for ; Thu, 26 Apr 2018 08:23:48 +0200 (CEST) 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; bh=pJb2UiMGNhx7kH5x9dIERh8Cg8fJZ64vFk1fZQq4JtE=; b=Jnce+QeBdMC8Fqh+LlCPbLGQXuUUxflhljWqBqNhNpLH/dXkn/D54kA6gH60DKR7Zf2BF+YHXl1udcqk+RfYcjs+16sumFMP5sXRJGWRTl55UhC/L7DbU5sRgpMjci41moo2avSY6VYG+nBLB2n2OMSlHjaL3rK+tchwh/7RxZA= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4361.eurprd05.prod.outlook.com (52.134.108.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Thu, 26 Apr 2018 06:23:46 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0696.019; Thu, 26 Apr 2018 06:23:46 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Xueming(Steven) Li" CC: "dev@dpdk.org" Thread-Topic: [PATCH v6 00/11] mlx5 Rx tunnel offloading Thread-Index: AQHT26WQKYieQlzyHkuvYwSgchs0BaQSltgg Date: Thu, 26 Apr 2018 06:23:46 +0000 Message-ID: References: <20180420122340.113348-1-xuemingl@mellanox.com> <20180423123310.32991-1-xuemingl@mellanox.com> <20180424082430.qksxomxm7dh425df@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180424082430.qksxomxm7dh425df@laranjeiro-vm.dev.6wind.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=shahafs@mellanox.com; x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4361; 7:Q2+BOZ4blUCu1pA1zhazHC18rhk1FHHiAwg6LWKkY3l41X41vo1E6ip4EyhG6BOvxFPoFRsmvS+4Vft1e1KtmN23YfCO7cLmwsyxOI7q1wz81DC5ebd7DtvP3Tynqo6B/BzGAwulJUNq7R5Hovhf8PXVJ4jJoL3tmzZiKJW1x7FJ4NQIw7plDmTLjI61fWouwl29GA2APiptBwL4E0KKn/dT8+/xNT1reXiutPjxSeSw+AHXWtMd8KMxgF53CKbm x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4361; x-ms-traffictypediagnostic: DB7PR05MB4361: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231232)(944501410)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB7PR05MB4361; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4361; x-forefront-prvs: 0654257CF5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(39860400002)(396003)(39380400002)(52084003)(189003)(199004)(7736002)(14454004)(6636002)(2900100001)(486006)(11346002)(476003)(446003)(26005)(33656002)(2906002)(97736004)(102836004)(99286004)(8676002)(186003)(305945005)(74316002)(81166006)(81156014)(7696005)(8936002)(5660300001)(105586002)(3280700002)(106356001)(3660700001)(6506007)(66066001)(3846002)(6116002)(76176011)(110136005)(229853002)(59450400001)(6246003)(68736007)(478600001)(45080400002)(86362001)(4326008)(55016002)(5250100002)(9686003)(6306002)(6436002)(25786009)(53936002)(316002)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4361; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 571GS//KLfhAqrfzKa4qSBGtwMNlBlEWhFo2FHeTvwiQ94y+t0fU5yx/0BN3Zy+tSWCdmVvryq3lQDIrT7aKLv07MkMTzqpISZOgUYkkxfCrDKFzCUuCjv2RzehvOdW+iqBnjqCPkyT6glPgNBR7PNxeciHn/L5jvyjpaulKlp7Am6X1jsbrgNdSc0f9A0fT spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 06764ca7-ca02-4750-0a01-08d5ab3e442d X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06764ca7-ca02-4750-0a01-08d5ab3e442d X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2018 06:23:46.2292 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4361 Subject: Re: [dpdk-dev] [PATCH v6 00/11] mlx5 Rx tunnel offloading 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: , X-List-Received-Date: Thu, 26 Apr 2018 06:23:48 -0000 Tuesday, April 24, 2018 11:25 AM, N=E9lio Laranjeiro: > Subject: Re: [PATCH v6 00/11] mlx5 Rx tunnel offloading >=20 > On Mon, Apr 23, 2018 at 08:32:59PM +0800, Xueming Li wrote: > > > > Important note: > > please note that this patchset relies on Adrien's patchset of f= low API > > overhaul: > > > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fww > w. > > > dpdk.org%2Fdev%2Fpatchwork%2Fpatch%2F38508%2F&data=3D02%7C01%7Cs > hahafs%4 > > > 0mellanox.com%7Ccd5e14a1081b4b4d06ee08d5a9bcb19c%7Ca652971c7d2e4 > d9ba6a > > > 4d149256f461b%7C0%7C0%7C636601550259090665&sdata=3DcCj7YufX7oNyl9J > %2FC4C > > zKJM3UPoD5S5QJpAG1SkNMBA%3D&reserved=3D0 > > v6: > > - Fixed commit log of tunnel type identification > > v5: > > - Removed %lx prints > > - Per review request, clear mbuf tunnel type in case of multiple tunnel > types. > > - Rebase on Adriens flow API overhaul patchset > > - Split feature requirement document into patches of L3 VXLAN and > > VXLAN-GPE > > - Per review request, add device parameter to enable L3 VXLAN and > > VXLAN-GPE > > v4: > > - Fix RSS level according to value defination > > - Add "Inner RSS" column to NIC feature doc > > - Fixed flow creation error in case of ipv4 rss on ipv6 pattern > > - new patch: enforce IP protocol of GRE to be 47. > > - Removed MPLS-in-UDP and MPLS-in-GRE replated patchset > > - Removed invalid RSS type check > > v3: > > - Refactor 16 Verbs priority detection. > > - Other updates according to ML discussion. > > v2: > > - Split into 2 series: public api and mlx5, this one is the second. > > - Rebased on Adrien's rte flow overhaul: > > > > > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fww > w. > > dpdk.org%2Fml%2Farchives%2Fdev%2F2018- > April%2F095774.html&data=3D02%7C01 > > > %7Cshahafs%40mellanox.com%7Ccd5e14a1081b4b4d06ee08d5a9bcb19c%7C > a652971 > > > c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636601550259090665&sdata=3DPO > Air3I7R > > 45xtoemp8dQ%2BZt6YYePWS%2FHezXQbBQgbQY%3D&reserved=3D0 > > v1: > > - Support new tunnel type MPLS-in-GRE and MPLS-in-UDP > > - Remove deprecation notes of rss level > > > > This patchset supports MLX5 Rx tunnel checksum, inner rss, inner ptype > offloading of following tunnel types: > > - Standard VXLAN > > - L3 VXLAN (no inner ethernet header) > > - VXLAN-GPE > > > > Xueming Li (11): > > net/mlx5: support 16 hardware priorities > > net/mlx5: support GRE tunnel flow > > net/mlx5: support L3 VXLAN flow > > net/mlx5: support Rx tunnel type identification > > net/mlx5: cleanup tunnel checksum offloads > > net/mlx5: split flow RSS handling logic > > net/mlx5: support tunnel RSS level > > net/mlx5: add hardware flow debug dump > > net/mlx5: introduce VXLAN-GPE tunnel type > > net/mlx5: allow flow tunnel ID 0 with outer pattern > > doc: update mlx5 guide on tunnel offloading > > > > doc/guides/nics/features/default.ini | 1 + > > doc/guides/nics/features/mlx5.ini | 3 + > > doc/guides/nics/mlx5.rst | 30 +- > > drivers/net/mlx5/Makefile | 2 +- > > drivers/net/mlx5/mlx5.c | 24 + > > drivers/net/mlx5/mlx5.h | 6 + > > drivers/net/mlx5/mlx5_flow.c | 844 > +++++++++++++++++++++++++++------- > > drivers/net/mlx5/mlx5_glue.c | 16 + > > drivers/net/mlx5/mlx5_glue.h | 8 + > > drivers/net/mlx5/mlx5_rxq.c | 89 +++- > > drivers/net/mlx5/mlx5_rxtx.c | 33 +- > > drivers/net/mlx5/mlx5_rxtx.h | 11 +- > > drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 21 +- > > drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 17 +- > > drivers/net/mlx5/mlx5_trigger.c | 8 - > > drivers/net/mlx5/mlx5_utils.h | 6 + > > 16 files changed, 896 insertions(+), 223 deletions(-) > > > > -- > > 2.13.3 > > >=20 > I think we have caught almost all issues, if something remains fixes can > be added. >=20 > Acked-by: Nelio Laranjeiro Series applied to next-net-mlx, thanks.=20 >=20 > -- > N=E9lio Laranjeiro > 6WIND