[dpdk-dev] [PATCH] pcap: Fixed bug in eth_pcap_rx function

2014-08-05 Thread Pablo de Lara
Normally, bufs[i] stores the mbuf pointer, the index of buf[i] is the loop count i, but if header.len > buf_size, DPDK will free the mbuf, but the loop count i still increases, so some of the items in bufs[] might be NULL ponter, causing a potential DPDK core. Using num_rx as the index for bufs[] s

[dpdk-dev] [Dpdk-ovs] Questions about the OpenStack Neutron with Intel Architecture document

2014-08-05 Thread BYEONG-GI KIM
Thank you for the reply. I installed DPDK 1.7.0 on RedHat 6.5 with Kernel 3.7.10 and it seems compiled successfully. When execute the HelloWorld example, however, there was a panic error as below: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size PANIC in rte_e

[dpdk-dev] [Dpdk-ovs] Questions about the OpenStack Neutron with Intel Architecture document

2014-08-05 Thread BYEONG-GI KIM
The command shows "nodev on /mnt/huge type hugetlbfs (rw)", so I think it has been mounted correctly. By the way, I could execute HelloWorld example file by setting all the things through ./tools/setup.sh I'm still not sure which part was not set correctly though. Thanks anyway. Best regards B

[dpdk-dev] Question on using SR-IOV with dpdk apps

2014-08-05 Thread Patrick McGleenon
I had this when the PF was down, bringing it back with "ifup" fixed it. Assuming you've already checked it's not the issue described in the FAQ :) With a RHEL 6.5 host the ixgbe driver prints the VF MAC addresses in /var/log/syslog when the VFs are enabled -Original Message- From: dev

[dpdk-dev] Question on using SR-IOV with dpdk apps

2014-08-05 Thread Xie, Huawei
Since some version of ixgbe driver, it will not generate mac address for the VFs. You could use ip link set to set mac address for the VFs. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Patrick McGleenon > Sent: Tuesday, August 05, 2014 10:39 PM > To: Anj

[dpdk-dev] [PATCH] acl: If build does not support sse4.2, emulate missing instructions with C code

2014-08-05 Thread Ananyev, Konstantin
Hi Neil, > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, August 04, 2014 4:36 PM > To: dev at dpdk.org > Cc: Neil Horman; Thomas Monjalon; Ananyev, Konstantin; Richardson, Bruce > Subject: [PATCH] acl: If build does not support sse4.2, emulate missing > instructions with C c

[dpdk-dev] Recommended LNS-compatible host interface?

2014-08-05 Thread Finucane, Stephen
Hi, DPDK supports a number of different interface types. Given this, at this time what is the favoured (virtual) interface type for host-only applications where Linux network stack compatibility is required? Previously we used KNI (we found this to be "unreliable" when not bound to a real ethde

[dpdk-dev] [PATCH v3] lib/librte_vhost: user space vhost driver library

2014-08-05 Thread Huawei Xie
This user space vhost library is provided aiming to facilitate integration with DPDK accelerated vswitch. Huawei Xie (1): vhost library support to facilitate integration with DPDK accelerated vswitch. config/common_linuxapp |7 + lib/Makefile

[dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch.

2014-08-05 Thread Xie, Huawei
This v3 patch fixes plenty of checkpatch issues. > -Original Message- > From: Xie, Huawei > Sent: Tuesday, August 05, 2014 11:54 PM > To: dev at dpdk.org > Cc: Xie, Huawei > Subject: [PATCH v3] lib/librte_vhost: vhost library support to facilitate > integration with DPDK accelerated vswitc

[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

2014-08-05 Thread Huawei Xie
This vhost example implements a simple vswitch using DPDK user space vhost library(lib/librte_vhost) and VMDQ to demonstrate vhost's performance. - Each virtio device is bound to a VMDQ pool and each pool is assigned the mac/vlan of the virtio device. - Packets arriving at a pool after l2 classif

[dpdk-dev] [PATCH 1/3] examples/vhost: remove old vhost example

2014-08-05 Thread Huawei Xie
Old vhost example is refactored into a user space vhost library and a new example. Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev --- examples/vhost/Makefile| 60 - examples/vhost/eventfd_link/Makefile | 39 - examples/vhost/eventfd_link/eventfd_link.c |

[dpdk-dev] [PATCH 2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk

2014-08-05 Thread Huawei Xie
Vhost library is turned off by default as it depends on fuse library. User needs to turn on vhost in configure file manually. Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev --- mk/rte.app.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 34

[dpdk-dev] [PATCH 3/3] examples/vhost: add new vhost example

2014-08-05 Thread Huawei Xie
Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev --- examples/vhost/Makefile | 52 + examples/vhost/libvirt/qemu-wrap.py | 366 + examples/vhost/main.c | 3047 +++ examples/vhost/main.h | 109 ++ 4 files change

[dpdk-dev] [PATCH v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch.

2014-08-05 Thread Huawei Xie
Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev Acked-by: Tommy Long --- config/common_linuxapp |7 + lib/Makefile |1 + lib/librte_vhost/Makefile| 48 ++ lib/librte_vhost/eventfd_link/Makefile |

[dpdk-dev] [PATCH] acl: If build does not support sse4.2, emulate missing instructions with C code

2014-08-05 Thread Neil Horman
On Tue, Aug 05, 2014 at 03:26:27PM +, Ananyev, Konstantin wrote: > Hi Neil, > > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, August 04, 2014 4:36 PM > > To: dev at dpdk.org > > Cc: Neil Horman; Thomas Monjalon; Ananyev, Konstantin; Richardson, Bruce > > Subject: [PAT

[dpdk-dev] [PATCH 3/3] examples/vhost: add new vhost example

2014-08-05 Thread Stephen Hemminger
> +static const uint16_t external_pkt_default_vlan_tag = 2000; > +const uint16_t vlan_tags[] = { > + 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, > + 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, > + 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, > + 1024, 1025, 1026, 1027, 1