From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 358EC5958 for ; Wed, 9 Sep 2015 15:23:30 +0200 (CEST) Received: by wicgb1 with SMTP id gb1so116408957wic.1 for ; Wed, 09 Sep 2015 06:23:30 -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=t97cYRpP/SuOE4gMWDENHCTX42VfVpuaBjsojcmXsJM=; b=WOhI8K7dvC/i8tGkt7MyYHgeTLoUVI3lpXu2/JfCm3JboBC4YedfJRM8c+FAX811m1 vYa2iHKARreTSTqQBDXW/6/TfSxeVfIK6LWdJEOn+/npl+UvvlnVfKXsZuQgnZrO8rsZ eUoB3vTv6FXO58mj+R7NcHahxJvqoXUH70TE42aAVYdTyluYNKVElvBD0ZXdDHNJ9Abd 56LNkUSXo1711rA52S50El+v8HrQksKzA8ZyfMgKFqESbLWclVtl4K5yn/Vgl8swgSRl lKFE/1NSAkempBY9P1uK/7A/rUazHECq78VFwTQIadIjnGw3xZLKQGYPdT1jHFyU0iDp 73Wg== X-Gm-Message-State: ALoCoQlcJz0S31eQf98HbqVf0hXzp4scDZD8uBxDGTTRLCp1IA4QhJeVjHMmwh/Nvh2RsB42t91W X-Received: by 10.180.83.137 with SMTP id q9mr58064751wiy.68.1441805010013; Wed, 09 Sep 2015 06:23:30 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id ry1sm10267883wjb.24.2015.09.09.06.23.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 06:23:29 -0700 (PDT) From: Thomas Monjalon To: David Marchand Date: Wed, 09 Sep 2015 15:22:21 +0200 Message-ID: <16413330.VAucU3BjYT@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1441286610-16935-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] i40e: fix base driver allocation when on numa != 0 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: Wed, 09 Sep 2015 13:23:30 -0000 > > Seen by code review. > > > > If dpdk is run with memory only available on socket 0, then i40e pmd refuses to > > initialize ports as this pmd requires some memory on socket 0. > > Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on the > > caller socket. > > > > Signed-off-by: David Marchand > Acked-by: Helin Zhang Applied, thanks