On Fri, Apr 11, 2014 at 04:07:02PM +0800, Arnold kang wrote:
> Dear Richard,
>    i get my kernel from my chip vendor, yes, the mac driver is modified by
> them. maybe this is why the kernel crashed. but i really don't understand
> what* skb_tx_timestamp() *mean.   i search in google, there is no answer,
> and there is no prototype in kernel or other use in kernel code. can you
> tell me how to add it? thanks...

Regarding skb_tx_timestamp(), the prototype is found in
include/linux/skbuff.h, and it has been there since v2.6.36.

 * skb_tx_timestamp() - Driver hook for transmit timestamping
 *
 * Ethernet MAC Drivers should call this function in their hard_xmit()
 * function immediately before giving the sk_buff to the MAC hardware.

Once you fix your kernel crash, then you will need to add this into
the MAC driver as well.

The kernel crash has nothing to do with skb_tx_timestamp().
Unfortunately, I cannot help you with your vendor kernel.

Good luck,
Richard

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to