Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Arnold kang
Dear Richard, Recently, i need to use the ptp with hardware, and have a trouble, as i asked, can not get the txtstamp when it run after one minute. i checked every code, but didn't find why. i read your paper from IEEE, i still can't understand how kernel put the timestamp to skb when send o

Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Arnold kang
Dear Richard, when a request packet send to master, this packet will be cloned to dp83640->tx_queue, but i still don't know how the hardware be add to skb, and how the status frame be generated? thanks Arnold 2014-04-26 17:05 GMT+08:00 Richard Cochran : > On Sat, Apr 26, 2014 at 04:20:28PM

Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Arnold kang
Dear Richard, when a request packet send to master, this packet will be cloned to dp83640->tx_queue, but i still don't know how the hardware be add to skb, and how the status frame be generated? thanks Arnold 2014-04-26 17:05 GMT+08:00 Richard Cochran : > On Sat, Apr 26, 2014 at 04:20:28PM

Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Richard Cochran
On Sat, Apr 26, 2014 at 04:20:28PM +0800, Arnold kang wrote: > Dear Richard, > and dp83640_txtstamp call this function, the only thing do is Clear out > expired time stamps, right? Yes, probably. I don't remember why the transmit function schedules the work. It might be left over from a previous

Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Arnold kang
Dear Richard, and dp83640_txtstamp call this function, the only thing do is Clear out expired time stamps, right? if you don't mind i will continue send mail for help, if you think i'm a trouble, please tell me, i will stop. you help me so much, and i don't know how to thank you. Arnold.Kang

Re: [Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-26 Thread Richard Cochran
On Sat, Apr 26, 2014 at 02:06:08PM +0800, Arnold kang wrote: > Dear Developers, > can some one tell me whia't rx_timestamp_work is used for in > dp83640.c, thanks! This is a Linux work item, which is a kind of delayed execution. Its purpose is to match PTP packets with their time stamps and

[Linuxptp-devel] what is the function " rx_timestamp_work" used for?

2014-04-25 Thread Arnold kang
Dear Developers, can some one tell me whia't rx_timestamp_work is used for in dp83640.c, thanks! ps. i know maybe i can't post this in here.but, i need this help, and only here can help me. thanks again -- Start