From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <helin.zhang@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 0FBF35A88
 for <dev@dpdk.org>; Sun,  6 Sep 2015 03:33:35 +0200 (CEST)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga102.jf.intel.com with ESMTP; 05 Sep 2015 18:33:33 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.17,477,1437462000"; d="scan'208";a="556209629"
Received: from pgsmsx105.gar.corp.intel.com ([10.221.44.96])
 by FMSMGA003.fm.intel.com with ESMTP; 05 Sep 2015 18:33:33 -0700
Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by
 PGSMSX105.gar.corp.intel.com (10.221.44.96) with Microsoft SMTP Server (TLS)
 id 14.3.224.2; Sun, 6 Sep 2015 09:33:31 +0800
Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.210]) by
 SHSMSX152.ccr.corp.intel.com ([169.254.6.182]) with mapi id 14.03.0224.002;
 Sun, 6 Sep 2015 09:33:29 +0800
From: "Zhang, Helin" <helin.zhang@intel.com>
To: David Marchand <david.marchand@6wind.com>, "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: [PATCH] i40e: fix base driver allocation when on numa != 0
Thread-Index: AQHQ5kvGBWbBJFxYk0+Ud0igsIZy+Z4uu1qg
Date: Sun, 6 Sep 2015 01:33:29 +0000
Message-ID: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A8EAF60@SHSMSX104.ccr.corp.intel.com>
References: <1441286610-16935-1-git-send-email-david.marchand@6wind.com>
In-Reply-To: <1441286610-16935-1-git-send-email-david.marchand@6wind.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.239.127.40]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2015 01:33:36 -0000



> -----Original Message-----
> From: David Marchand [mailto:david.marchand@6wind.com]
> Sent: Thursday, September 3, 2015 9:24 PM
> To: dev@dpdk.org
> Cc: Zhang, Helin
> Subject: [PATCH] i40e: fix base driver allocation when on numa !=3D 0
>=20
> Seen by code review.
>=20
> If dpdk is run with memory only available on socket 0, then i40e pmd refu=
ses 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 o=
n the
> caller socket.
>=20
> Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>