[dpdk-dev] performance for 1500byte packet

2014-03-12 Thread Bin Zhang
Hi, I am seeing very strange behaving for l2fwd in VM, here are performance number: 64byte -- 8.4 mil pps 256byte - 7.7 mil pps 512byte - 1.5 mil pps 1500byte - 500K pps My setup details are - Traffic coming in on a 10G interface and going out on another 10G interface - Both 10G Nic are 82599 -

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

2014-03-12 Thread 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