From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id B9AC67D4E for ; Fri, 6 Oct 2017 08:29:59 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 2A49613D4; Fri, 6 Oct 2017 02:29:59 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 06 Oct 2017 02:29:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=7AL7BQ7wlSelh6BeEEesNQRdejF1xhAHLI2xjVfXt NE=; b=fc/1gFJhLlcOG5zeX24y+cSs+31qY84jJoI+FUQMDjbXO9Dhz8ukH3j+P nziAUPH5igri0nG1qdVWSIVbzIFpFFE2zTQ5KNdK7uYWTpKlkd/QMJrP7Yq0B9kJ EC9RZR6IeuPH8p8zBa86GC3O5ge5zQGt6CMs7RPe8uL7UkA1IQvau5TMNq+4ZNge b+imwm2okha5VGaTsBO6yFSP0trmCNEYucDMtPe0oPHrBWhH+afY4CGW2naOM2hS E0FVXe1WqI2F41Nap4+zK9DQd+WFyJWpHRgvbvB5KOk6dn+Uz6Eco1d/eZzvTBRH 9W6gXma5OcxWrshuXUk2lx2/+ag/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=7AL7BQ7wlSelh6BeEE esNQRdejF1xhAHLI2xjVfXtNE=; b=eghxaDhODS8gZ6SRmAx6ZvEk+ATKB6GeyY /MHal9ZFmJrbUqSzzluFHtS10boC601Y5vZ5XasfycFnnEnhO8f1PjAKUXbgbg+R KlwtH+fv3OaVuUaMd11Oiw4YP5v5sOawbRRS2XyUiTxsvkV8zayacMpF1IGdvfIm lILFdHFiJzZnMsGR0LB/NsF2+BhSGskE49YJpHUtGh7EkMuaumNztUa7OSnaeQFy RaN2qaXrLwZc3cq1Foi8eLRCi4fbOp7PICsOaYEeLDgnADy90Yf7uyG4Dv2y3nRl LeVTy/nVh4c6oymJg0js+TTct4bFw69O09EEKj/mS665lImDmAhg== X-ME-Sender: X-Sasl-enc: tgLg+lp4Szhgdukjrr5PqgztOW2xf+MfE89EqxW65K6A 1507271398 Received: from yliu-home (unknown [222.64.136.243]) by mail.messagingengine.com (Postfix) with ESMTPA id D13362479F; Fri, 6 Oct 2017 02:29:57 -0400 (EDT) Date: Fri, 6 Oct 2017 14:29:54 +0800 From: Yuanhan Liu To: "Zhang, Roy Fan" Cc: "Yang, Zhiyong" , "dev@dpdk.org" , "maxime.coquelin@redhat.com" Message-ID: <20171006062954.GC1545@yliu-home> References: <20170811021318.64276-1-zhiyong.yang@intel.com> <9F7182E3F746AB4EA17801C148F3C60433040AC2@IRSMSX101.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F7182E3F746AB4EA17801C148F3C60433040AC2@IRSMSX101.ger.corp.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Fri, 06 Oct 2017 06:29:59 -0000 On Thu, Oct 05, 2017 at 09:31:25AM +0000, Zhang, Roy Fan wrote: > > > > -----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 > > > > To use pointer instead of memcpy can save many cycles in the funciton > > virtio_send_command. > > > > cc: maxime.coquelin@redhat.com > > cc: yliu@fridaylinux.org > > > > Signed-off-by: Zhiyong Yang > > --- > > drivers/net/virtio/virtio_ethdev.c | 7 +++---- > > 1 file changed, 3 insertions(+), 4 deletions(-) > > > > Acked-by: Fan Zhang Applied to dpdk-next-virtio. Thanks. --yliu