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 6FE7FA04E0; Wed, 27 Nov 2019 16:16:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E51632B96; Wed, 27 Nov 2019 16:16:33 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 49DEF28EE for ; Wed, 27 Nov 2019 16:16:33 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BE5F22270E; Wed, 27 Nov 2019 10:16:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Nov 2019 10:16:32 -0500 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=JHRuF7zs+vmgnj7m82LILHmFOwRlzcXPa9vLIlHxTVk=; b=dqy8JUfZ0ERd c7YrmPHdH7nPg77qSpJ3sBPKybF5LY1IVQzXW79RqgCsr6PvDRMjqukq8rST+8hT aUhSMKowx+79hCEeswuHanKEc8IFJx/bHofyfyp1RjrYB9qjArdoL+QOb3WkIT77 ao9eH/n2v7ibQVG5iGC3529I14EID14= 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=fm1; bh=JHRuF7zs+vmgnj7m82LILHmFOwRlzcXPa9vLIlHxT Vk=; b=Rj2o9suIGNVEGeBtu2a6ZYeQz//aoUw7D4qr1XNmDfYcm6/u1IJXvCYMX sCje9o7hSpenN9KLB0hMnVUT7FRJx21KGfWtpfkpoFKA7QJssE3khMGSl/cVsvv8 MAkOwEdgTXzePt5uS56xigNC5MFmDvIw+8laNtd1v4cHEnW/FlAIiBwrjgvEqgLD CtsurCNrQi2hFpJ1xQ2nQzT5krx203lb0PBbeBkZC3IlMIigWIIaYWXqlOfaNwdM PlSPv/1Q1G5Xr2rZxmY8A71ut3DPmhZvfbG/XE8uNuDweGP7zMn792Fu7oYHUbmx lKqhzmWAqCovsMFC1LjynSwMLQX5Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeihedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 4292980064; Wed, 27 Nov 2019 10:16:31 -0500 (EST) From: Thomas Monjalon To: Slava Ovsiienko Cc: dev@dpdk.org, Ori Kam , Matan Azrad , Raslan Darawsheh Date: Wed, 27 Nov 2019 16:16:29 +0100 Message-ID: <2634349.oQx4JvFnxE@xps> In-Reply-To: References: <1574861803-13397-1-git-send-email-viacheslavo@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix default mark copy flow 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" 27/11/2019 14:45, Ori Kam: > From: Viacheslav Ovsiienko > Sent: Wednesday, November 27, 2019 3:37 PM > > > In extensive metadata mode the MARK copy table is engaged, > > if the application creates the flow with zero MARK ID action: > > > > flow create 1 ingress pattern eth / ... / end actions mark id 0 / .. end > > > > And then destroys that, the traffic to the port stops. This happens > > due to default flow for the copy table has the zero ID and is removed > > with the application rule. The patch extends internal ID variable > > to 64 bits and provide the UINT64_MAX ID for the copy table default > > rule. > > > > Fixes: dd3c774f6ffb ("net/mlx5: add metadata register copy table") > > > > Signed-off-by: Viacheslav Ovsiienko > Acked-by: Ori Kam Applied, thanks