/Linux-v5.15/Documentation/networking/ |
D | timestamping.rst | 4 Timestamping chapter 24 Same timestamping mechanism as SO_TIMESTAMP, but reports the 45 This socket option enables timestamping of datagrams on the reception 98 requested by a particular socket, such as when receive timestamping is 171 have multiple concurrent timestamping requests outstanding. Packets 284 The SO_TIMESTAMPING interface supports timestamping of bytes in a 286 entire contents of the buffer has passed a timestamping point. That 465 3. Hardware Timestamping configuration: SIOCSHWTSTAMP and SIOCGHWTSTAMP 546 3.1 Hardware Timestamping Implementation: Device Drivers 582 and hardware timestamping is not possible (SKBTX_IN_PROGRESS not set). [all …]
|
D | index.rst | 106 timestamping
|
/Linux-v5.15/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 29 /* enabled tx timestamping */ in hellcreek_get_ts_info() 38 /* Enabling/disabling TX and RX HW timestamping for different PTP messages is 64 /* TX HW timestamping can't be disabled on the switch */ in hellcreek_set_hwtstamp_config() 74 /* RX HW timestamping can't be disabled on the switch */ in hellcreek_set_hwtstamp_config() 92 /* RX HW timestamping can't be enabled for all messages on the switch */ in hellcreek_set_hwtstamp_config() 109 * enable the interaction with the HW timestamping in hellcreek_set_hwtstamp_config() 202 /* Get nanoseconds timestamp from timestamping unit */ 239 dev_err(hellcreek->dev, "Wrong port for timestamping!\n"); in hellcreek_txtstamp_work() 392 * and the interaction with the HW timestamping is enabled. If not, stop in hellcreek_port_txtstamp() 429 * timestamping beforehand. in hellcreek_port_rxtstamp() [all …]
|
D | hellcreek.h | 225 /* A structure to hold hardware timestamping information per port */ 227 /* Timestamping state */ 230 /* Resources for receive timestamping */ 233 /* Resources for transmit timestamping */ 248 /* Per-port timestamping resources */
|
/Linux-v5.15/net/mptcp/ |
D | sockopt.c | 210 struct so_timestamping timestamping; in mptcp_setsockopt_sol_socket_timestamping() local 213 if (optlen == sizeof(timestamping)) { in mptcp_setsockopt_sol_socket_timestamping() 214 if (copy_from_sockptr(×tamping, optval, in mptcp_setsockopt_sol_socket_timestamping() 215 sizeof(timestamping))) in mptcp_setsockopt_sol_socket_timestamping() 218 memset(×tamping, 0, sizeof(timestamping)); in mptcp_setsockopt_sol_socket_timestamping() 220 if (copy_from_sockptr(×tamping.flags, optval, sizeof(int))) in mptcp_setsockopt_sol_socket_timestamping() 227 KERNEL_SOCKPTR(×tamping), in mptcp_setsockopt_sol_socket_timestamping() 228 sizeof(timestamping)); in mptcp_setsockopt_sol_socket_timestamping() 238 sock_set_timestamping(sk, optname, timestamping); in mptcp_setsockopt_sol_socket_timestamping()
|
/Linux-v5.15/include/uapi/linux/ |
D | errqueue.h | 49 * The timestamping interfaces SO_TIMESTAMPING, MSG_TSTAMP_* 51 * recvmsg(). See Documentation/networking/timestamping.rst for details.
|
/Linux-v5.15/drivers/net/ethernet/cavium/ |
D | Kconfig | 60 Timestamping coprocessor (PTP) found on Cavium processors. 61 PTP provides timestamping mechanism that is suitable for use in IEEE 1588
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.h | 520 enum hwtstamp_tx_types tx_tstamp_type; /* Tx timestamping type */ 521 bool rx_tstamp; /* Rx timestamping enabled */ 563 /* The one-step timestamping configuration on hardware 565 * timestamping frames are in flight. So we use a mutex 567 * one-step timestamping packet through TX confirmation 687 /* If we have Tx timestamping, need 128B hardware annotation */ in dpaa2_eth_needed_headroom()
|
/Linux-v5.15/net/dccp/ccids/ |
D | ccid2.h | 14 * CCID-2 timestamping faces the same issues as TCP timestamping.
|
/Linux-v5.15/drivers/net/ethernet/cavium/thunder/ |
D | nic.h | 334 /* Inbound timestamping is on */ 336 /* When the packet that requires timestamping is sent, hardware inserts 349 * requires timestamping. Cavium hardware can not process more than one 351 * a packet that requires timestamping to the send queue and clears 355 * packet that requires timestamping to the hardware for transmitting.
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 3 * Marvell 88E6xxx Switch hardware timestamping support 118 /* The switch supports timestamping both L2 and L4; one cannot be in mv88e6xxx_set_hwtstamp_config() 566 /* Disable timestamping on all ports. */ in mv88e6xxx_hwtstamp_setup() 586 * timestamp. This affects all ports that have timestamping enabled, in mv88e6xxx_hwtstamp_setup() 601 /* 88E6341 devices default to timestamping at the PHY, but this has in mv88e6xxx_hwtstamp_setup()
|
D | Kconfig | 18 Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
|
D | chip.h | 209 /* Timestamping state */ 212 /* Resources for receive timestamping */ 216 /* Resources for transmit timestamping */ 382 /* Per-port timestamping resources. */
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 944 * ixgbe_ptp_get_ts_config - get current hardware timestamping configuration 948 * This function returns the current timestamping settings. Rather than 977 * Since hardware always timestamps Path delay packets when timestamping V2 1046 /* The X550 controller is capable of timestamping all packets, in ixgbe_ptp_set_timestamp_mode() 1061 * timestamping all packets => return error in ixgbe_ptp_set_timestamp_mode() 1077 /* Per-packet timestamping only works if the filter is set to all in ixgbe_ptp_set_timestamp_mode() 1085 /* enable timestamping all packets only if at least some in ixgbe_ptp_set_timestamp_mode() 1087 * timestamping in ixgbe_ptp_set_timestamp_mode() 1104 /* define ethertype filter for timestamping L2 packets */ in ixgbe_ptp_set_timestamp_mode() 1108 IXGBE_ETQF_1588 | /* enable timestamping */ in ixgbe_ptp_set_timestamp_mode() [all …]
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 226 DP_ERR(edev, "One-step timestamping is not supported\n"); in qede_ptp_cfg_filters() 420 /* Init work queue for Tx timestamping */ in qede_ptp_init() 504 DP_ERR(edev, "Timestamping in progress\n"); in qede_ptp_tx_ts() 511 "Tx timestamping was not enabled, this packet will not be timestamped\n"); in qede_ptp_tx_ts()
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | .gitignore | 31 timestamping
|
/Linux-v5.15/Documentation/sound/designs/ |
D | index.rst | 10 timestamping
|
D | timestamping.rst | 2 ALSA PCM Timestamping 119 Due to the varied nature of timestamping needs, even for a single 146 Examples of timestamping with HDAudio:
|
/Linux-v5.15/net/ |
D | Kconfig | 112 bool "Timestamping in PHY devices" 115 This allows timestamping of network packets by PHYs (or 116 other MII bus snooping devices) with hardware timestamping
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.h | 200 bool tx_tstamp; /* Tx timestamping enabled */ 201 bool rx_tstamp; /* Rx timestamping enabled */
|
/Linux-v5.15/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 326 * the upper level timestamping functions. Since the timestamp is simply a 64- 697 * configured for Tx timestamping, we check if Rx timestamping is in i40e_ptp_rx_hang() 837 * doing Tx timestamping, check if Rx timestamping is configured. in i40e_ptp_rx_hwtstamp() 933 * i40e_ptp_get_ts_config - ioctl interface to read the HW timestamping 937 * Obtain the current hardware timestamping settigs as requested. To do this, 1315 * i40e_ptp_set_ts_config - ioctl interface to control the HW timestamping 1320 * changes here. The XL710 cannot support splitting of the Tx/Rx timestamping 1542 /* reset timestamping mode */ in i40e_ptp_init()
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 10 * ice_set_tx_tstamp - Enable or disable Tx timestamping 41 * ice_set_rx_tstamp - Enable or disable Rx timestamping 67 * This function will configure timestamping during PTP initialization 906 * ice_ptp_get_ts_config - ioctl interface to read the timestamping config 910 * Copy the timestamping config to user buffer 977 * ice_ptp_set_ts_config - ioctl interface to control the timestamping 1384 * discarded before it reaches the PHY timestamping block. 1528 /* Disable timestamping for both Tx and Rx */ in ice_ptp_init() 1577 /* Disable timestamping for both Tx and Rx */ in ice_ptp_release()
|
/Linux-v5.15/net/netfilter/ |
D | nf_conntrack_timestamp.c | 20 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-intel.h | 40 /* Cross-timestamping defines */
|
/Linux-v5.15/sound/core/seq/ |
D | seq_ports.c | 343 /* timestamping */ in snd_seq_set_port_info() 344 port->timestamping = (info->flags & SNDRV_SEQ_PORT_FLG_TIMESTAMP) ? 1 : 0; in snd_seq_set_port_info() 376 /* timestamping */ in snd_seq_get_port_info() 378 if (port->timestamping) { in snd_seq_get_port_info()
|