From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 014A3A0598;
	Sat, 18 Apr 2020 11:44:48 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 20AAD1E915;
	Sat, 18 Apr 2020 11:44:48 +0200 (CEST)
Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com
 [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id 233721E8FB
 for <dev@dpdk.org>; Sat, 18 Apr 2020 11:44:47 +0200 (CEST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailnew.nyi.internal (Postfix) with ESMTP id 787EA5807A8;
 Sat, 18 Apr 2020 05:44:46 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute7.internal (MEProxy); Sat, 18 Apr 2020 05:44:46 -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=CyjQTPGlWklbl1LlR4/Ff+Om3VkdkpYKaHYCysGcmbc=; b=ohiyj/bhbjW5
 Jdh5kpQ/iyJkcrH0+Rjn48CSoesesANKNliX1UsdizHSTo70TE2zYhQbJ4J2z1tM
 D2HhqhrhZdDZD+DljGytrHkaduqsb0ZbIIOi7+gIMPNHwqtRyCbHxt8OmvfGxHPN
 aO8G5DZNuUf3qqDdP+2JH5trJVFoIF4=
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=CyjQTPGlWklbl1LlR4/Ff+Om3VkdkpYKaHYCysGcm
 bc=; b=G3FSvPd03U5ELvrMxxptTpj34FYahX9kYk9dSc9gbsMTpGWi2gj3WoeVQ
 6TxSHHAYIjxSrmLzyLytbkGTzXyQ551WyfBpi8l2a7Y6bh+wSwZHChzS+GYTMqMW
 +YvEkepd+AidsP3jatmJoX1MUklEtYNMIJm6iRGxvlysdJc05roHUVIzfKUBv0dE
 nmysOrzO+SqSlsNqau23u6BY/sCB/SF/IcMAot1B3wSupT97YDPETjkhuPuVIRkG
 6wmauSm7aUF6WLequ78SxNSm0tlvwAjoJlSHuE2wyTUTOTx5nsXJJmcCGa+0fIhU
 6hI/x4SVdKgV3ploJrJ6PZnXDmthw==
X-ME-Sender: <xms:DcyaXgPbAEwiWylAVEMMILGwuyAloa75ZAn9K-YLRkDcvz3G-Gi1Tg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeelgddvudcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs
 ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph
 epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:DsyaXsQnWWx0qBLBys3UHgwKGVytFYm8WqaEak_XU_HS0OSm8mDF9w>
 <xmx:DsyaXjX-LTlZITvgPobRGgXOSZTD-eZUUrXokeO3Bj7rv1GXy1TtwA>
 <xmx:DsyaXlS9Ydfo_wxQKXqMyZbIiIgYQ0pjmgz1w0var4zTxzKn3e6msQ>
 <xmx:DsyaXswpDHHTfajhXxCSirDH1YE1_PGjwq6atmbhFPyvwJKB723JEA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id D4209306005C;
 Sat, 18 Apr 2020 05:44:44 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ferruh Yigit <ferruh.yigit@intel.com>, Ori Kam <orika@mellanox.com>,
 Matan Azrad <matan@mellanox.com>,
 "wenzhuo.lu@intel.com" <wenzhuo.lu@intel.com>,
 "jingjing.wu@intel.com" <jingjing.wu@intel.com>,
 "bernard.iremonger@intel.com" <bernard.iremonger@intel.com>,
 "john.mcnamara@intel.com" <john.mcnamara@intel.com>,
 "marko.kovacevic@intel.com" <marko.kovacevic@intel.com>,
 "arybchenko@solarflare.com" <arybchenko@solarflare.com>,
 Bill Zhou <dongz@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Date: Sat, 18 Apr 2020 11:44:43 +0200
Message-ID: <4860948.CpGBqz00pN@thomas>
In-Reply-To: <VI1PR0502MB2943C461EB37B48E775977D9DDD60@VI1PR0502MB2943.eurprd05.prod.outlook.com>
References: <20200410094631.31330-1-dongz@mellanox.com>
 <192e2e54-17fe-5444-1917-3982837f6e5c@intel.com>
 <VI1PR0502MB2943C461EB37B48E775977D9DDD60@VI1PR0502MB2943.eurprd05.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

18/04/2020 07:04, Bill Zhou:
> From: Ferruh Yigit <ferruh.yigit@intel.com>
> > On 4/14/2020 9:32 AM, Dong Zhou wrote:
> > > --- a/lib/librte_ethdev/rte_ethdev.h
> > > +++ b/lib/librte_ethdev/rte_ethdev.h
> > > @@ -3015,6 +3015,7 @@ enum rte_eth_event_type {
> > >  	RTE_ETH_EVENT_NEW,      /**< port is probed */
> > >  	RTE_ETH_EVENT_DESTROY,  /**< port is released */
> > >  	RTE_ETH_EVENT_IPSEC,    /**< IPsec offload related event */
> > > +	RTE_ETH_EVENT_FLOW_AGED,/**< New aged-out flows is detected
> > */
> > >  	RTE_ETH_EVENT_MAX       /**< max value of this enum */
> > >  };
> > 
> > 
> > Just recognized that this is failing in ABI check [1], as far as last time for a
> > similar enum warning a QAT patch has been dropped, should this need to
> > wait for
> > 20.11 too?
> 
> This patch is commonly used for flow aging, there are 2 other patches have 
> implement flow aging in mlx5 driver reply to this patch.
> In our schedule, this feature is merged in 20.05 for some customers. Can it
> be fixed?

These MAX values in enums are a pain.
We can try to think what can be done, waiting 20.11.
Not sure there is a solution, except hijacking an existing value
not used in the PMD, waiting the definitive value in 20.11...