[dpdk-dev] No "pci_unbind.py" in tools subdirectory

2014-07-14 Thread BYEONG-GI KIM
Thank you for the reply. By the way, I got an error message while compiling Open vSwitch. Is it essential to bind a port to igb_uio module in order to compile Open vSwitch without error? I just wonder whether the errors attached below just happened because I did not bind the port to the module or

[dpdk-dev] No "pci_unbind.py" in tools subdirectory

2014-07-14 Thread BYEONG-GI KIM
Hello. I'm sorry for the repeated question. I finally compiled DPDK successfully (there was a problem in the source code what I downloaded), and I'm moving to compile dpdk-ovs. Before compiling it, I'm trying to binding a network port to igb_uio module. In the dpdk-getting-started-guide, "pci_un

[dpdk-dev] [PATCH v2] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
This is a Linux-specific virtual PMD driver backed by an AF_PACKET socket. This implementation uses mmap'ed ring buffers to limit copying and user/kernel transitions. The PACKET_FANOUT_HASH behavior of AF_PACKET is used for frame reception. In the current implementation, Tx and Rx queues are alw

[dpdk-dev] [PATCH] virtio: Fix 32bit pmd for 64bit kernel

2014-07-14 Thread Vijayakumar Muthuvel Manickam
*virtio_net_hdr_mem* member within *virtqueue* structure stores a physical address and is defined as void ptr. When 32bit pmd is used with 64bit kernel this leads to truncation of 64bit physical address and pkt i/o does not work. Changed *virtio_net_hdr_mem* to *phys_addr_t* type and removed the ty

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
On Sat, Jul 12, 2014 at 12:30:34AM +0200, Thomas Monjalon wrote: > About the form of the patch, I have 2 comments: > > 1) A doc explaining the design, the dependencies and how it can be used would > be a great help. Could you write it in rst format? What is rst format? Are there other examples

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread BYEONG-GI KIM
Dear Choi, Of course I used "export RTE_TARGET=x86_64-default-linuxapp-gcc" when I was trying to compile it. By the way, the compilation went off to one more step, there was another error message though; == Build lib/librte_eal/linuxapp/kni LD /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linux

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
On Mon, Jul 14, 2014 at 09:48:33AM -0400, John W. Linville wrote: > On Fri, Jul 11, 2014 at 11:51:08PM +0100, Bruce Richardson wrote: > > On Thu, Jul 10, 2014 at 04:32:49PM -0400, John W. Linville wrote: > > > This is a Linux-specific virtual PMD driver backed by an AF_PACKET > > I'm just trying t

[dpdk-dev] No "pci_unbind.py" in tools subdirectory

2014-07-14 Thread Aravind
Hi, You should be using igb_uio_bind.py , have a look at the quick start guide : http://dpdk.org/doc/quick-start On Mon, Jul 14, 2014 at 1:09 PM, BYEONG-GI KIM wrote: > Hello. > > I'm sorry for the repeated question. > > I finally compiled DPDK successfully (there was a problem in the source

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread BYEONG-GI KIM
Dear Choi I used x86_64-default-linuxapp-gcc. I also checked x86_64-native-linuxapp-gcc after exporting RTE_TARGET=x86_64-native-linuxapp-gcc, but there was a message "make[1]: Nothing to be done for `install'." while trying to install it. Best regards Byeong-Gi KIM 2014-07-14 11:40 GMT+09:0

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread BYEONG-GI KIM
Here is the error message in English; == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/igb_uio LD /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o CC [M] /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/l

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread Masaru Oki
> I'm sorry for the Korean characteristics. It was shown because My Fedora OS > is set to use Korean as a default language. Try env LANG=C make install ... 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM : > Dear choi, > > Thank you for the reply. > > I've been trying to install DPDK while changing th

[dpdk-dev] Hardware Offloads Support for VF

2014-07-14 Thread Alex Markuze
Hi, I have a Virtual setup with an Intel 82599 NIC (VF). I'm trying to Disable CRC stripping, and the flag is gracefully ignored. This seems to be documented In the DPDK June Release notes (6.16). Are these limitations (Jumbo Frames, CRC Stripping , Checksum ) are a NIC (HW/FW)limitations? Or is

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread BYEONG-GI KIM
Dear choi, Thank you for the reply. I've been trying to install DPDK while changing the command as you mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still shown; [root at compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc == Installing x86_64-

[dpdk-dev] MENNIC1.2 host-sim crashed for me

