From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 28DAF2BE9 for ; Tue, 1 Mar 2016 06:58:07 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 29 Feb 2016 21:58:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,522,1449561600"; d="scan'208";a="914127363" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by fmsmga001.fm.intel.com with ESMTP; 29 Feb 2016 21:58:06 -0800 Date: Tue, 1 Mar 2016 13:59:11 +0800 From: Yuanhan Liu To: Santosh Shukla Message-ID: <20160301055911.GM14300@yliu-dev.sh.intel.com> References: <1456476662-23081-1-git-send-email-sshukla@mvista.com> <1456750690-3210-1-git-send-email-sshukla@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456750690-3210-1-git-send-email-sshukla@mvista.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] virtio: Use cpuflag for vector api 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: Tue, 01 Mar 2016 05:58:08 -0000 On Mon, Feb 29, 2016 at 06:28:10PM +0530, Santosh Shukla wrote: > Check cpuflag macro before using vectored api. > -virtio_recv_pkts_vec() uses _sse3__ simd instruction for now so added cpuflag. > - Also wrap other vectored freind api ie.. > 1) virtqueue_enqueue_recv_refill_simple > 2) virtio_rxq_vec_setup > > - removed VIRTIO_PMD=n from armv7/v8 config. > > todo: > 1) Move virtio_recv_pkts_vec() implementation to > drivers/virtio/virtio_vec_.h file. > 2) Remove use_simple_rxtx flag, so that virtio/virtio_vec_.h > files to provide vectored/non-vectored rx/tx apis. > > Signed-off-by: Santosh Shukla > --- > - v2: Removed VIRTIO_PMD=n from arm v7/v8 Firstly, I would not suggest you to send another new version, while there still was discussions ongoing on old version. And, you should not mix the ARM stuff here; this patch should only do what the patch title tells. In generic, don't do two or more things in one patch. --yliu