Re: netmap packet timestamping

2016-02-18 Thread Luigi Rizzo
Hi, when you call poll() or one of the ioctl, the timestamp is saved in the netmap_ring and you can access it from there. This is roughly as good (or as bad) as the timestamp supplied by the OS kernel in the regular network stack. Differences: - the kernel network stack typically produces a timest

netmap packet timestamping

2016-02-15 Thread Chris Inacio
Hello all, I'm trying to write some code to work with netmap which previously worked with PCAP API. In the PCAP API it's easy enough to get the timestamp the packet arrived from the API, but I can't find that (easily) from the netmap API. I'm not concerned with Tx, only Rx. Is there an easy pla