[dpdk-dev] KNI automatic IP configuration

2015-04-16 Thread Olivier Deme
NIC devices. > > Do you know your NIC device type or device_id? > >> -Original Message- >> From: Olivier Deme [mailto:odeme at druidsoftware.com] >> Sent: Sunday, April 05, 2015 1:03 AM >> To: Zhou, Danny >> Cc: dev at dpdk.org >> Subjec

[dpdk-dev] freeze with dpdk-2.0.0

2015-04-15 Thread Olivier Deme
have the application being configured with all network interfaces to be bound to DPDK. Thanks, Olivier. On 15/04/15 04:45, Ouyang, Changchun wrote: > Hi Oliver > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Deme >> S

[dpdk-dev] freeze with dpdk-2.0.0

2015-04-14 Thread Olivier Deme
Hi, I am trying to use DPDK-2.0.0 on Fedora 20 running in a qemu virtual machine. After loading the uio and igb_uio module and setting up hugepages, I try to run the helloworld demo application. As soon as the helloworld displays the "hello from core 1, hello from core 0" messages, I loose all

[dpdk-dev] KNI automatic IP configuration

2015-04-04 Thread Olivier Deme
l Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Deme >> Sent: Friday, April 03, 2015 10:03 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] KNI automatic IP configuration >> >> Hi all, >> >> Is it possible on Linux to get the

[dpdk-dev] KNI automatic IP configuration

2015-04-03 Thread Olivier Deme
Hi all, Is it possible on Linux to get the Linux network manager to automatically configure a KNI virtual network interface as soon as it comes up? I haven?t been able to get Fedora to apply the configuration under /etc/sysconfig/network-scripts/ifcfg-veth0 file upon starting my DPDK applicatio

[dpdk-dev] Need some info on DPDK

2015-03-23 Thread Olivier Deme
It's all in the docs. http://dpdk.org/doc/guides/prog_guide/libpcap_ring_based_poll_mode_drv.html http://dpdk.org/doc/api/rte__ethdev_8h.html#a5686df2817980236f2c4f1cc72dd2c30 On 23/03/15 09:00, Shankari Vaidyalingam wrote: > Hi > > Need some info on: > (1) How to capture packets received on the

[dpdk-dev] [PATCH] kni:optimization of rte_kni_rx_burst

2015-02-25 Thread Olivier Deme
. >> Regards, >> Hemant >> >>> -Original Message- >>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Deme >>> Sent: 25/Feb/2015 5:44 PM >>> To: dev at dpdk.org >>> Subject: Re: [dpdk-dev] [PATCH] kni:optimization of rte

[dpdk-dev] [PATCH] kni:optimization of rte_kni_rx_burst

2015-02-25 Thread Olivier Deme
wrote: > Hi OIivier >Comments inline. > Regards, > Hemant > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Deme >> Sent: 25/Feb/2015 5:44 PM >> To: dev at dpdk.org >> Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH] kni:optimization of rte_kni_rx_burst

2015-02-25 Thread Olivier Deme
Thank you Hemant, I think there might be one issue left with the patch though. The alloc_q must initially be filled with mbufs before getting mbuf back on the tx_q. So the patch should allow rte_kni_rx_burst to check if alloc_q is empty. If so, it should invoke kni_allocate_mbufs(kni, 0) (to fil

[dpdk-dev] rte_kni_rx_burst issues

2015-02-24 Thread Olivier Deme
All, I know that an issue was already raised with regards to the efficiency of rte_kni_rx_burst but I think that there is more to it than previously discussed. As previously pointed out rte_kni_rx_burst invokes kni_allocate_mbufs every single time. In turn, it looks like kni_allocate_mbufs all