此内容没有您所选择的语言版本。
23.2. Using PTP
			In order to use 
PTP, the kernel network driver for the intended interface has to support either software or hardware time stamping capabilities.
		23.2.1. Checking for Driver and Hardware Support
复制链接链接已复制到粘贴板!
				In addition to hardware time stamping support being present in the driver, the NIC must also be capable of supporting this functionality in the physical hardware. The best way to verify the time stamping capabilities of a particular driver and NIC is to use the ethtool utility to query the interface as follows: 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
				 Where eth3 is the interface you want to check.
			
				For software time stamping support, the parameters list should include: 
				
				 
				 
			
- SOF_TIMESTAMPING_SOFTWARE
- SOF_TIMESTAMPING_TX_SOFTWARE
- SOF_TIMESTAMPING_RX_SOFTWARE
				For hardware time stamping support, the parameters list should include: 
				
				 
				 
			
- SOF_TIMESTAMPING_RAW_HARDWARE
- SOF_TIMESTAMPING_TX_HARDWARE
- SOF_TIMESTAMPING_RX_HARDWARE