From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 4408E8E8A for ; Tue, 20 Oct 2015 09:18:17 +0200 (CEST) Received: by wicfv8 with SMTP id fv8so14206638wic.0 for ; Tue, 20 Oct 2015 00:18:17 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=bbTlCP6t6WEob/u1SOuIFwjFpHIDeSrQbw2Kyn4+Mhw=; b=ce9uuBkwKCnCTDeFIkiueKsxhu8mintl0qS5ed9/YGm2uIxK2k7c8zVyAeiRVEop3u K8hTtgJRZGEuWh3sOd58uyRutkv9zsn89PbN7etErrWmTEqbf6hGD1uyIbEqF/qS2EVb NLzEwviL6scsqOnILa2lttV87FUC7RpZ3FYJc0HBjVBssvzGs2rZSGoMnivq3ubrP/sq GK7tn5qVogE0xMECMCz5pDHzaBK6eHTcWCIjK2yplLiPzTv7rpkLlkwxGrIih89RPTqJ 8v565j6umLXUSFkoi8iaiqgAqpeMEAmy9yMW5C0VeknMwcGg7r9eVgW4HPnsJbpKfYoW s7RQ== X-Gm-Message-State: ALoCoQm5uokMAcILcDBPmhRUa5zDFDvsUnYugnptYMYNVkQQuDEjXYjdjXWXAMqK04iPrdLvL21S X-Received: by 10.180.93.168 with SMTP id cv8mr26531010wib.54.1445325497125; Tue, 20 Oct 2015 00:18:17 -0700 (PDT) Received: from xps13.localnet (115.202.154.77.rev.sfr.net. [77.154.202.115]) by smtp.gmail.com with ESMTPSA id bk4sm1985430wjc.1.2015.10.20.00.18.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 00:18:16 -0700 (PDT) From: Thomas Monjalon To: Yuanhan Liu Date: Tue, 20 Oct 2015 09:17:12 +0200 Message-ID: <6043116.50yYGaQjqT@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151020062559.GR3115@yliu-dev.sh.intel.com> References: <1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com> <20151020062559.GR3115@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, "marcel@redhat.com" , "Michael S. Tsirkin" Subject: Re: [dpdk-dev] [PATCH v6 09/13] vhost: add API bind a virtq to a specific core 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, 20 Oct 2015 07:18:17 -0000 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 > > > > > > 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 ;)