From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00046.outbound.protection.outlook.com [40.107.0.46]) by dpdk.org (Postfix) with ESMTP id BFF1BF94 for ; Wed, 31 Oct 2018 16:09:45 +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=+uNJPnNuHh4jD0MzFf1WTxiR3I+x62nuMa76fmQfGMU=; b=fEqY/m33kkDm1jE5qth6XW3SgYG5M+yPVhIAIECQC3AzyqV32S25nxVYKKRUeeGyXhRm9t55i+BW4DSVgOoZPb6P7oOiPBB0yMg7tozegMV2x2lgxuZY+YC74WvFYsLFVor0zz8sGe3Q7ofhkavSHNMfWGAO2JaLsTlrg++w7QU= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4187.eurprd05.prod.outlook.com (52.134.107.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.25; Wed, 31 Oct 2018 15:09:44 +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; Wed, 31 Oct 2018 15:09:44 +0000 From: Shahaf Shuler To: Dekel Peled , Yongseok Koh CC: "dev@dpdk.org" , Ori Kam Thread-Topic: [PATCH v7 0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD Thread-Index: AQHUcO/JMoLaKIPpBEKhhNiRmOiEY6U5dXjA Date: Wed, 31 Oct 2018 15:09:44 +0000 Message-ID: References: <1540498108-18358-1-git-send-email-dekelp@mellanox.com> <1540969847-48919-1-git-send-email-dekelp@mellanox.com> In-Reply-To: <1540969847-48919-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; DB7PR05MB4187; 6:PmnqyzSNLFrgZEfaFC5Brg1prluCL60cZaHtXGZ2BYGFGuRpPaw32gItXB66DT1XGTYloijN4s8YIzkFZcbBGSV3vx5yOZZAlmr9/TsB2eIs54F6A2MbTDjBGESdyFwuCksMV9t42t94xWKiL2Dv8oI0YzPydOLLRD8o+cKz9kV6WkLfMusXoqPW5XopSaDuVFx/W+l47fVRfYBx/6BhBQdZBiaysANqRahdeAKpGuOoTNZNdRfUuzEPX1Jcam4mB95r/PX9TjVVQiGBejdDdUq9E9Z0X8Qv7WJcehzdeNBg04k/MCBgdPZFVOX6TQhNZw/rwVhsuSD5LgFbWxfRdTmE5Bq8Uc/fyphPJ9G5LZ/19cYO0u1Invsy1BtkonwzPNZuzJS6pTfSzYzLqRKhSWvSMuHKc0lX+GpR9/ACq4pnDunquc5jxnJGdt3nbwa4fpX4dITBMaRfPnJTckFt6g==; 5:hRc0WnefWM7EISETMcAEWMqawLILgcGB59eiabmzVK+Njyx8dRzrJo9IcUHxT436XzwgknijHLfYCUKxaGL3WDPZ3rg40nR7H5gk35gstkW2ApC0WZ2HVmOZ78/87F5GK5SHS7q7wP1+RVT1DU9nLRxNN7uT6uhYv81qOH1DvPo=; 7:xammPhwA7yAOeyOAsaJO9wayr13JJ7HGD+ayt5L4NlMwcpBsYnk1Qa3WI3bAbmmcUKReCOJPsVI+cxUoy1hQOyY5qnlPSAElMeSSe6vUvX4uWDy0skFBCFrC7aiu4wYxkJl8Ntag2Ips9Qjo+w0YiA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 0d3f2290-f48f-4e0f-c1ca-08d63f42e3e5 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:DB7PR05MB4187; x-ms-traffictypediagnostic: DB7PR05MB4187: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(4982022)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB4187; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4187; x-forefront-prvs: 084285FC5C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(396003)(366004)(39860400002)(199004)(189003)(476003)(86362001)(966005)(14454004)(478600001)(105586002)(102836004)(26005)(106356001)(186003)(6636002)(486006)(81156014)(81166006)(8676002)(4326008)(2900100001)(110136005)(54906003)(25786009)(446003)(97736004)(14444005)(256004)(8936002)(11346002)(68736007)(66066001)(2906002)(316002)(6116002)(71200400001)(33656002)(5250100002)(5660300001)(55016002)(53936002)(6246003)(107886003)(99286004)(3846002)(71190400001)(9686003)(6306002)(74316002)(305945005)(7736002)(76176011)(7696005)(6506007)(6436002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4187; 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: IxWA3BPm5Nzj9+UJtHaEH8DdBOGaTOOKEaNi+UX1DlqJanz6Vf040WIMZ5JY2/qyY7Ea6vOxUrNx8jt1MAVavQGdbVIXZNZSay1677KkL0ASLYFZclKxbRGxBDL0ZUOvy3DCJFPK+UHxQwIA3vaoY8Tpp1k5nMuiURLJ5qhj9pUx8LhBcBu7TUAIkQ39jqItxso0dQuntryFaxk4Om0XiS/VYQvqttBL60VmKxqLFanVCRnOpms+4wVaHpBkvvM2osQC9eRl1Tq1AFxE15jaZCXKY+nX++Bzp75RChlReHqu2Bf5ZH4pgjjXPhTx5D782mzkC+fkzsk1hhM2CvOKQHBUwU0R0Wmu0eQfgxT1vvg= 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: 0d3f2290-f48f-4e0f-c1ca-08d63f42e3e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2018 15:09:44.1579 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4187 Subject: Re: [dpdk-dev] [PATCH v7 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: Wed, 31 Oct 2018 15:09:45 -0000 Hi Dekel, Wednesday, October 31, 2018 9:11 AM, Dekel Peled: > Subject: [PATCH v7 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" > http://mails.dpdk.org/archives/dev/2018-October/114654.html >=20 > --- See final comments, hope the last version will be the last.=20 > 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 | 775 > +++++++++++++++++++++++++++++++++++++++- > drivers/net/mlx5/mlx5_glue.c | 38 ++ > drivers/net/mlx5/mlx5_glue.h | 10 + > 7 files changed, 850 insertions(+), 8 deletions(-) >=20 > -- > 1.8.3.1