From: Andrew Rybchenko Subject: Re: [PATCH v2] mbuf: clarify QINQ flag usage Date: Tue, 2 Oct 2018 13:40:49 +0300 Message-ID: <51fe03da-b3b4-69fd-046a-c2c00ef6dfd5@solarflare.com> References: <20181002101759.10395-1-ferruh.yigit@intel.com> <20181002113642.83514-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: , Hyong Youb Kim , John Daley To: Ferruh Yigit , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , "Marko Kovacevic" , Beilei Xing , Qi Zhang , Olivier Matz Return-path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 5BD1E3977 for ; Tue, 2 Oct 2018 12:41:42 +0200 (CEST) In-Reply-To: <20181002113642.83514-1-ferruh.yigit@intel.com> Content-Language: en-GB 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 10/2/18 2:36 PM, Ferruh Yigit wrote: > Update implementation that when PKT_RX_QINQ_STRIPPED mbuf ol_flags > set by PMD, PKT_RX_QINQ, PKT_RX_VLAN_STRIPPED & PKT_RX_VLAN > should be also set. > > Clarify mbuf documentations that when PKT_RX_QINQ set PKT_RX_VLAN also > should be set. > > So that appllication can rely on PKT_RX_QINQ flag to access both > mbuf.vlan_tci & mbuf.vlan_tci_outer > > Signed-off-by: Ferruh Yigit Reviewed-by: Andrew Rybchenko