[dpdk-dev] [PATCH] vmxnet3: fixed segfault when initializing vmxnet3 pmd on linux platform

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Mar 21 15:46:01 CET 2014


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 <dan at nyansa.com>

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


More information about the dev mailing list