[dpdk-dev] [PATCH v6 09/13] vhost: add API bind a virtq to a specific core

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Oct 20 09:17:12 CEST 2015


2015-10-20 14:25, Yuanhan Liu:
> On Tue, Oct 20, 2015 at 06:16:23AM +0000, Xie, Huawei wrote:
> > On 10/9/2015 1:46 PM, Yuanhan Liu wrote:
> > > From: Changchun Ouyang <changchun.ouyang at intel.com>
> > >
> > > The new API rte_vhost_core_id_set() is to bind a virtq to a specific
> > > core, while the another API rte_vhost_core_id_get() is for getting
> > > the bind core for a virtq.
> > Where is the absolute necessity to put switching/application logic into
> > vhost virt queue structure?
> 
> I don't think it's a must, and we can drop it.

Yes please, it looks to be a layer violation. Holy rule ;)


More information about the dev mailing list