2014-07-14 Thread Srinivas Reddi
Hi, I want to run MEMNIC 1.2 application . 1. I compiled DPDK1.6 2. I compiled memnic.12 3. And while running memnic-hostsim appgot strucked 4. 5. [root at localhost host-sim]# ./memnic-host-sim /dev/shm/ivshm Bus error (core dumped) Core was generated by `./mem

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
On Fri, Jul 11, 2014 at 11:51:08PM +0100, Bruce Richardson wrote: > On Thu, Jul 10, 2014 at 04:32:49PM -0400, John W. Linville wrote: > > This is a Linux-specific virtual PMD driver backed by an AF_PACKET > > socket. This implementation uses mmap'ed ring buffers to limit copying > > and user/kerne

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
On Sat, Jul 12, 2014 at 12:34:46AM +0200, Thomas Monjalon wrote: > 2014-07-11 13:40, John W. Linville: > > Is there an example of code in DPDK that requires specific kernel > > versions? What is the preferred method for coding such dependencies? > > No there is no userspace code checking kernel v

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-14 Thread John W. Linville
On Sat, Jul 12, 2014 at 12:42:04AM +, Zhou, Danny wrote: > I just upgraded my kernel to 3.15.5 and hardcoded below captured from > include/uapi/linux/if_packet.h to librte_pmd_packet.c to workaround it, now I > can receive/transmit packet now. Commenting out PACKET_FANOUT_FLAG_ROLLOVER > wou

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread BYEONG-GI KIM
Hello. An error occured while compiling DPDK 1.6.0r2 as below: [root at compute dpdk-1.6.0r2]# make install T=x86_64*gcc ...Installing... /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function ?rte_eal_init?: /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error: form

[dpdk-dev] [Dpdk-ovs] No "pci_unbind.py" in tools subdirectory

2014-07-14 Thread Choi, Sy Jong
Hi Mr. Kim, I think DPDK r1.6 from dpdk.org has change certain file naming. I think it is ok to use the igb_uio_bind.py. Sometime, I would modprobe ?r ixgbe to remove some confusion on the binding. And only load igb_uio.ko from DPDK. Regards, Choi, Sy Jong Platform Application Engineer From:

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread De Lara Guarch, Pablo
Hi Byeong-gi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of BYEONG-GI KIM > Sent: Monday, July 14, 2014 5:44 AM > To: Choi, Sy Jong; Dpdk-ovs at lists.01.org; dev at dpdk.org > Subject: Re: [dpdk-dev] Error while compiling DPDK > > Dear Choi, > > Of cours

[dpdk-dev] Hardware Offloads Support for VF

2014-07-14 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alex Markuze > Sent: Monday, July 14, 2014 3:53 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Hardware Offloads Support for VF > > Hi, > I have a Virtual setup with an Intel 82599 NIC (VF). > > I'm trying to

[dpdk-dev] No "pci_unbind.py" in tools subdirectory

2014-07-14 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Aravind > Sent: Monday, July 14, 2014 8:52 AM > To: BYEONG-GI KIM > Cc: dev at dpdk.org; Dpdk-ovs at lists.01.org > Subject: Re: [dpdk-dev] No "pci_unbind.py" in tools subdirectory > > Hi, > > You should be usi

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread Neil Horman
On Mon, Jul 14, 2014 at 09:24:52AM +0900, BYEONG-GI KIM wrote: > Hello. > > An error occured while compiling DPDK 1.6.0r2 as below: > > [root at compute dpdk-1.6.0r2]# make install T=x86_64*gcc > ...Installing... > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function > ?rte_eal_in

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread Choi, Sy Jong
Hi Mr. Kim, If you are compiling x86_64-default-linuxapp-gcc The RTE_TARGET=x86_64-default-linuxapp-gcc I have manage to compile DPDK r1.6.0 with the following OS and kernel version CentOS with customer kernel Linux localhost.localdomain 3.3.1 #1 SMP Tue Jan 7 22:44:17 MYT 2014 x86_64 x86_64 x86

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread Choi, Sy Jong
Hi Mr. Kim, May confirm which environment are you using? x86_64-default-linuxapp-gcc or x86_64-native-linuxapp-gcc Regards, Choi, Sy Jong -Original Message- From: BYEONG-GI KIM [kimbyeonggi at gmail.com] Sent: Monday, July 14, 2014 10:05 AM Malay Peninsula

[dpdk-dev] Error while compiling DPDK

2014-07-14 Thread Choi, Sy Jong
Hi Mr. Kim, Please do not compile with "T=x86*gcc" because it will compile BSD app too, which cause the error. Please complile only the configuration you need. This should remove the error. Regards, Choi, Sy Jong -Original Message- From: BYEONG-GI KIM [kimbyeonggi at gmail.com