From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f178.google.com (mail-wr0-f178.google.com [209.85.128.178]) by dpdk.org (Postfix) with ESMTP id E76C62FDD for ; Tue, 18 Apr 2017 15:04:23 +0200 (CEST) Received: by mail-wr0-f178.google.com with SMTP id l28so101900209wre.0 for ; Tue, 18 Apr 2017 06:04:23 -0700 (PDT) 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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ga7W4tsS1dhc8ZDby2bp18yVWOsPA9n08o7dS6lJCBc=; b=GxX6nU3uWua4v8ks98A/JugpkBmt5maqY6Y+zgIH3lDAnvJiDEvwn+a+g0xYUtUwFD anYsrDQpHqP3G/tTJZCa2zd01TTXWsIbdn51xGaMe6J/i3SkAX/cpEAGSacqQhCw/3MA FSLlMvkRgLRSyu0aeOwB/BKRABYcB+7uyDFgFtS4dG484ArpRviJjeoU1v+kblWhJo1z yvM1uFqHJFrkPDxMSql5GFakLqDqnpmunfDKT5zbDOdJSm8UFCWoih+IL2lIMdi7j4aX 2MPcukYVpA6EC8IW3meS8Sh3fsJGILt3uhUeEVgDBaLeIK2nNruMI1H+q16PqpSxAlQB IQgw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ga7W4tsS1dhc8ZDby2bp18yVWOsPA9n08o7dS6lJCBc=; b=PQ5DAxM7E8cR7CtN1J+v4AAl4lS15fVZHQGxNuqXyJEWAW9gro0FTiL5T5lcTbkRvW +2eB003DcI0JmhZUOxOr4lxsZyZ7R91qjmPDbceelH8m/d/KGywBGXgcx3CYKvNphnom 5HtMteNLdWl6uKUHwAPB5WdhXs8m5HVqg2it3kJf9EEu29SR0FAbWcI1vVYEaAOLajiT iOT2MMpjGDgJMWguygURRoWZekW3OdvZ2Qm3FNga5rMfNDGWiUOVXEYPT+f/rfZPNBO0 yEvCBux7d1Mbp+jRkpzD5qke2RHw525UUoTc6DHJDt37echok4gsIp2mxMktkSdDtY3X +fxw== X-Gm-Message-State: AN3rC/5+3qB1uv9BETbp7P6/IcNF0RL8xnw/7qHPhfIeTj3A2MrAxMTK 659neueDI98eaZB4 X-Received: by 10.223.165.5 with SMTP id i5mr22402073wrb.13.1492520663596; Tue, 18 Apr 2017 06:04:23 -0700 (PDT) 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 j185sm14915023wmg.23.2017.04.18.06.04.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Apr 2017 06:04:23 -0700 (PDT) Date: Tue, 18 Apr 2017 15:04:48 +0200 From: Olivier MATZ To: Ferruh Yigit Cc: Thomas Monjalon , dev@dpdk.org, konstantin.ananyev@intel.com, bruce.richardson@intel.com, mb@smartsharesystems.com, andrey.chilikin@intel.com, jblunck@infradead.org, nelio.laranjeiro@6wind.com, arybchenko@solarflare.com, jerin.jacob@caviumnetworks.com Message-ID: <20170418150448.49b9934f@glumotte.dev.6wind.com> In-Reply-To: <2ead9890-5759-5c31-1805-588967c7cbf2@intel.com> References: <1488966121-22853-1-git-send-email-olivier.matz@6wind.com> <20170404162807.20157-1-olivier.matz@6wind.com> <2948467.vjfs1XSdfO@xps13> <2ead9890-5759-5c31-1805-588967c7cbf2@intel.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 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, 18 Apr 2017 13:04:24 -0000 Hi Ferruh, On Fri, 14 Apr 2017 14:10:33 +0100, Ferruh Yigit wrote: > On 4/5/2017 10:37 AM, Thomas Monjalon wrote: > > 2017-04-04 18:27, Olivier Matz: > >> Based on discussions done in [1] and in this thread, this patchset reorganizes > >> the mbuf. > >> > >> The main changes are: > >> - reorder structure to increase vector performance on some non-ia > >> platforms.! > >> - add a 64bits timestamp field in the 1st cache line. This timestamp > >> is not normalized, i.e. no unit or time reference is enforced. A > >> library may be added to do this job in the future. > >> - m->next, m->nb_segs, and m->refcnt are always initialized for mbufs > >> in the pool, avoiding the need of setting m->next (located in the > >> 2nd cache line) in the Rx path for mono-segment packets. > >> - change port and nb_segs to 16 bits > >> - move seqn in the 2nd cache line > > > > Applied, thanks for the long work > > > > <...> > > >> Once this patchset is pushed, the Rx path of drivers could be optimized a bit, > >> by removing writes to m->next, m->nb_segs and m->refcnt. The patch 4/8 gives an > >> idea of what could be done. > > Hi Olivier, > > Some driver patches already received for this update, but not all yet. > > Can you please describe what changes are required in PMDs after this > patch? And what will be effect of doing changes or not? Yes, I will do it. > Later we can circulate this information through the PMD maintainers to > be sure proper updates done. That would be good. Do you know what will be the procedure to inform the PMD maintainers? Is there a specific mailing list? Thanks, Olivier