mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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 <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
15f0127d1d
commit
c1f19b51d1
10
net/Kconfig
10
net/Kconfig
@@ -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.
|
||||
|
||||
config NETWORK_PHY_TIMESTAMPING
|
||||
bool "Timestamping in PHY devices"
|
||||
depends on EXPERIMENTAL
|
||||
help
|
||||
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.
|
||||
|
||||
menuconfig NETFILTER
|
||||
bool "Network packet filtering framework (Netfilter)"
|
||||
---help---
|
||||
|
Reference in New Issue
Block a user