From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 02DC058CF for ; Tue, 21 Feb 2017 10:54:02 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id c85so104983114wmi.1 for ; Tue, 21 Feb 2017 01:54:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wBt7orJfi3EoGs4bC0vzLprjqbNGliByGUwVqBQ9GQM=; b=U76deOI4He4dF2ckEv9//QywPAehscTfrKYOTsX12yxZU6E27tkRunVrkugcRJytck qf4xg9iyrYHp+yOvnVQj4Ojfjodv5IUIjWHQNevHRDzAPZvp5fIB/2/lg67WmwCxcVz0 t7O8mhyQ6+q2/+sCZIIL6GGM68/QZVGvE0SuZlMvAwFhrMEd6eqNqRph2u10f1VS4E8e mdQZ1S8ci7BzYK4ceoDhCmFauQLfNIOatFHf6+31rhywvefDFjwmG8gq04JYrGcdGga+ S3e1CeEsP4/Ft7P7flbJPI3e0Xza/Gx5Z9JSq3bwpWHHUU7h0RZkn9Vqb4xohxVKuaOF JtNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wBt7orJfi3EoGs4bC0vzLprjqbNGliByGUwVqBQ9GQM=; b=WtxK7qIsOOXHn7zmCyjm+oK4rdv7uHb6b9ZozhdhInzrHinoH/1r1xzWKBE/vn02Ak eu/BOWfCz1zqeZmB7sTYTlm4yza7gn0sBzuvtnEKI2xjGXK0phg9AK/TSehnyEYZei9j MALrFAz+lBPM7/S+OYfez7m91rTt6R76k5DhxZJhbU21FoQldGbnT5RQ/E1zoj7vmfna JrRrn19MUrn69SLQH8W9TaAnjaPv2/VsCc9DhgaY7X6XUWupc6zd6rVlRXU4PYyMPyVb UhYJEheiGrzKWCsG1PvvA/dShMrio9w46PlT0A3ccFGRmxp51r69tsYvV+MOPN5d3h5I Ysng== X-Gm-Message-State: AMke39njZIpTUMuyQ5Uo63T6EL8uDtTJZ662L1RoXlYTKaucBjmnNeYQNASAIFpccdH1/3vJ X-Received: by 10.28.38.2 with SMTP id m2mr23454305wmm.44.1487670842526; Tue, 21 Feb 2017 01:54:02 -0800 (PST) Received: from glumotte.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id z80sm20408700wrc.24.2017.02.21.01.54.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Feb 2017 01:54:02 -0800 (PST) From: Olivier MATZ X-Google-Original-From: Olivier MATZ Date: Tue, 21 Feb 2017 10:53:54 +0100 To: "Chilikin, Andrey" Cc: Olivier Matz , "Ananyev, Konstantin" , "Richardson, Bruce" , "dev@dpdk.org" Message-ID: <20170221105354.65cb5c7d@glumotte.dev.6wind.com> In-Reply-To: References: <1485271173-13408-1-git-send-email-olivier.matz@6wind.com> <2601191342CEEE43887BDE71AB9772583F111A29@irsmsx105.ger.corp.intel.com> <20170216144807.7add2c71@platinum> <20170216154619.GA115208@bricha3-MOBL3.ger.corp.intel.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 0/8] mbuf: structure reorganization 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: Tue, 21 Feb 2017 09:54:03 -0000 Hi Andrey, On Sun, 19 Feb 2017 19:04:58 +0000, "Chilikin, Andrey" wrote: > While doing this fields reshuffling, any chance to put uint16_t > vlan_tci_outer beside uint16_t vlan_tci? It will allow to treat QinQ > tags as a single 32-bit tag, if needed, and use it for other > tag/labels like MPLS, GRE, NSH which could be 20, 24, 32 bits wide. > Merging Vlan is a good idea, and it looks it's feasible, so I'll add it in next version. About using the same field for other tags/labels, I'm a bit more reserved as of now, but it's another debate :) Thanks, Olivier