From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60086.outbound.protection.outlook.com [40.107.6.86]) by dpdk.org (Postfix) with ESMTP id 0768B1B1F7 for ; Thu, 1 Nov 2018 13:51:47 +0100 (CET) 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=D9zMW+HVtcEpDeXdbYN7ihDTopMB2J6CJUMGtUnBHdU=; b=oumUDEEebvaMjEmCmgwu9nbfgEUctNjBEirlLT3mBdB4Cl3xmXaO1L9RCROlERcliZL0lNwBAztX8mnO4CS4MoUn1/N/6u/BZcqF1013+wsQAP50SfFnXLAsq1yuCRwFJ+0H23S0UNHzuecRD7ZkEvzkhGOZ8nRWDrV1y+RnuBc= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB5067.eurprd05.prod.outlook.com (20.176.236.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.25; Thu, 1 Nov 2018 12:51:47 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973%3]) with mapi id 15.20.1273.027; Thu, 1 Nov 2018 12:51:47 +0000 From: Shahaf Shuler To: Dekel Peled , Yongseok Koh CC: "dev@dpdk.org" , Ori Kam Thread-Topic: [dpdk-dev] [PATCH v8 0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD Thread-Index: AQHUccatkXQoMomGDkywAxgoA56zA6U6xoJQ Date: Thu, 1 Nov 2018 12:51:47 +0000 Message-ID: References: <1540969847-48919-1-git-send-email-dekelp@mellanox.com> <1541065053-28436-1-git-send-email-dekelp@mellanox.com> In-Reply-To: <1541065053-28436-1-git-send-email-dekelp@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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB5067; 6:IY9TgEpsA02cVReW1u+CuNkBt+9rbOaRKCoWETJSrWfa2uyRBQlKR5wH0uurLd4GPy/UG4qvcgyWreK8owRw711f4vjJX5de5de4GbIhUTxfzVHfBwZuBSin8dihjQ7T81YCrTtqMorvxumCWcrmAgAHLkvwb7P6Z5V+FdDXISPj3YC/i8Pl0BZGQ9qXBKTfCNJu9PZaejuLAYWqLHGsBwg3lP+A6D7vtUrDhg9fL6RgHmjO/Kw+ngCZKCYw3UUSrfTJG7h3QDW2xgD5vetKSPOfev1rP5JeoFCAg2Sjd0rveN+Oqw2KmMp4DEHhjY5ucN5eg6YAKUJ2DuP0+fk9g0p4csePPsK+8go+DeqIJrpdpryDQr5VYhbfAdKTRyPUdIl26WtcM6UBY9DZmHcne9w9aLQ+jY37f2oWJkprKNrdO+mFQHEGxSIpM1zeZRp0/xK9u5fwQMyofiCaiDaKlg==; 5:kJu6iRf9jYFVMUf9TBoat+fBZcIhRhiXLreRJ2lxe+1R+M0pR9swuMzI6Lj2UcZgpsdtmYU/3oGIMPjGvU5mPF9LJDKaVBxgZyIV0ZaqY64zPWhnMRXOiJ6pbN66qgKyOGeI4GofWnORgCv+G/XODtocExjeVZ93qBaM5+gcxXw=; 7:5cNNgB2vz7FYVhN0DUQZMhij9fwaXcsOrEiVTV6UiGNHxIovAV3Zxb7j+4sFRoIUXc131PcxbeodCS9da9nAT3b0kcfqI+Dz6rVY8sq26Qy/wCHaP16QmYi1InO+dSNh7qAYmc3ABPL4fJYb2ZvT+A== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: bfb15361-6046-40ae-0a79-08d63ff8c8ce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB5067; x-ms-traffictypediagnostic: DB7PR05MB5067: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(45079756050767)(189930954265078); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231382)(944501410)(4982022)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB5067; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB5067; x-forefront-prvs: 0843C17679 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(376002)(39860400002)(346002)(396003)(199004)(189003)(478600001)(97736004)(6436002)(45080400002)(105586002)(53936002)(966005)(6306002)(106356001)(9686003)(68736007)(66066001)(86362001)(8936002)(33656002)(71190400001)(71200400001)(107886003)(74316002)(14454004)(3846002)(6116002)(11346002)(446003)(476003)(6246003)(229853002)(486006)(26005)(6506007)(102836004)(186003)(305945005)(2900100001)(81166006)(76176011)(81156014)(7696005)(7736002)(6636002)(316002)(110136005)(54906003)(55016002)(2906002)(5250100002)(25786009)(5660300001)(4326008)(256004)(14444005)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5067; H:DB7PR05MB4426.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-microsoft-antispam-message-info: 04y+LIpJqDvgoIPKofYaVzIOrIigSenvXfFf9MOEMN+N3xHnotqsAF871LkYDi20Jjj6CyVCFljY9aydzlfUoClRV+plAYaHlE17gTqc7d9HoTOt0NSaHMxTt7DZhhn4QjkwkMvafAVVxHKPci7tUiHIaLwPMS6xy/8gD+LvVPXVmGSYA3xShNA+eA7ouyKcYBDa95q28KglieQg6j8YsVKEC1hpxSgjg/Ew12OS2Clwbob5iJGFdAXtHbJNGpySDUJX8v1p2yOPjk4vzi64U5qFbry42+o9qGHU2oDTISwg7I41gUdHBxdxFsB9Lvsbic6eNHBBqBz28UBraVaDg9dPq9yRt6EEXT74lwWHG74= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: bfb15361-6046-40ae-0a79-08d63ff8c8ce X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2018 12:51:47.2068 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5067 Subject: Re: [dpdk-dev] [PATCH v8 0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD 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, 01 Nov 2018 12:51:48 -0000 Thursday, November 1, 2018 11:37 AM, Dekel Peled: > Subject: [dpdk-dev] [PATCH v8 0/7] add encap and decap actions to Direct > Verbs flow in MLX5 PMD >=20 > This series adds support of encap and decap actions in DV format. > L2 tunnel support for VXLAN and NVGRE, and L2/L3 tunnel support using raw > data buffer. > It is using the generic encapsulation framework from [1]. >=20 > [1] "ethdev: add generic L2/L3 tunnel encapsulation actions" >=20 > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fmail > s.dpdk.org%2Farchives%2Fdev%2F2018- > October%2F114654.html&data=3D02%7C01%7Cshahafs%40mellanox.com > %7Cfcb2ee95be4d41ce3c6508d63fddcf5d%7Ca652971c7d2e4d9ba6a4d149256 > f461b%7C0%7C0%7C636766619229826892&sdata=3DLgp9Dl3jVsrSAbvrWIe > 6QNfUvdBJir7opduWpcnBvN0%3D&reserved=3D0 There were few compilation issues. Fixed locally, please have a look on the= diff and confirm. Ferruh - please note this patchset depends on the following patch to fix co= mpilation issues: https://patches.dpdk.org/patch/47676/ Series applied to next-net-mlx, thanks.=20 >=20 > --- > v8: > * Apply code review comments. > v7: > * Apply code review comments. > * Add caching of encap decap actions. > v6: > * Adapt L2 tunnel to VXLAN and NVGRE. > * Add encap/decap using raw data. > v5: > * Move DV actions code under common DV flag. > v4: > * Update in glue functions. > v3: > * Apply additional code review comments. > v2: > * Rebase on tip. > * Apply code review comments. > --- >=20 > Dekel Peled (7): > net/mlx5: add flow action functions to glue > net/mlx5: add VXLAN encap action to Direct Verbs > net/mlx5: add VXLAN decap action to Direct Verbs > net/mlx5: add NVGRE encap action to Direct Verbs > net/mlx5: add NVGRE decap action to Direct Verbs > net/mlx5: add raw data encap decap to Direct Verbs > net/mlx5: add caching of encap decap actions >=20 > drivers/net/mlx5/Makefile | 2 +- > drivers/net/mlx5/meson.build | 2 +- > drivers/net/mlx5/mlx5.h | 1 + > drivers/net/mlx5/mlx5_flow.h | 30 ++ > drivers/net/mlx5/mlx5_flow_dv.c | 783 > +++++++++++++++++++++++++++++++++++++++- > drivers/net/mlx5/mlx5_glue.c | 38 ++ > drivers/net/mlx5/mlx5_glue.h | 10 + > 7 files changed, 858 insertions(+), 8 deletions(-) >=20 > -- > 1.8.3.1