[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-04 Thread Qiu, Michael
On 3/2/2016 10:48 AM, Yuanhan Liu wrote: > On Wed, Mar 02, 2016 at 02:10:14AM +, Qiu, Michael wrote: >> On 3/1/2016 5:46 PM, Santosh Shukla wrote: >>> On Tue, Mar 1, 2016 at 2:41 PM, Qiu, Michael >>> wrote: On 2/26/2016 4:53 PM, Santosh Shukla wrote: > Check cpuflag macro before usin

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-02 Thread Yuanhan Liu
On Wed, Mar 02, 2016 at 02:10:14AM +, Qiu, Michael wrote: > On 3/1/2016 5:46 PM, Santosh Shukla wrote: > > On Tue, Mar 1, 2016 at 2:41 PM, Qiu, Michael > > wrote: > >> On 2/26/2016 4:53 PM, Santosh Shukla wrote: > >>> Check cpuflag macro before using vectored api. > >>> -virtio_recv_pkts_vec(

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-02 Thread Qiu, Michael
On 3/1/2016 5:46 PM, Santosh Shukla wrote: > On Tue, Mar 1, 2016 at 2:41 PM, Qiu, Michael wrote: >> On 2/26/2016 4:53 PM, Santosh Shukla wrote: >>> Check cpuflag macro before using vectored api. >>> -virtio_recv_pkts_vec() uses _sse3__ simd instruction for now so added >>> cpuflag. >>> - Also wra

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-01 Thread Santosh Shukla
On Tue, Mar 1, 2016 at 2:41 PM, Qiu, Michael wrote: > On 2/26/2016 4:53 PM, 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_e

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-01 Thread Yuanhan Liu
On Tue, Mar 01, 2016 at 11:40:41AM +0530, Santosh Shukla wrote: > On Tue, Mar 1, 2016 at 11:25 AM, Yuanhan Liu > wrote: > > On Mon, Feb 29, 2016 at 06:01:38PM +0530, Santosh Shukla wrote: > >> On Mon, Feb 29, 2016 at 9:57 AM, Yuanhan Liu > >> wrote: > >> > On Fri, Feb 26, 2016 at 02:21:02PM +0530

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-01 Thread Yuanhan Liu
On Mon, Feb 29, 2016 at 06:01:38PM +0530, Santosh Shukla wrote: > On Mon, Feb 29, 2016 at 9:57 AM, Yuanhan Liu > wrote: > > On Fri, Feb 26, 2016 at 02:21:02PM +0530, Santosh Shukla wrote: > >> Check cpuflag macro before using vectored api. > >> -virtio_recv_pkts_vec() uses _sse3__ simd instruction

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-01 Thread Santosh Shukla
On Tue, Mar 1, 2016 at 11:25 AM, Yuanhan Liu wrote: > On Mon, Feb 29, 2016 at 06:01:38PM +0530, Santosh Shukla wrote: >> On Mon, Feb 29, 2016 at 9:57 AM, Yuanhan Liu >> wrote: >> > On Fri, Feb 26, 2016 at 02:21:02PM +0530, Santosh Shukla wrote: >> >> Check cpuflag macro before using vectored api.

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-03-01 Thread Qiu, Michael
On 2/26/2016 4:53 PM, 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 > > todo

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-02-29 Thread Santosh Shukla
On Mon, Feb 29, 2016 at 9:57 AM, Yuanhan Liu wrote: > On Fri, Feb 26, 2016 at 02:21:02PM +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

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-02-29 Thread Yuanhan Liu
On Fri, Feb 26, 2016 at 02:21:02PM +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_rx

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-02-29 Thread Xie, Huawei
On 2/29/2016 12:26 PM, Yuanhan Liu wrote: > On Fri, Feb 26, 2016 at 02:21:02PM +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) vi

[dpdk-dev] [PATCH v1] virtio: Use cpuflag for vector api

2016-02-26 Thread Santosh Shukla
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 todo: 1) Move virtio_recv_pkts_vec() implementation to driver