From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6EEB42BB9 for ; Wed, 1 Jun 2016 08:42:26 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 31 May 2016 23:42:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,400,1459839600"; d="scan'208";a="819062604" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 31 May 2016 23:42:25 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 23:42:25 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 23:42:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.193]) with mapi id 14.03.0248.002; Wed, 1 Jun 2016 14:42:22 +0800 From: "Xie, Huawei" To: Yuanhan Liu , "dev@dpdk.org" Thread-Topic: [PATCH 3/3] vhost: arrange virtio_net fields for better cache sharing Thread-Index: AdG70L/Kx73/1aJfTwqYg2Ur+qYXpw== Date: Wed, 1 Jun 2016 06:42:21 +0000 Message-ID: References: <1462236378-7604-1-git-send-email-yuanhan.liu@linux.intel.com> <1462236378-7604-4-git-send-email-yuanhan.liu@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 3/3] vhost: arrange virtio_net fields for better cache sharing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2016 06:42:26 -0000 On 5/3/2016 8:42 AM, Yuanhan Liu wrote:=0A= > the ifname[] field takes so much space, that it seperate some frequently= =0A= > used fields into different caches, say, features and broadcast_rarp.=0A= >=0A= > This patch move all those fields that will be accessed frequently in Rx/T= x=0A= > together (before the ifname[] field) to let them share one cache line.=0A= >=0A= > Signed-off-by: Yuanhan Liu =0A= =0A= Acked-by: Huawei Xie =0A= =0A=