From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48])
 by dpdk.org (Postfix) with ESMTP id A22538D96
 for <dev@dpdk.org>; Mon,  2 Nov 2015 23:52:34 +0100 (CET)
Received: by wmeg8 with SMTP id g8so71363239wme.0
 for <dev@dpdk.org>; Mon, 02 Nov 2015 14:52:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind_com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:organization:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding
 :content-type; bh=+8M01X4qYOqiYuV66lhMVjpJB9HF/nZwRTkwiAT0Cp8=;
 b=VQIpJFgeRuTOI3JvRXZnBAVEjMvDCcwhGmbuO7C442QC/XUDLSS8+es88T8UbN5aUI
 rSrFPgxAV2nBVdLzZACjgqbCpjpfYR3MaQiSyzyXlGQVpWjqVKaIoFqsadm+i/ghclxZ
 sgGMybID8F3AhONl8dOfGKL16i3styM72WnTcXl1VfaI/m6QkEBlVv2zKD++llOUMpnq
 dbcteoQKRQdhZgLXX5wGNcxwIW3EHOqnNnzAvJDxvXYFN2nlIfP4hrHPJisYShgOTKpQ
 DWDZQIcNIXJLKiEOofLzyqF/I/hhcYpyUmeSaW5i1RCKO/P2WWEiCDWm+j5MGmpYvDMj
 gw6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=+8M01X4qYOqiYuV66lhMVjpJB9HF/nZwRTkwiAT0Cp8=;
 b=Nv1fE4T03PbMv97rQjKKR7thzbnccw2SvnEJW1sHbevZpEUEbrrwh6GIS72gO1iIyC
 JLLa9cLjhkalwk2Md7kAeifiHtAisZnIw3Fikf7dk406Sv9DGj3WSAf3L2tjqIk2v4c5
 TxzI/u+kBrunekp349XMTvKYTtcIpZlxxSlbeAHi2GEgzrGckcb0NdnYVbEpfaE3H/Eb
 q+di7kwFXW2cEruh1x2KhauD6meT6qCGJ40ZWe9jYDcE1amWmIalnDXcreU2Fj6rjjM7
 z1c7DS3AFcueCa9jWw/WGrpqqTYnk1qonVOrPI6/9RGGIR6sLdRu4vyAKYVAl/JoxJy+
 JqxA==
X-Gm-Message-State: ALoCoQlzUoeaOImgFpUY2ue+W1MQZgFRTbR4qETx3mFBZG8zA6Wastv4jttHS5IGq22ouReExXBJ
X-Received: by 10.28.132.69 with SMTP id g66mr15185154wmd.69.1446504754502;
 Mon, 02 Nov 2015 14:52:34 -0800 (PST)
Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net.
 [82.235.116.147])
 by smtp.gmail.com with ESMTPSA id e9sm24714352wjw.8.2015.11.02.14.52.33
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 02 Nov 2015 14:52:33 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "shesha Sreenivasamurthy (shesha)" <shesha@cisco.com>,
 Arnon Warshavsky <arnon@qwilt.com>
Date: Mon, 02 Nov 2015 23:51:23 +0100
Message-ID: <2014794.RrzFoKiHXW@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <D25D1EA7.24E21%shesha@cisco.com>
References: <D2599541.24CA8%shesha@cisco.com>
 <CAKy9EB2W9txt-w1MS-WUpZrefU+K9T7P3nMtnAr41EjEbzz+Pg@mail.gmail.com>
 <D25D1EA7.24E21%shesha@cisco.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Reshuffling of rte_mbuf structure.
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Nov 2015 22:52:34 -0000

This discussion is about improving performance of specific use cases
by moving the mbuf fields when needed.
We could consider how to configure it and how complicated it would be to
write applications or drivers (especially vector ones) for such a moving
structure.
But it is simpler to say that having an API depending of some options
is a "no-design" which could seriously slow down the DPDK adoption.
You can have a different opinion but I cannot imagine how strong must be the
arguments to make it happen.