How do I poll() over just one ring on netmap?

David dajose22 at gmail.com
Mon Nov 3 17:32:01 UTC 2014


hi,

I've been working with netmap with great results. My problem now is that I
haven't figure out how to poll on just one TX ring to check for space
available.

I have several tx ring connected. I've been working with the pkt-gen
example and I found a call to poll(), but when I step into the code that
handles that I notice it is going over all the available rings, regardless
I just want to send using one.

How do I poll() over just one ring?

Thanks

-- 
David Díaz Barquero

Ingeniería en Computadores
Tecnológico de Costa Rica


More information about the freebsd-net mailing list