Re: Netmap: head vs cur vs tail?

2014-10-18 Thread Matthew P. Grosvenor
Thanks! This has tons more info. I'll have a read. --- Sent from my phone, sorry about the typos. On 17 Oct 2014, at 18:27, Luigi Rizzo ri...@iet.unipi.it wrote: On Fri, Oct 17, 2014 at 9:55 AM, Matthew P. Grosvenor matthew.grosve...@cl.cam.ac.uk wrote: Hi all, I’m trying

Netmap: head vs cur vs tail?

2014-10-17 Thread Matthew P. Grosvenor
Hi all, I’m trying to understand how to use the netmap framework, specifically how the head, tail and current “pointers” interact with each other. Looking in man NETMAP(4) (http://www.freebsd.org/cgi/man.cgi?query=netmapsektion=4) under data structures, struct netmap_ring it says:

Re: Netmap: head vs cur vs tail?

2014-10-17 Thread Luigi Rizzo
On Fri, Oct 17, 2014 at 9:55 AM, Matthew P. Grosvenor matthew.grosve...@cl.cam.ac.uk wrote: Hi all, I’m trying to understand how to use the netmap framework, specifically how the head, tail and current “pointers” interact with each other. Looking in man NETMAP(4) (