From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C15E914E8 for ; Wed, 13 Dec 2017 23:46:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2017 14:46:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,398,1508828400"; d="scan'208";a="183965919" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga005.jf.intel.com with ESMTP; 13 Dec 2017 14:46:31 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.187]) by ORSMSX110.amr.corp.intel.com ([169.254.10.149]) with mapi id 14.03.0319.002; Wed, 13 Dec 2017 14:46:30 -0800 From: "Liu, Chunmei" To: 'Stephen Hemminger' CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] fix ceph async messenger runtime bug based on spdk/dpdk Thread-Index: AQHTdEkn2oCyfZFGwU2hBb+spZvhoKNCUOAA//+OxXA= Date: Wed, 13 Dec 2017 22:46:30 +0000 Message-ID: References: <1513193552-159561-1-git-send-email-chunmei.liu@intel.com> <20171213133100.530518bd@xeon-e3> In-Reply-To: <20171213133100.530518bd@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTM5NGI2M2YtOGEyOC00Nzg0LTg2ZDAtNDE5ODY5ZGMxZDZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJIMVNPd0Z6Rlk3elFpQ2ozZEtRME82STZIb252dldkM2JHRnhkZmJsXC8zWEFKM3BqREJYTGFjRjczY3ViOUZcL1QifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 22:46:33 -0000 Hold on, Let me try another place to fix this issue.=20 -----Original Message----- From: Stephen Hemminger [mailto:stephen@networkplumber.org]=20 Sent: Wednesday, December 13, 2017 1:31 PM To: Liu, Chunmei Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] fix ceph async messenger runtime bug based = on spdk/dpdk On Wed, 13 Dec 2017 11:32:32 -0800 chunmei Liu wrote: > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c=20 > 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, boo= l reset_mbuf) > } > =20 > rte_mbuf_refcnt_set(mb, 1); > + mb->next =3D NULL; > mb->data_off =3D RTE_PKTMBUF_HEADROOM; > =20 This will have measurable performance impact because the next pointer is on= the second cache line.