diff options
author | Manfred Rudigier <Manfred.Rudigier@omicron.at> | 2010-04-08 19:10:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 04:41:31 -0400 |
commit | f0ee7acfcdd4169cee2fefc630de72deb5bc34b9 (patch) | |
tree | 161b16941b8c11023a9fb24324f22463dd16f163 /drivers/net/ne2.c | |
parent | cc772ab7cdcaa24d1fae332d92a1602788644f7a (diff) |
gianfar: Add hardware TX timestamping support
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@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ne2.c')
0 files changed, 0 insertions, 0 deletions