Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@samiruor
Copy link

Hi,

Facing the same issue for e1000 on git head: add1e50
Only ~49 packets are transferred, then bridge application hangs with timeouts prints. Also I observed that if I keep the application running, after sometime another burst of 49 packets are transferred followed by timeouts.

Note: I am running the example inside a virtual machine.

Thanks,
Samir

john-gress pushed a commit to john-gress/netmap that referenced this issue Nov 3, 2015
Don't use make install in rpmbuild
john-gress pushed a commit to john-gress/netmap that referenced this issue Nov 3, 2015
giuseppelettieri pushed a commit that referenced this issue Dec 20, 2017
@m1357 m1357 mentioned this issue Jul 29, 2019
@Fr3DBr Fr3DBr mentioned this issue Feb 26, 2021
giuseppelettieri pushed a commit that referenced this issue Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants