From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vmxnet3: fixed segfault when initializing vmxnet3 pmd on linux platform Date: Fri, 21 Mar 2014 15:46:01 +0100 Message-ID: <1868629.bLHTM1S2dL@xps13> References: <1394655599-5991-1-git-send-email-dan@nyansa.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Daniel Kan Return-path: In-Reply-To: <1394655599-5991-1-git-send-email-dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 12/03/2014 13:19, Daniel Kan : > The vmxnet3 PCI hardware resources were never memory mapped when > RE_EAL_UNBIND_PORTS is not defined. Specifically, pci_dev->mem_resource is > not mapped. The fix is to always set drv_flags with RTE_PCI_DRV_NEED_IGU > for vmxnet3. This ensures pci_uio_map_resource() is called. > > Signed-off-by: Daniel Kan I forgot your patch when I've sent this one: http://dpdk.org/ml/archives/dev/2014-March/001647.html I've merged them and applied for 1.6.0r2: http://dpdk.org/browse/dpdk/commit/?id=18f02ff759 Thank you -- Thomas