]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49dcde656c0c3517d14c4fcc49d0516c1b9a0b93
treec6213bbd5f83b8dc4a5dd06f35792beb91116bd7
parent808f9000331cf4e0685bb801c8c50398192612e8
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