From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0FBF35A88 for ; 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" To: David Marchand , "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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Acked-by: Helin Zhang