Thread (41 messages) flat view 41 messages, 6 authors, 2013-04-22

Re: [RFC] net : add tx timestamp to packet mmap.

From: Paul Chavent <hidden>
Date: 2012-12-13 07:15:38

After a sendmsg, we have to call recvmsg on the ERRQUEUE to get 
timestamp. I find that unfortunate indeed...

So this patch fix the tx timestamping (that take place in sendmsg), in 
order to be able to get timestamp (via recvmsg).

This seems suboptimal to me, that why i also ask if it wouldn't be 
possible to put the timestamp in the ring buffer frame before give it 
back to user.

Thanks for your reading.


On 12/12/2012 08:23 PM, David Miller wrote:
You're changing the code that handles sendmsg() and then wondering why
a recvmsg() call doesn't provide a timestamp.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help