From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42])
 by dpdk.org (Postfix) with ESMTP id 7096154C5
 for <dev@dpdk.org>; Tue,  1 Nov 2016 10:39:37 +0100 (CET)
Received: by mail-wm0-f42.google.com with SMTP id a197so67338952wmd.0
 for <dev@dpdk.org>; Tue, 01 Nov 2016 02:39:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=aBKrSG0uKLmq4G65ETC9Urgj7J+ue1Oka6epPkLNgt0=;
 b=JKLhZifTlK4S1ZFESVnkdo6BF3QdoiMx0OdJ3WMv+zRLsxVqQcRGqw4+C9FwOpiHgX
 S7zKMcdINh7ZXZrCjAx1uk2cCj7Fg8HVvey8NTOkifg5wtKaxWoPDknSTglW0fazZOxn
 kJ46jMhe3HPnA9a8Uj4LuknGnJs7jTKc7my/zSr9lJH0jPlt7E1fOLm3SGclj0FevG2s
 txhaeQhf1sFkqkEDpYLkXqxBvSp2vrjC+RR4bNUK1jCf2K7GcnT83P9NzphwZoEPQ9sw
 F34+3Oe6MRJdgTruyU5CkgsBNtlEbhBPEGH5XTLvb489x3Bp5JU0goh8oUNnbQIxB1ql
 +BFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=aBKrSG0uKLmq4G65ETC9Urgj7J+ue1Oka6epPkLNgt0=;
 b=XZ90IPfQQ6muzeLmX35qbhHYWzcoRoDZ2GPaYiPalhls1K11Q3SdRonW84aCzgVrrB
 LYb74yD5z/Ttr77plXIWi+MwzGcC9jHtGVdOQT8Xrupgt6jph7djM+A5UgG5k+BE/arV
 c2M8djvf0+5baFloZ3LIdv67J1fAnrQvm0isaLtAnisv46PV8z646N1i2Rwh4dpkmGhE
 +kL5jojfA4dvlegw14BtxnRYmNoSBQ5/5/jUWmovNbNQHAUt5JA280JKhMPbNmArswwI
 YbKOv7mOwHz2CZAqBJ6bS7zBPfIPd8HeetXJSuaXb0mH/q2sT20YP5ya4fhqYaZm7j/B
 cZ0w==
X-Gm-Message-State: ABUngvf/y/ecKz3Pzi9Fmfh8pMntWkf6UvT0zlIZyh35G4CBLTMo3gd9huVHcr+avP4qESvR
X-Received: by 10.28.184.74 with SMTP id i71mr701955wmf.49.1477993177212;
 Tue, 01 Nov 2016 02:39:37 -0700 (PDT)
Received: from xps13.localnet (103.114.118.80.rev.sfr.net. [80.118.114.103])
 by smtp.gmail.com with ESMTPSA id f3sm8927239wmf.10.2016.11.01.02.39.36
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 01 Nov 2016 02:39:36 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Yuanhan Liu <yuanhan.liu@linux.intel.com>,
 Maxime Coquelin <maxime.coquelin@redhat.com>
Date: Tue, 01 Nov 2016 10:39:35 +0100
Message-ID: <4456077.H7TfcTU5eI@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <20161101081544.GP16751@yliu-dev.sh.intel.com>
References: <70cc3b89-d680-1519-add3-f38b228e65b5@redhat.com>
 <108f3c0a-bef5-5124-fde6-01fa9870c970@redhat.com>
 <20161101081544.GP16751@yliu-dev.sh.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org, vkaplans@redhat.com, mst@redhat.com
Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support
	to the TX path
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Nov 2016 09:39:37 -0000

2016-11-01 16:15, Yuanhan Liu:
> On Fri, Oct 28, 2016 at 09:58:51AM +0200, Maxime Coquelin wrote:
> > Agree, what we need is to be able to disable Virtio PMD features
> > without having to rebuild the PMD.
> 
> I want this feature (or more precisely, ability) long times ago.
> For example, I'd wish there is an option like "force_legacy" when
> both legacy and modern exist.

You can change the behaviour of the driver with a run-time parameter
as a struct rte_devargs.