[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-11 Thread Prashant Upadhyaya
Hi Stephen, Can you please advise on your experience of the kind of data rates you have been able to achieve with vmxnet3. Also did you have to do any special optimizations at the vmnic of ESXi for the above, kindly let me know. Regards -Prashant -Original Message- From: dev

[dpdk-dev] RSS, performance, and stability issues vmxnet3-pmd

2014-03-11 Thread Daniel Kan
I?m unable to get RSS to work properly with vmxnet3-pmd. The first issue is that the number of rxqs must be power of 2. Otherwise, rte_eth_dev_start() fails due to inability to activate vmxnet3 NIC. This is not too big of a deal, but physical NICs don?t have this requirement. The second issue

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-11 Thread Prashant Upadhyaya
Hi Stephen, This is great news ! I can wait for a formal release of DPDK with your driver. Please let me know when is the release expected. I will happily migrate to that. Regards -Prashant -Original Message- From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Monday,

[dpdk-dev] Setting up hugepage memory failed when there is a java process also using hugepages

2014-03-11 Thread Carlos Franco
Hello I am having some rare problem with hugepages. I am running DPDK 1.5.1 in CenOS 6.4. Everything is running smothly and we have done quite good progress integrating DPDK into our solution. But sometimes, there is an error with the init of the huge pages. The problem is when there is another

[dpdk-dev] [memnic PATCH 5/5] pmd: handle multiple segments on xmit

2014-03-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto The current MEMNIC PMD cannot handle multiple segments. Add the functionality to transmit a mbuf which has multiple segments. Walk every segment in transmitting mbuf and copy the data to MEMNIC packet buffer. Signed-off-by: Hiroshi Shimamoto

[dpdk-dev] [memnic PATCH 4/5] pmd: account statistics

2014-03-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Implement packet accounting of MEMNIC on TX/RX. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma --- pmd/pmd_memnic.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [memnic PATCH 3/5] pmd: implement stats of MEMNIC

2014-03-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Implement missing feature to account statistics. This patch adds just an infrastructure. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma --- pmd/pmd_memnic.c | 45 ++--- 1 file changed, 42

[dpdk-dev] [memnic PATCH 2/5] pmd: check frame length from host

2014-03-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Drop packets which have invalid length. Normally this must not happen while vSwitch works fine, however it's better to put a sentinel to prevent memory corruption. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma ---

[dpdk-dev] [memnic PATCH 1/5] pmd: fix race condition

2014-03-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto There is a race condition, on transmit to vSwitch. Guest PMD Host Thread-A Thread-B vSwitch |idx=0 |idx=0 |p[0] st!=2 |cmpxchg || |p[0] st->1 || |idx=1 |

[dpdk-dev] On vmxnet-pmd crash in DPDK 1.6.0r1

2014-03-11 Thread Daniel Kan
virtio-pmd has the same pattern. I wonder if vmxnet3-pmd just blindly copied the same paradigm. lib/librte_pmd_virtio/virtio_ethdev.c 473 static struct eth_driver rte_virtio_pmd = { 474 { 475 .name = "rte_virtio_pmd", 476 .id_table = pci_id_virtio_map, 477 #ifdef

[dpdk-dev] On vmxnet-pmd crash in DPDK 1.6.0r1

2014-03-11 Thread Daniel Kan
Upon further trace, I know what caused it. The uio hardware resources were never memory mapped when RTE_EAL_UNBIND_PORTS is not enabled. Specifically, pci_dev->mem_resource[] is not mapped. This explains why setting CONFIG_RTE_EAL_UNBIND_PORTS=y fixes the problem.