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

Unable to attach to a netmap host ring #56

Open
piotrjurkiewicz opened this issue Feb 27, 2018 · 1 comment
Open

Unable to attach to a netmap host ring #56

piotrjurkiewicz opened this issue Feb 27, 2018 · 1 comment

Comments

@piotrjurkiewicz
Copy link
Contributor

piotrjurkiewicz commented Feb 27, 2018

FastClick is unable to attach to a host ring (using netmap:eth0^ interface name). It seems that it always attach to default hardware rings, no matter what modifier is given after interface name. In vanilla Click attaching to host rings works as expected. The same goes with pipes.

Receiving packets from host ring is useful when some control applications need to be run in userspace. In my case I run Quagga daemons on each router. They need to exchange routing protocol control packets. In vanilla Click I receive Quagga packets from host ring (with FromDevice(netmap:eth0^)) and inject them to ToDevice(netmap:eth0), providing connectivity between Quagga and physical interface. In FastClick it is impossible.

@tbarbette
Copy link
Owner

Yes this is true. The problem is that FastClick needs to overwrite some specifiers because we decide by ourselves how many queues to attach to, and the core assignments.
For that reason there is some manual parsing that does not support rings. I completely agree with you that they are useful, but recently I used more DPDK and FastClick has proper ring support for it.

If you feel like it you can send a PR. Not sure when I'll be able to look at it.

Btw, there was some problem with Netmap on mainline recently, it works as it for you?

@tbarbette tbarbette self-assigned this Dec 3, 2018
@tbarbette tbarbette added the bug label Jan 28, 2020
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