From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cos-us-iron02k.cos.keysight.com (cos-us-iron02k.cos.keysight.com [192.25.5.36]) by dpdk.org (Postfix) with ESMTP id D05034CE4 for ; Wed, 24 Aug 2016 08:48:30 +0200 (CEST) X-IPAS-Result: A2BsAQB6Qr1XfRQYjJxdHAEBglgzAQEBAQF0gQONJ6YmhDmBfYYdAoISFAEBAQEBAQEBARMBARYrL4RiAgEDLUwSAQgiViYBBAENDYgpvkQBAQEBAQEEAQEBAQEBAQEfinqEQoMqgi8FmUieckiPcR6EMIZrAX4BAQE X-IronPort-AV: E=Sophos;i="5.28,569,1464674400"; d="scan'208,217";a="36653868" Received: from wcosexch01k.cos.is.keysight.com (HELO 2k10hubs.keysight.com) ([156.140.24.20]) by cos-us-iron02k.cos.keysight.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2016 00:48:29 -0600 Received: from wcosexch02k.cos.is.keysight.com ([169.254.2.97]) by wcosexch01k.cos.is.keysight.com ([169.254.3.182]) with mapi id 14.03.0279.002; Wed, 24 Aug 2016 00:48:29 -0600 From: To: , CC: Thread-Topic: Re: [dpdk-users] segfault with dpdk 16.07 in rte_mempool_populate_phys Thread-Index: AdH90wLRQ+tcMCqcQUyfucaV7+1FyA== Date: Wed, 24 Aug 2016 06:48:28 +0000 Message-ID: <22C95CA62CBADB498D32A348F0F073BC20AE2DB0@wcosexch02k.cos.is.keysight.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [156.140.13.70] x-tm-as-product-ver: SMEX-11.0.0.4283-8.000.1202-22532.005 x-tm-as-result: No--47.114300-8.000000-31 x-tm-as-matchedid: 144069-147014-150567-139704-113220-708196-111604-700362-7 05718-700345-701796-701827-700264-702497-700450-700537-700732-701306-709859 -111605-700074-303242-188124-703747-700752-704927-700079-703707-708060-7006 93-708797-702098-708339-701619-106390-112836-703788-703529-701465-700107-70 2020-121133-712248-188093-148004-148050-42000 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] segfault with dpdk 16.07 in rte_mempool_populate_phys X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 06:48:31 -0000 Hi Shreyansh Found my problem, because of the way the dpdk is integrated into our sw as = a prebuilt library, we don't get the automatic initialisation of objects th= e way I think the dpdk examples benefit from. I'd forgotten this, we have explicit calls to things like devinitfn_rte_i40e_driver(); so after I added an explicit call to mp_hdlr_init_ops_mp_mc(); my function pointer deep down below rte_mempool_create is now valid. Seem to have a nice performance improvement of about 40% in the rate my app= can handle at the front door compared to 2.2.0 Nice Now I just need to find out why when I turn on vector mode, I never get any= mbuffs returned to the pool :) Thanks for your help Martin Martin Curran-Gray HW/FPGA/SW Engineer Keysight Technologies UK Ltd