[dpdk-dev] RTE CRC hash function

2013-12-09 Thread Pashupati Kumar
Hi, I am looking at the DPDK implementation for the CRC hash function using Intel intrinsics. Shouldn't the order of the arguments being passed to _mm_crc32_u32 be reversed ? http://dpdk.org/doc/api/rte__hash__crc_8h.html For a quick reference, here is the code with Actual and Modified calls.

[dpdk-dev] Problem with QEMU

2013-12-09 Thread Jyotiswarup Raiturkar
--- a/mk/target/generic/rte.vars.mk +++ b/mk/target/generic/rte.vars.mk @@ -105,7 +105,7 @@ ifeq ($(KERNELRELEASE),) # merge all CFLAGS CFLAGS := $(CPU_CFLAGS) $(EXECENV_CFLAGS) $(TOOLCHAIN_CFLAGS) $(MACHINE_CFLAGS) -CFLAGS += $(TARGET_CFLAGS) +CFLAGS += $(TARGET_CFLAGS) -fPIC On Sat, Dec 7, 201

[dpdk-dev] Problem with QEMU

2013-12-09 Thread Thomas Monjalon
07/12/2013 16:02, Romulo Rosa : > Thanks for the feedback. I compiled the DPDK with the -fPIC option. Is > there any specific location in the Makefile DPDK where should I put the > -fPIC option? You can use EXTRA_CFLAGS=-fPIC on the command line. -- Thomas

[dpdk-dev] Problem with QEMU

2013-12-09 Thread Romulo Rosa
Just to record how I solved the problem for those who might have the same problem. Then run the command / configure - enable-kvm - dpdkdir = / path / to / dpdk - target-list = x86_64-softmmu --- a/dpdk-ovs/qemu/config-host.mak 2013-12-09 09:05:04.401122670 -0200 +++ b/dpdk-ovs/qemu/config-host.mak

[dpdk-dev] Problem with QEMU

2013-12-09 Thread Romulo Rosa
Hello guys, thanks for the help. Yesterday I could compile with-fPIC however'm already trying to solve another problem in compiling QEMU. I had the same problem compiling ovs. Jyotiswarup Raiturkar helped me with OVS and I'm trying to adapt the solution to this case. If you already know how to appr