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 60F32A09D9; Wed, 11 Nov 2020 13:52:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41A90137D; Wed, 11 Nov 2020 13:52:01 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E1411F64 for ; Wed, 11 Nov 2020 13:51:58 +0100 (CET) IronPort-SDR: NMlugrjFMqIiEu4sxX9o3hgztpl4xlXbJ79b4QC2HBC4kbJV9FjYFod9ErJsBhmJrwIuwCPPep EzJQjMHqHLVg== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="170249090" X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="170249090" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 04:51:56 -0800 IronPort-SDR: 2zGsFRZQuws3zFTEtev0bt9KKO7wGSl2qQO8+skdCSD3pgmbXaz7TYOX8uwJ0jg4k59bvKa8lD pszX+Y868+Bw== X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="473840378" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.241.123]) ([10.213.241.123]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 04:51:54 -0800 To: Matan Azrad , Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Ori Kam Cc: dev@dpdk.org References: <1604611973-64970-1-git-send-email-matan@nvidia.com> <1605027999-352513-1-git-send-email-matan@nvidia.com> From: Ferruh Yigit Message-ID: <048235e6-30a8-439e-0fb5-ea568383b343@intel.com> Date: Wed, 11 Nov 2020 12:51:50 +0000 MIME-Version: 1.0 In-Reply-To: <1605027999-352513-1-git-send-email-matan@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] app/testpmd: support age shared action context 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" On 11/10/2020 5:06 PM, Matan Azrad wrote: > When an age action becomes aged-out the next call for > rte_flow_get_aged_flows API should return the action context supplied > by the action configuration structure. > > In case the age action is created by the shared action API, the shared > action context of the Testpmd application was not set. > > In addition, the application handler of the contexts returned by the > rte_flow_get_aged_flows API didn't consider the fact that the action > could be set by the shared action API and considered it as regular flow > context. > > This caused a crash in Testpmd when the context is parsed. > > This patch set context type in the flow and shared action context and > uses it to parse the aged-out contexts correctly. > > Signed-off-by: Matan Azrad > Acked-by: Dekel Peled Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.