|author||Richard Cochran <email@example.com>||2010-07-17 08:49:36 +0000|
|committer||David S. Miller <firstname.lastname@example.org>||2010-07-18 19:15:26 -0700|
net: support time stamping in phy devices.
This patch adds a new networking option to allow hardware time stamps from PHY devices. When enabled, likely candidates among incoming and outgoing network packets are offered to the PHY driver for possible time stamping. When accepted by the PHY driver, incoming packets are deferred for later delivery by the driver. The patch also adds phylib driver methods for the SIOCSHWTSTAMP ioctl and callbacks for transmit and receive time stamping. Drivers may optionally implement these functions. Signed-off-by: Richard Cochran <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Diffstat (limited to 'net/Kconfig')
1 files changed, 10 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 0d68b40fc0e..b3250944cde 100644
@@ -86,6 +86,16 @@ config NETWORK_SECMARK
to nfmark, but designated for security purposes.
If you are unsure how to answer this question, answer N.
+ bool "Timestamping in PHY devices"
+ depends on EXPERIMENTAL
+ This allows timestamping of network packets by PHYs with
+ hardware timestamping capabilities. This option adds some
+ overhead in the transmit and receive paths.
+ If you are unsure how to answer this question, answer N.
bool "Network packet filtering framework (Netfilter)"