From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 0/2] vhost: numa aware allocation of vhost device and queues Date: Mon, 29 Jun 2015 19:04:26 +0200 Message-ID: <9147402.4RVkC3Hq2T@xps13> References: <1434646796-23101-1-git-send-email-huawei.xie@intel.com> <1435211257-27310-1-git-send-email-huawei.xie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Huawei Xie Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 9987CC33C for ; Mon, 29 Jun 2015 19:05:36 +0200 (CEST) Received: by wicgi11 with SMTP id gi11so78144989wic.0 for ; Mon, 29 Jun 2015 10:05:36 -0700 (PDT) In-Reply-To: <1435211257-27310-1-git-send-email-huawei.xie@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-06-25 13:47, Huawei Xie: > The vhost device and queues should be allocated on the same numa node as vring descriptor table. > When we firstly allocate the vhost device and queues, we don't know the numa node of vring descriptor table. > When we receive the VHOST_SET_VRING_ADDR message, we get the numa node of vring descriptor table, we will try to reallocate vhost device and queues to the same numa node. Commit messages must be wrapped. > Huawei Xie (2): > use rte_malloc to allocate vhost device and queues > reallocate vhost device and queues when we get the address of vring descriptor table Applied, thanks