ethtool: Add a common function for drivers with transmit time stamping.
authorRichard Cochran <richardcochran@gmail.com>
Tue, 3 Apr 2012 22:59:22 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 09:28:46 +0000 (05:28 -0400)
commit02eacbd0c405d378d2357e8e0fac5de981bd40f8
treec6213bbd5f83b8dc4a5dd06f35792beb91116bd7
parent509a7c25729feab353502e1b544c614772a1d49a
ethtool: Add a common function for drivers with transmit time stamping.

Currently, most drivers do not support transmit SO_TIMESTAMPING. For those
that do support it, there is one appropriate response to the get_ts_info
query. This patch adds a common function providing this response.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/core/ethtool.c