From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] fix ceph async messenger runtime bug based on spdk/dpdk Date: Wed, 13 Dec 2017 13:31:00 -0800 Message-ID: <20171213133100.530518bd@xeon-e3> References: <1513193552-159561-1-git-send-email-chunmei.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: chunmei Liu Return-path: Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by dpdk.org (Postfix) with ESMTP id ADB321D90 for ; Wed, 13 Dec 2017 22:31:04 +0100 (CET) Received: by mail-pg0-f65.google.com with SMTP id e14so1928498pgr.9 for ; Wed, 13 Dec 2017 13:31:04 -0800 (PST) In-Reply-To: <1513193552-159561-1-git-send-email-chunmei.liu@intel.com> 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 Wed, 13 Dec 2017 11:32:32 -0800 chunmei Liu wrote: > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c > index 1e07895..30fdbc1 100644 > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > @@ -1589,6 +1589,7 @@ ixgbe_rx_alloc_bufs(struct ixgbe_rx_queue *rxq, bool reset_mbuf) > } > > rte_mbuf_refcnt_set(mb, 1); > + mb->next = NULL; > mb->data_off = RTE_PKTMBUF_HEADROOM; > This will have measurable performance impact because the next pointer is on the second cache line.