From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <pablo.de.lara.guarch@intel.com> Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id AB9E97DF0 for <dev@dpdk.org>; Thu, 18 Dec 2014 11:38:06 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 18 Dec 2014 02:38:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,600,1413270000"; d="scan'208";a="639608920" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga001.fm.intel.com with ESMTP; 18 Dec 2014 02:38:05 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.71]) by IRSMSX154.ger.corp.intel.com ([169.254.12.15]) with mapi id 14.03.0195.001; Thu, 18 Dec 2014 10:38:04 +0000 From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com> To: "Qiu, Michael" <michael.qiu@intel.com>, "dev@dpdk.org" <dev@dpdk.org> Thread-Topic: [dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process Thread-Index: AQHQGqvZYBqgK7yLhkSfpopKvm3BPpyVJ/Cg Date: Thu, 18 Dec 2014 10:38:04 +0000 Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8972688C082@IRSMSX108.ger.corp.intel.com> References: <1418897809-14674-1-git-send-email-michael.qiu@intel.com> In-Reply-To: <1418897809-14674-1-git-send-email-michael.qiu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process 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: Thu, 18 Dec 2014 10:38:07 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michael Qiu > Sent: Thursday, December 18, 2014 10:17 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start > secondary process >=20 > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > EAL: PCI memory mapped at 0x7f18c2a00000 > EAL: PCI memory mapped at 0x7f18c2a80000 > Segmentation fault (core dumped) >=20 > This is introduced by commit: 46bc9d75 > ixgbe: fix multi-process support > When start primary process with command line: > ./app/test/test -n 1 -c ffff -m 64 > then start the second one: > ./app/test/test -n 1 --proc-type=3Dsecondary --file-prefix=3Drte > This segment-fault will occur. >=20 > Root cause is test app on primary process only starts device, but > the queue need initialized by manually command line. > So the tx queue is still NULL when secondary process startup. >=20 > Reported-by: Yong Liu <yong.liu@intel.com> > Signed-off-by: Michael Qiu <michael.qiu@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>