From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id 2B9F95925 for ; Wed, 5 Mar 2014 16:09:25 +0100 (CET) Received: by mail-pa0-f51.google.com with SMTP id kq14so1212807pab.38 for ; Wed, 05 Mar 2014 07:10:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5T5ylyW4mKIdStrq2NGkD1WJjqHC2sAK92wi4F6EiYg=; b=RXQLmpdFn91ENNcGNr7wLHlQYmYEbdORsfBchlAxBLhCfZRXnUkWFeyTMViNkMtbjY 6hLXY8u6mA6dhIARUkqw+Wz/vNHLlzksojFaTKIjMymJ/Jz9pTZT5QpJ2w5YNzad8w08 ModMrKGXB6z6AtfKIufuTE4D7FPqcE+i6JwjQ66jSM1PA9PfoCBDIpZJur9i/aoTmMJc mE15T67oMeKnfv108F2jOwOTbebwtRHqLGWTvBYDdm90gxnM/88sMCAqq1L6SavbpN3p iZvXQQVyeI6WWywASKzSCTc0uE2OC/5JahCqYG+MDfRYTCDuFXaSdLh90u+LiGNGMHlt oBVg== X-Gm-Message-State: ALoCoQl+x2m8sw1PxyDrDEWscIytBJFcpLq/hjB+vRs8imfTmc5OAI/bWAisLX+J7OnRF1jbcekO MIME-Version: 1.0 X-Received: by 10.68.129.5 with SMTP id ns5mr7416078pbb.147.1394032253988; Wed, 05 Mar 2014 07:10:53 -0800 (PST) Received: by 10.68.14.65 with HTTP; Wed, 5 Mar 2014 07:10:53 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Mar 2014 16:10:53 +0100 Message-ID: From: David Marchand To: Prashant Upadhyaya Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? 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: Wed, 05 Mar 2014 15:09:26 -0000 Hello Prashant, On Wed, Mar 5, 2014 at 3:28 PM, Prashant Upadhyaya < prashant.upadhyaya@aricent.com> wrote: > Hi, > > I am also keen to know the answer to the question posted by Srini. > The real question is -- is dpdk1.6.0r1 self-sufficient so that I don't > need any extensions etc., or do I still need something from outside like > the usermap kernel driver etc. > > Secondly, if I turn on all the debug options for the vmxnet3 pmd in the > config file, 1.6.0r1 compilation runs into a problem and reports a function > which is defined but not used. > Can you send your build error ? (maybe in a separate thread ?) > I am trying to bring up DPDK inside Fedora18 Guest on ESXi -- when I used > DPDK1.6.0r1 (without debug options turned on for vmxnet3 pmd) the igb_uio > could take over the vmxnet3 NIC but I encountered a core dump in the dev > init function for the vmxnet3 driver -- anybody encountered a similar issue > ? > I encountered these problems as well. - igb_uio module does not check if you disable vmxnet3-uio pmds, it will always try to take over vmxnet3 devices. I have a patch waiting in my working dir to cleanly disable vmxnet3-uio pmd. - If you don't bind vmxnet3 devices to uio, but forget to enable vmxnet3-usermap pmd (by specifiying -d librte_pmd_vmxnet3.so), then internal vmxnet3-uio pmd will try to initialise and crash. I did not look any deeper into this, the easiest way is to disable vmxnet3-uio pmd + apply the patch I will send in a few minutes, as a first workaround. Regards, -- David Marchand