From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Freimann Subject: Re: [PATCH 06/17] net/virtio-user: add option to use packed queues Date: Mon, 26 Mar 2018 12:12:52 +0200 Message-ID: <20180326101252.fhwqatme7ltbkq6l@localhost.localdomain> References: <20180316152120.13199-1-jfreimann@redhat.com> <20180316152120.13199-7-jfreimann@redhat.com> <20180319083326.thzwjclfl4imj4wa@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Cc: dev@dpdk.org, yliu@fridaylinux.org, maxime.coquelin@redhat.com, mst@redhat.com To: Tiwei Bie Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 331925F2E for ; Mon, 26 Mar 2018 12:13:02 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180319083326.thzwjclfl4imj4wa@debian> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Mar 19, 2018 at 04:33:27PM +0800, Tiwei Bie wrote: >On Fri, Mar 16, 2018 at 04:21:09PM +0100, Jens Freimann wrote: >[...] >> diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c >> index 2636490..ee291b3 100644 >> --- a/drivers/net/virtio/virtio_user_ethdev.c >> +++ b/drivers/net/virtio/virtio_user_ethdev.c >> @@ -278,6 +278,8 @@ >> VIRTIO_USER_ARG_QUEUE_SIZE, >> #define VIRTIO_USER_ARG_INTERFACE_NAME "iface" >> VIRTIO_USER_ARG_INTERFACE_NAME, >> +#define VIRTIO_USER_ARG_VERSION_1_1 "version_1_1" >> + VIRTIO_USER_ARG_VERSION_1_1, > >Maybe we can enable packed-ring by default for virtio-user. >If we really need a flag to enable it, the devarg name should >be packed_ring instead of version_1_1. Thinking about it, we should probably just get rid of this patch and let feature negotiation do its thing. Thanks! regards, Jens