bloodtornado / netmap

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

examples/bridge to pass from stack to nic does not work on e1000e #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. clone repo and checkout commit e0aaedfadb...
2. compile and insert modules
3. compile examples/bridge
4. sudo ./bridge -i eth0

What is the expected output? What do you see instead?
Packets are not passed between the host stack and the interface. I used gdb and 
I could see that nm_ring_space(txring) - in this case the hw ring - always 
returns 0.

What version of the product are you using? On what operating system?
Ubuntu 12.04.3 LTS, kernel 3.5.0-43-generic. I updated to latest but the 
problem can be seen starting from the commit indicate above. My machine is a HP 
ProBook 6560b, intel i3-2350M and an e1000e NIC.

Please provide any additional information below.

Original issue reported on code.google.com by ciprian....@linaro.org on 21 Jan 2014 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by giuseppe.lettieri73 on 26 Feb 2014 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by giuseppe.lettieri73 on 26 Feb 2014 at 9:35

GoogleCodeExporter commented 9 years ago
We reproduced your problem, trying to ping a remote machine, where the 
destination IP is reached through eth0.
In our experiment ping works for a while (say 15 packets) and then packets stop 
being passed between the host stack and interface.

After this fix 

     http://code.google.com/p/netmap/source/detail?r=bc3eb738c89a84c5b4db2855a541e0428377d79d

the problem disappeared for us.

Original comment by v.maffi...@gmail.com on 27 Feb 2014 at 8:10