From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id ED8712E88 for ; Fri, 21 Mar 2014 15:44:32 +0100 (CET) Received: by mail-wi0-f177.google.com with SMTP id cc10so581272wib.4 for ; Fri, 21 Mar 2014 07:46:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=WpHU2Tmjm2+zoh6R9i1YNA05w6yblTuQzLG7ELxYozg=; b=RozAAuJHCn0gsBDgYpsB7F+N1xvTEsW0ienZUdC0iX3+XMCNtALFbf5qOFmciXfx/+ J2Cy4KdEmInQRhzKCLlxzREtK1OTIlEt7juozqTSEfyZ0CyGO07+6Csrxs03gg5m+gab 5rvnt9FCAdwWZFgx6+9x6IEyy704VISOUC/lhwy50tfm7/hMjlka4T5F7EUyf7+sGgA8 9UivqrxUHTfsKp25V7OUdFfYkev3sMflbDH6TgbXxXssaIZ8y1I81NO1ULiVbC5bhWRd eStGKem8F2jq4I/7UUxrZwa871UlGIQWbzpind4QB5XRXD0VUtD1FDw/kctwZe6NbuI9 ffPg== X-Gm-Message-State: ALoCoQk9NCTRLdXyopAV+rt57hwOLPSwm8avjryRVsrxc9m4y2B7cmZVMjIBP9K/LH6F7/qBt41O X-Received: by 10.194.187.107 with SMTP id fr11mr2261475wjc.70.1395413165021; Fri, 21 Mar 2014 07:46:05 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ff9sm5336702wib.11.2014.03.21.07.46.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Mar 2014 07:46:04 -0700 (PDT) From: Thomas Monjalon To: Daniel Kan Date: Fri, 21 Mar 2014 15:46:01 +0100 Message-ID: <1868629.bLHTM1S2dL@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.6-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1394655599-5991-1-git-send-email-dan@nyansa.com> References: <1394655599-5991-1-git-send-email-dan@nyansa.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] vmxnet3: fixed segfault when initializing vmxnet3 pmd on linux platform 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: Fri, 21 Mar 2014 14:44:33 -0000 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