[dpdk-dev] rte_eth_rx_burst only returns up to 32 packets

2015-08-29 Thread Gaohaifeng (A)
Please see _rece_raw_pkts_vec function. Here is part of its comments may explain this question /* * vPMD receive routine, now only accept (nb_pkts == RTE_IXGBE_VPMD_RX_BURST) * in one loop * * Notice: * - nb_pkts < RTE_IXGBE_VPMD_RX_BURST, just return no packet * - nb_pkts > RTE_IXGBE_VPMD_

[dpdk-dev] Vhost user no connection vm2vm

2015-05-25 Thread Gaohaifeng (A)
of data. > >> > ^C > >> > --- 192.168.0.200 ping statistics --- > >> > 5 packets transmitted, 0 received, 100% packet loss, time 3999ms > >> > > >> > root at debian-amd64:~# ping -I eth1 192.168.1.200 > >> > PING 192.168.1.

[dpdk-dev] Vhost user no connection vm2vm

2015-05-22 Thread Gaohaifeng (A)
ort the result >On Thu, May 21, 2015 at 11:12 AM, Gaohaifeng (A) huawei.com<mailto:gaohaifeng.gao at huawei.com>> wrote: >Hi Maciej >Did you solve your problem? I meet this problem as your case. And I found avail_idx(in rte_vhost_dequeue_burst function) is always zero although I do

[dpdk-dev] FW: Vhost user no connection vm2vm

2015-05-21 Thread Gaohaifeng (A)
Hi Maciej Did you solve your problem? I meet this problem as your case. And I found avail_idx(in rte_vhost_dequeue_burst function) is always zero although I do send packets in VM. Thanks. > Hello, I have strange issue with example/vhost app. > > I had compiled DPDK to run a vhost exam

[dpdk-dev] [PATCH] eal_common_options.c: set create_uio_dev option to no argument

2015-03-23 Thread gaohaifeng
From: Haifeng Gao eal options OPT_CREATE_UIO_DEV does not need argument so set it to zero. It needs to reset create_uio_dev explicitly. Signed-off-by: Haifeng Gao --- lib/librte_eal/common/eal_common_options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal