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 8730A2935 for ; Thu, 5 Oct 2017 11:31:28 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 02:31:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,481,1500966000"; d="scan'208";a="1202504571" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 05 Oct 2017 02:31:26 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.22]) by IRSMSX108.ger.corp.intel.com ([169.254.11.167]) with mapi id 14.03.0319.002; Thu, 5 Oct 2017 10:31:26 +0100 From: "Zhang, Roy Fan" To: "Yang, Zhiyong" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "yliu@fridaylinux.org" , "Yang, Zhiyong" Thread-Topic: [dpdk-dev] [PATCH] virtio: use pointer to replace memcpy Thread-Index: AQHTEkd4y6H3fVAooUKw2AjNcwM/8aLVVLKw Date: Thu, 5 Oct 2017 09:31:25 +0000 Message-ID: <9F7182E3F746AB4EA17801C148F3C60433040AC2@IRSMSX101.ger.corp.intel.com> References: <20170811021318.64276-1-zhiyong.yang@intel.com> In-Reply-To: <20170811021318.64276-1-zhiyong.yang@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2EwNTQ3OWQtYzU4Ni00Zjk3LTg1ZmItMDVhY2ExZTEzMDM5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InFNYmF2c0I2THFIT0ZWQzBibUxwZUJWb3NveXorRmw1UERUeGlRV1o0WGs9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] virtio: use pointer to replace memcpy 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: Thu, 05 Oct 2017 09:31:28 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhiyong Yang > Sent: Friday, August 11, 2017 3:13 AM > To: dev@dpdk.org > Cc: maxime.coquelin@redhat.com; yliu@fridaylinux.org; Yang, Zhiyong > > Subject: [dpdk-dev] [PATCH] virtio: use pointer to replace memcpy >=20 > To use pointer instead of memcpy can save many cycles in the funciton > virtio_send_command. >=20 > cc: maxime.coquelin@redhat.com > cc: yliu@fridaylinux.org >=20 > Signed-off-by: Zhiyong Yang > --- > drivers/net/virtio/virtio_ethdev.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) >=20 Acked-by: Fan Zhang