From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: fix base driver allocation when on numa != 0 Date: Wed, 09 Sep 2015 15:22:21 +0200 Message-ID: <16413330.VAucU3BjYT@xps13> References: <1441286610-16935-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: David Marchand 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) In-Reply-To: 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" > > 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