xmm1989218 / netmap

Automatically exported from code.google.com/p/netmap
0 stars 0 forks source link

pkt-gen -frx -p8 gets stuck with many "kring error" messages #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install two 10Gb NICs, connect them with a patch cord
2. start a receiver: ./pkt-gen -frx -ip4p1 -p8
3. start a transmitter: ./pkt-gen -ftx -ip1p1 -R8000000
4. stop the transmitter
5. stop the receiver

What is the expected output? What do you see instead?
Steady reception of about 8e6 pps is expected.
Instead, the receiver soon starts printing "0 pps" and many "kring error" 
messages are seen with dmesg.
The receiver works just fine with "-p1", the problem only appears with more 
than one thread.

What version of the product are you using? On what operating system?
$ git clone https://code.google.com/p/netmap/
...
$ uname -a
Linux dc.avp.ru 3.14.9-200.fc20.x86_64 #1 SMP Thu Jun 26 21:40:51 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.
$ lspci
...
01:00.0 Ethernet controller: Intel Corporation 82598EB 10-Gigabit AF Network 
Connection (rev 01)
05:00.0 Ethernet controller: Intel Corporation 82598EB 10-Gigabit AF Network 
Connection (rev 01)

Original issue reported on code.google.com by denis.ye...@gmail.com on 4 Jul 2014 at 11:43

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your report.

I tried to fix this problem.

Can you try to apply this patch?
Is the problem fixed?

Regards,
Stefano

Original comment by stefanog...@gmail.com on 8 Jul 2014 at 2:09

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you, Stefano! Your patch fixed it.

Original comment by denis.ye...@gmail.com on 8 Jul 2014 at 6:06

GoogleCodeExporter commented 9 years ago
Well!

If you have any other problems or suggestions, write to us these.

Thank you,
Stefano

Original comment by stefanog...@gmail.com on 8 Jul 2014 at 6:23