From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 5B2091B317 for ; Wed, 14 Feb 2018 16:37:47 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id b21so22725874wme.4 for ; Wed, 14 Feb 2018 07:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=q26taWB2v+z5KlBsoI+3+14eDExQId1bj+siwJWn2Nw=; b=HyrGvH8N/bYjpfSPGZvtDRdjmmck45SnoQlgcumBrvUEjlnPLTyvzew4phxRTXve+F 6DvzwPSeBDfAfC9Uwv94ghqqzwDs176zdFuD6ml8slRpLlAJfGnMeoBOOsOnzhMPpTm8 eyKIFe8XlvxeYfRizpIGqODwnpuJtVHyCx9k+U99I6n1gQf9t7P7bzp/9GPV5nw2jObq 0vemLM74cm5HZzJ9xYc4soOY4stCtveyX2dXvMAi4+iSJliwLwGGu21Wjd9W8TSn4y3J fz6cUJ4joklk/kSFUfxhMsiT0bc4wgxJWIr3FfCsFwNlO34wVePa4LZ99Cz5f+kF/3Rt 7hQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=q26taWB2v+z5KlBsoI+3+14eDExQId1bj+siwJWn2Nw=; b=srm0ElJ58MlZm2RUKtoUjygCQ4Go78IhXF7GlhWWw1N0QAgZcRn0jGa1+JNfxVKBMD eCC++y05/OjQy3tFtQlO6sPlfO83h8p8/9jTB2cMfoEAfx5Btx2NUzdTZSqzYA+Y5AJS ljyfbZM2Pet9gBQ1E8f0eS7VEEoR0q4EWOhb6E9Yr8KMINtxXFtR/emywLp7GWq3gUby afvO7aVesyEuHyoB0c9vZG4f5l1zn14hhId6ebezG7uv6L6rgosyJFRe3yqimuxt7ibI ZYHng+xSteNvauwqZJYJ0oRgHumNLYUVX/hFgPPegsLo5mWVqUbjue5T/V6IcIM9OOrE BgyQ== X-Gm-Message-State: APf1xPDYpyK+7512Z7Xge3/X2O1ZcUzpb8JgPQyXmNUZ4vVolKFoaPrh U8J+caFkYk8bNT+BrQXTGv1kGw== X-Google-Smtp-Source: AH8x226TB3EQAwcfTuoXkCi66LbSdjqBLruiKzWEOlt6FwEu94uVCksabzjHkHnV4mFUV1PiMQr5Yw== X-Received: by 10.28.144.197 with SMTP id s188mr4813576wmd.51.1518622667043; Wed, 14 Feb 2018 07:37:47 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id v5sm16172392wra.94.2018.02.14.07.37.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 07:37:46 -0800 (PST) Date: Wed, 14 Feb 2018 16:37:33 +0100 From: Adrien Mazarguil To: Neil Horman Cc: Ferruh Yigit , dev@dpdk.org, "Doherty, Declan" , Shahaf Shuler , "John Daley (johndale)" , Nelio Laranjeiro , "Xueming(Steven) Li" , Thomas Monjalon Message-ID: <20180214152847.19774-4-adrien.mazarguil@6wind.com> References: <20180214152847.19774-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180214152847.19774-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v1 3/4] doc: announce API change for flow RSS/RAW actions 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: , X-List-Received-Date: Wed, 14 Feb 2018 15:37:47 -0000 C99-style flexible arrays were a bad idea for this API. This announces a minor API/ABI change to remove them. Signed-off-by: Adrien Mazarguil --- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 40b76b391..77390ce9f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -72,3 +72,8 @@ Deprecation Notices rte_eth_rss_conf`` due to its limitations. All parameters, including the currently missing hash function to use will be made part of ``struct rte_flow_action_rss`` directly. + +* rte_flow: C99-style flexible arrays in ``struct rte_flow_action_rss`` and + ``struct rte_flow_item_raw`` will be replaced by standard pointers to the + same data. They proved difficult to use in the field (e.g. no possibility + of static initialization) and are unsuitable for C++ applications. -- 2.11.0