From patchwork Wed Feb 14 15:37:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrien Mazarguil X-Patchwork-Id: 35180 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 840581B33B; Wed, 14 Feb 2018 16:37:50 +0100 (CET) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 7EF281B33B for ; Wed, 14 Feb 2018 16:37:49 +0100 (CET) Received: by mail-wr0-f193.google.com with SMTP id o76so365696wrb.7 for ; Wed, 14 Feb 2018 07:37:49 -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=O1Dc8RjPzl8nG27jtfFtYpZMkOH/Hsspc/8Pj4oHB1A=; b=ZZuJOs3s6f/wbGufjEMnfNfZ8Rmj+M+oVAuQjV/CeU4+XfV2kga0xlrEk2WBOJiz7T lC2KYmK15cQuld2sb66+c6o7Yp2W9Yu7l07C9xTGATXM9K/t1ePWGQ/j7zNKuDYGZbCs hffoZSCLxh4atDXVR9PtCBs8XfXtySyq7o5b14uQuTVIcu9oMOI1AFA5ydGttjLMXx8Z FWgk9/2Ht2ku5+Oss9UuVPwgRe+7DJtv7MVefuk0RCP3ArzagU/1jpVbqc2xUchu2In8 6wfK/Fgp3ato3PpUZtVOlbqzCJRUeVaHI0cBvROHG7JisieH0KEo9WlC8pLeCEJ5BoPH 1psA== 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=O1Dc8RjPzl8nG27jtfFtYpZMkOH/Hsspc/8Pj4oHB1A=; b=N9OAR9LhOE/zyVT0Xf0VRyzq5Bvcf4+4mJ72OZQ6tZ7TgR1mhaETMtO/OiAVk0fuwN mhnvcgYspK+RNvZy17RF8b0WIymfAia7wG7qmlv8YYs9zOBvDAeHHTVqEAj7ikFOfVqc dqh9B2md1xxS0gnIEiMX22v+IHH6EomCKGgixX/aYaSEsbbECpbZDMxel2qE2MO0YYDS GwdCLmhvjK5AanjvNyHGLbpqkb8cWjnNIkC6fTcj/rqdSBXO/OEXz2Vu7B+4UCgIFIm7 PkTm60BjgFNhspYHFwc5eGI4uzuDmNHQ/88oQfxasGz3Is0anD+wXPjmt/E3xh6A1u4Y cgfw== X-Gm-Message-State: APf1xPD43ls//eeX+9weMKq7ntKxkk3l0M89Bq5B4kByJIkaecQP/smh dMDDjMjSeRfd/kvbN9aLpY9VcQ8t X-Google-Smtp-Source: AH8x224T0lFlXnHheIt8G+jhUZ6PUhuJOZJSbf3hgbw7sWveQjgRVbrIO4X7me6Dc2ocrxmHz0sJNQ== X-Received: by 10.223.161.194 with SMTP id v2mr1930199wrv.48.1518622669278; Wed, 14 Feb 2018 07:37:49 -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 r189sm16181403wmd.39.2018.02.14.07.37.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 07:37:48 -0800 (PST) Date: Wed, 14 Feb 2018 16:37:35 +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-5-adrien.mazarguil@6wind.com> References: <20180214152847.19774-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 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 4/4] doc: announce API change for flow VLAN pattern item 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" This will finally bring consistency to the VLAN pattern item definition, particularly when attempting to match QinQ traffic. Applications relying on TCI and no QinQ shouldn't notice a difference. On the other hand, applications relying on EtherType matching will have to adapt their patterns so they match from outermost to innermost (as on the wire) instead of the current mess (innermost, then outermost to innermost in case of QinQ). 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 77390ce9f..5cd337807 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -77,3 +77,8 @@ Deprecation Notices ``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. + +* rte_flow: VLAN pattern item (``struct rte_flow_item_vlan``) will be + redefined more logically with TCI followed by inner EtherType (wire order) + instead of outer TPID followed by TCI (with inner EtherType part of the + previous pattern item), as the latter results in much confusion.