[dpdk-dev] Loop back mode of the KNI

2013-12-25 Thread Zhang, Helin
Hi Daniel Thanks for your good catch! Yes. That's a bug, and it will be fixed in later DPDK releases. Regards, Helin -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Kaminsky Sent: Friday, December 20, 2013 12:36 AM To: dev at dpdk.org Subject: [dpdk-dev] Lo

[dpdk-dev] Fwd: problem in running KNI application

2013-12-25 Thread Jose Gavine Cueto
Looking back in your first email and reading some of the kni sample application code, it seems to me that the application maps an lcore to one port. Based on these snippets, 1.) --- kni/main.c:930 rte_eal_mp_remote_launch(main_loop, NULL, CALL_MASTER); 2.) -- kni/main.c:379 if (flag == LCORE_R

[dpdk-dev] Fwd: problem in running KNI application

2013-12-25 Thread Jose Gavine Cueto
Cr, Sorry, my previous reply is meant for the PM you've sent. Please ignore the preceeding reply. Cheers, Pepe On Wed, Dec 25, 2013 at 1:46 PM, Jose Gavine Cueto wrote: > Looking back in your first email and reading some of the kni sample > application code, it seems to me that the applicatio

[dpdk-dev] Loop back mode of the KNI

2013-12-25 Thread Daniel Kaminsky
Thanks Helin, The "fix" below works for me but I don't think it's complete and correct for all kernels. Daniel Index: src/kernel/fast_kni/kni_net.c === --- src/kernel/fast_kni/kni_net.c +++ src/kernel/fast_kni/kni_net.c @@ -353,6 +3