From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aSd2RaqqeT6Mw/2fivCVoqqUVEzp4Dd04cEC6IzSpts=; b=Q37t8QWM3JfplFPP3ulbxEGD3oa6r3d7JAh5/jyrHLVqY7II8JZPKrCjxtClJyJhc5 kItNSDA9WUJcpLkTyp3vqApSvwFZXQ4FZkBYRyJvStF/FTmQ4Dw6e+sndWGUFl46jNX5 ELX2Pc5RejFPNTb87NCIeB2pxVt66q1nJ+OgTgx1oXN+RpVFxAAk/0h7KY1Gc5gHq6Sp 9blVZjmIr2Q43FNJX6vnklHeaXdA5bKmnn4m1I1wpTEedboCcroZXD7RUPziE69DV2Pz YsoeHxJokb+jy3OUKPuxUj2j08hD9mE1S9EJHUOVH9vAwCG+i6OYuEXymIQy6IlvodMp z+3g== 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=aSd2RaqqeT6Mw/2fivCVoqqUVEzp4Dd04cEC6IzSpts=; b=oTjgunNJAQk1A3v4StDkXJfjwaZ8nstRrIYZu5yU/to2tYjeILI3APDBni2ICr2seE k0MEb9n2a6pPkkEPo/p2bErJr1v0VEW8mved8okZ3Xqh2b+wtkviEWmvgxCRKcpujQ4s Ls4Jd1Mo1Hb7jDjYxMGQ1szIuzwaAWn2PYFoZrp4Vg8a8adZ6crv4EZqM6fJxE/DXDIN cwlmbMYYrPlnRKhWDmbz4NqUI8eVNIgJSGZ2sTjZ9lazgtKPjyGsXb97Jxo5AezXS6KI hiTRSzvA0nCaF3XpKyvSIiMXRPzMlXZhun/kcmxP6NuMivFRBLAKOkoJcMhOr/L0pKMV Iniw== X-Gm-Message-State: AKGB3mJ4/h0ex+VbicNNEuZR4gp2qpPk6nPXTTOrj9+1jGLP3yBMYOH8 IqZ8sFMd2gENY8SutbnAh/Ck1w== X-Google-Smtp-Source: ACJfBot5NJ3ZMdQ05DBzVGgX5eLFYqR8FppJlZFhQLWoSho8G//o/XiCv6CoFLTphwhbV3IHvi2jEQ== X-Received: by 10.99.184.25 with SMTP id p25mr6389254pge.337.1513200663745; Wed, 13 Dec 2017 13:31:03 -0800 (PST) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id s68sm5023008pfj.81.2017.12.13.13.31.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Dec 2017 13:31:03 -0800 (PST) Date: Wed, 13 Dec 2017 13:31:00 -0800 From: Stephen Hemminger To: chunmei Liu Cc: dev@dpdk.org Message-ID: <20171213133100.530518bd@xeon-e3> In-Reply-To: <1513193552-159561-1-git-send-email-chunmei.liu@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH] fix ceph async messenger runtime bug based on spdk/dpdk 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: Wed, 13 Dec 2017 21:31:04 -0000 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.