[PATCH v2 net-next 2/2] gianfar: Add hardware TX timestamping support
davem at davemloft.net
Tue Apr 13 18:52:48 EST 2010
From: Manfred Rudigier <Manfred.Rudigier at omicron.at>
Date: Fri, 9 Apr 2010 11:10:35 +0200
> If a packet has the skb_shared_tx->hardware flag set the device is
> instructed to generate a TX timestamp and write it back to memory after
> the frame is transmitted. During the clean_tx_ring operation the
> timestamp will be extracted and copied into the skb_shared_hwtstamps
> struct of the skb.
> TX timestamping is enabled by setting the tx_type to something else
> than HWTSTAMP_TX_OFF with the SIOCSHWTSTAMP ioctl command. It is only
> supported by eTSEC devices.
> Signed-off-by: Manfred Rudigier <manfred.rudigier at omicron.at>
Applied to net-next-2.6
More information about the Linuxppc-dev