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 DF1E8A057B; Wed, 18 Mar 2020 13:09:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC76F25D9; Wed, 18 Mar 2020 13:09:51 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F36B6FEB for ; Wed, 18 Mar 2020 13:09:49 +0100 (CET) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7C9BF5C027A; Wed, 18 Mar 2020 08:09:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 18 Mar 2020 08:09:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=irRTacrcDz4QUzdkvfEoJjHJDvyM4iMhKRi72+vP/0E=; b=Cq+po7ItMUrO zPOmMr0ufUEgbu/l2FtrW6Azz9R1vSCCR02O9xkm3Ol/t3ZcwFer9d23tJZgsJKL 64nKoGgB+gDx+R7+ZEZrP1b69JiW1wnQU4kpc8XGi6pk1kdDxUgYbcvDfLn32Gj9 TJK7SNxiQXiSY19c3FjF2zvfegUvrMc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=irRTacrcDz4QUzdkvfEoJjHJDvyM4iMhKRi72+vP/ 0E=; b=CPo6QhhekxwUbZft1hf1Se9ERGHowvnjamFhQ8YYgaDo0ED1QvHtuuSEO hYmMVdl/ZVlqTmA634JZ3m7tuuwaX3qIihjWcKj0ToG97pnbX9vVXuU8pICZhKpR jZ/Hmr5hTLyzpmXeOwobHcPnd44U+o/hB4rdP78UaQ9xCuuXDAIRYtOQCEabiXvD /lHYWUGol8QbmanL0NXYjWafnMLvxjMMHxjNvzEFJ3d5V7shw3jPmG6zQAAp/M2b nMNneeW65P462zmYobRMXbBcJKgT7x9j4WBWmnII23Sb8cXKi1mKMt+SFwyz3B5Q Z8/BuPRmJuXrWgIbguaFGJ4Gwicjg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefjedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 40E093280065; Wed, 18 Mar 2020 08:09:48 -0400 (EDT) From: Thomas Monjalon To: kaara.satwik@chelsio.com, Rahul Lakkireddy Cc: dev@dpdk.org, nirranjan@chelsio.com, ferruh.yigit@intel.com, orika@mellanox.com Date: Wed, 18 Mar 2020 13:09:47 +0100 Message-ID: <18214127.sIn9rWBj0N@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/9] net/cxgbe: updates for rte_flow support 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" 11/03/2020 10:05, Rahul Lakkireddy: > From: Karra Satwik > > This series of patches contain rte_flow support for matching > Q-in-Q VLAN, IP TOS, PF, and VF fields. Also, adds Destination > MAC rewrite and Source MAC rewrite actions. > > Apart from the 4-tuple (IP src/dst addresses and TCP/UDP src/dst > port addresses), there are only 40-bits available to match other > fields in packet headers. Currently, the combination of packet > header fields to match are configured via filterMode for LETCAM > filters and filterMask for HASH filters in firmware config files > (t5/t6-config.txt). Adapter needs to be reflashed with new firmware > config file everytime the combinations need to be changed. To avoid > this, a new firmware API is available to dynamically change the > combination before completing full adapter initialization. So, 2 > new devargs filtermode and filtermask are added to dynamically > select the combinations during runtime. Please, could you explain why you are using devargs for flow matching, instead of using the common and generic rte_flow API?