From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v7] net/mlx5: support metadata as flow rule criteria Date: Wed, 24 Oct 2018 09:49:24 +0100 Message-ID: <94d7f873-40f4-d6c0-fde0-c7800bb87b66@intel.com> References: <1540291695-46146-1-git-send-email-dekelp@mellanox.com> <1540323249-61439-1-git-send-email-dekelp@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Ori Kam To: Shahaf Shuler , Dekel Peled , Yongseok Koh Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D1E425F13 for ; Wed, 24 Oct 2018 10:49:27 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/24/2018 7:12 AM, Shahaf Shuler wrote: > Hi Ferruh, > > This patch contains a fix for compilation on top of arm. > I hopped to replace between the existing "support metadata as flow rule criteria" to this one before you take it, but I was too late. > Can you please replace the old patch with this one? Replaced in repo. > Otherwise we will provide a separate fix patch for this issue. > > > Tuesday, October 23, 2018 10:34 PM, Dekel Peled: >> Subject: [dpdk-dev] [PATCH v7] net/mlx5: support metadata as flow rule >> criteria >> >> As described in series starting at [1], it adds option to set metadata value as >> match pattern when creating a new flow rule. >> >> This patch adds metadata support in mlx5 driver, in two parts: >> - Add the validation and setting of metadata value in matcher, >> when creating a new flow rule. >> - Add the passing of metadata value from mbuf to wqe when >> indicated by ol_flag, in different burst functions. >> >> [1] "ethdev: support metadata as flow rule criteria" >> >> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail >> s.dpdk.org%2Farchives%2Fdev%2F2018- >> September%2F113269.html&data=02%7C01%7Cshahafs%40mellanox.co >> m%7Cdd41e32e0904475b253708d63921cd6b%7Ca652971c7d2e4d9ba6a4d149 >> 256f461b%7C0%7C0%7C636759214682359808&sdata=QgVXYva4uv%2FA >> GcrofzbIIlxHpdR1cOfDw2BACO0s6wY%3D&reserved=0 >> > > Acked-by: Shahaf Shuler > >> --- >> v7: >> - Fix use of wrong type. >> v6: >> - Correct indentation. >> - Fix setting data in matcher to include mask. >> v5: >> Apply code review comments: >> Coding style (indentation, redundant blank lines, clear comments). >> txq_calc_offload() logic updated. >> rte_be32_t type used instead of uint32_t. >> v4: >> - Rebase. >> - Apply code review comments. >> v3: >> - Update meta item validation. >> v2: >> - Split the support of egress rules to a different patch. >> --- >> >> Signed-off-by: Dekel Peled <...>