| /dpdk/app/test-pmd/ |
| H A D | ieee1588fwd.c | 57 struct timespec timestamp = {0, 0}; in port_ieee1588_rx_timestamp_check() local 59 if (rte_eth_timesync_read_rx_timestamp(pi, ×tamp, index) < 0) { in port_ieee1588_rx_timestamp_check() 64 pi, (uintmax_t)timestamp.tv_sec, timestamp.tv_nsec); in port_ieee1588_rx_timestamp_check() 72 struct timespec timestamp = {0, 0}; in port_ieee1588_tx_timestamp_check() local 75 while ((rte_eth_timesync_read_tx_timestamp(pi, ×tamp) < 0) && in port_ieee1588_tx_timestamp_check() 88 pi, (uintmax_t)timestamp.tv_sec, timestamp.tv_nsec, wait_us, in port_ieee1588_tx_timestamp_check()
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_ptp.c | 44 struct timespec *timestamp) in dpaa2_timesync_read_time() argument 58 *timestamp = rte_ns_to_timespec(ns); in dpaa2_timesync_read_time() 110 struct timespec *timestamp) in dpaa2_timesync_read_tx_timestamp() argument 120 *timestamp = rte_ns_to_timespec(priv->tx_timestamp); in dpaa2_timesync_read_tx_timestamp() 126 struct timespec *timestamp, in dpaa2_timesync_read_rx_timestamp() argument 130 *timestamp = rte_ns_to_timespec(priv->rx_timestamp); in dpaa2_timesync_read_rx_timestamp()
|
| H A D | dpaa2_ethdev.h | 275 struct timespec *timestamp); 277 const struct timespec *timestamp); 280 struct timespec *timestamp, 283 struct timespec *timestamp);
|
| /dpdk/drivers/net/nfb/ |
| H A D | nfb_rx.h | 201 rte_mbuf_timestamp_t timestamp; in nfb_eth_ndp_rx() local 204 timestamp = in nfb_eth_ndp_rx() 207 timestamp <<= 32; in nfb_eth_ndp_rx() 209 timestamp |= in nfb_eth_ndp_rx() 212 *nfb_timestamp_dynfield(mbuf) = timestamp; in nfb_eth_ndp_rx()
|
| /dpdk/drivers/regex/cn9k/ |
| H A D | cn9k_regexdev_compiler.c | 133 char timestamp[] = "19700101_000001"; in cn9k_ree_rule_db_compile_prog() local 173 rof_inc.timestamp = timestamp; in cn9k_ree_rule_db_compile_prog() 183 rofi_inc.timestamp = timestamp; in cn9k_ree_rule_db_compile_prog()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ptp.c | 140 struct timespec *timestamp, uint32_t flags) in cnxk_nix_timesync_read_rx_timestamp() argument 152 *timestamp = rte_ns_to_timespec(ns); in cnxk_nix_timesync_read_rx_timestamp() 159 struct timespec *timestamp) in cnxk_nix_timesync_read_tx_timestamp() argument 169 *timestamp = rte_ns_to_timespec(ns); in cnxk_nix_timesync_read_tx_timestamp()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ptp.c | 159 struct timespec *timestamp, in hns3_timesync_read_rx_timestamp() argument 175 *timestamp = rte_ns_to_timespec(ns); in hns3_timesync_read_rx_timestamp() 182 struct timespec *timestamp) in hns3_timesync_read_tx_timestamp() argument 209 *timestamp = rte_ns_to_timespec(ns); in hns3_timesync_read_tx_timestamp()
|
| /dpdk/doc/guides/nics/ |
| H A D | nfb.rst | 64 When the timestamps are enabled, a timestamp validity flag is set in the MBUFs 65 containing received frames and timestamp is inserted into the `rte_mbuf` struct. 67 The timestamp is an `uint64_t` field. Its lower 32 bits represent *seconds* portion of the timestamp 69 *nanosecond* portion of the timestamp (number of nanoseconds elapsed since the beginning of the
|
| H A D | ark.rst | 172 uint64_t timestamp; 190 /* register dynfield for rx timestamp */ 194 fprintf(stderr, "timestamp fields offset in extension is %d\n", 206 * Extract RX timestamp and RSS from meta and place in mbuf 215 user_rx->timestamp;
|
| /dpdk/app/test-eventdev/ |
| H A D | test_perf_common.h | 81 uint64_t timestamp; member 150 latency = rte_get_timer_cycles() - m->timestamp; in perf_process_last_stage_latency() 153 latency = rte_get_timer_cycles() - m->timestamp; in perf_process_last_stage_latency()
|
| H A D | test_perf_common.c | 67 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer() 73 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer() 86 uint64_t timestamp; in perf_producer_burst() local 124 timestamp = rte_get_timer_cycles(); in perf_producer_burst() 128 m[i]->timestamp = timestamp; in perf_producer_burst() 138 timestamp = rte_get_timer_cycles(); in perf_producer_burst() 140 m[i]->timestamp = timestamp; in perf_producer_burst() 192 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer() 198 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer() 200 arm_latency += rte_get_timer_cycles() - m[i]->timestamp; in perf_event_timer_producer() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxtx_vec_neon.h | 808 pkt_info)->timestamp); in rxq_cq_process_v() 813 pkt_info)->timestamp); in rxq_cq_process_v() 818 pkt_info)->timestamp); in rxq_cq_process_v() 823 pkt_info)->timestamp); in rxq_cq_process_v() 829 struct mlx5_cqe, pkt_info)->timestamp)); in rxq_cq_process_v() 832 struct mlx5_cqe, pkt_info)->timestamp)); in rxq_cq_process_v() 835 struct mlx5_cqe, pkt_info)->timestamp)); in rxq_cq_process_v() 838 struct mlx5_cqe, pkt_info)->timestamp)); in rxq_cq_process_v()
|
| H A D | mlx5_rxtx_vec_sse.h | 751 ts = rte_be_to_cpu_64(cq[pos].timestamp); in rxq_cq_process_v() 754 ts = rte_be_to_cpu_64(cq[pos + p1].timestamp); in rxq_cq_process_v() 757 ts = rte_be_to_cpu_64(cq[pos + p2].timestamp); in rxq_cq_process_v() 760 ts = rte_be_to_cpu_64(cq[pos + p3].timestamp); in rxq_cq_process_v() 765 rte_be_to_cpu_64(cq[pos].timestamp)); in rxq_cq_process_v() 767 rte_be_to_cpu_64(cq[pos + p1].timestamp)); in rxq_cq_process_v() 769 rte_be_to_cpu_64(cq[pos + p2].timestamp)); in rxq_cq_process_v() 771 rte_be_to_cpu_64(cq[pos + p3].timestamp)); in rxq_cq_process_v()
|
| H A D | mlx5_rxtx_vec_altivec.h | 1204 ts = rte_be_to_cpu_64(cq[pos].timestamp); in rxq_cq_process_v() 1207 ts = rte_be_to_cpu_64(cq[pos + p1].timestamp); in rxq_cq_process_v() 1210 ts = rte_be_to_cpu_64(cq[pos + p2].timestamp); in rxq_cq_process_v() 1213 ts = rte_be_to_cpu_64(cq[pos + p3].timestamp); in rxq_cq_process_v() 1218 rte_be_to_cpu_64(cq[pos].timestamp)); in rxq_cq_process_v() 1220 rte_be_to_cpu_64(cq[pos + p1].timestamp)); in rxq_cq_process_v() 1222 rte_be_to_cpu_64(cq[pos + p2].timestamp)); in rxq_cq_process_v() 1224 rte_be_to_cpu_64(cq[pos + p3].timestamp)); in rxq_cq_process_v()
|
| H A D | mlx5_txpp.c | 582 mlx5_atomic_read_cqe((rte_int128_t *)&cqe->timestamp, &to.u128); in mlx5_txpp_update_timestamp() 599 ts = rte_be_to_cpu_64(to.cts.timestamp); in mlx5_txpp_update_timestamp() 982 mlx5_txpp_read_clock(struct rte_eth_dev *dev, uint64_t *timestamp) in mlx5_txpp_read_clock() argument 998 mlx5_atomic_read_cqe((rte_int128_t *)&cqe->timestamp, &to.u128); in mlx5_txpp_read_clock() 1006 ts = rte_be_to_cpu_64(to.cts.timestamp); in mlx5_txpp_read_clock() 1008 *timestamp = ts; in mlx5_txpp_read_clock() 1014 ret = mlx5_read_clock(dev, timestamp); in mlx5_txpp_read_clock()
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 100 struct timespec *timestamp); 105 struct timespec *timestamp); 108 const struct timespec *timestamp); 1588 struct timespec *timestamp) in axgbe_timesync_read_time() argument 1596 *timestamp = rte_ns_to_timespec(nsec); in axgbe_timesync_read_time() 1601 const struct timespec *timestamp) in axgbe_timesync_write_time() argument 1659 struct timespec timestamp; in axgbe_timesync_enable() local 1713 nsec = rte_timespec_to_ns(×tamp); in axgbe_timesync_enable() 1715 axgbe_set_tstamp_time(pdata, timestamp.tv_sec, timestamp.tv_nsec); in axgbe_timesync_enable() 1774 struct timespec *timestamp) in axgbe_timesync_read_tx_timestamp() argument [all …]
|
| /dpdk/lib/ethdev/ |
| H A D | ethdev_driver.h | 624 struct timespec *timestamp, 629 struct timespec *timestamp); 636 struct timespec *timestamp); 640 const struct timespec *timestamp); 644 uint64_t *timestamp);
|
| /dpdk/lib/pcapng/ |
| H A D | rte_pcapng.h | 113 uint32_t length, uint64_t timestamp,
|
| /dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ether.c | 329 uint64_t timestamp = sdev->stats_snapshot.timestamp; in fs_dev_stats_save() local 333 if (timestamp != 0) in fs_dev_stats_save() 335 (rte_rdtsc() - timestamp) / rte_get_tsc_hz()); in fs_dev_stats_save()
|
| /dpdk/drivers/net/dpaa2/mc/ |
| H A D | fsl_dprtc_cmd.h | 104 uint64_t timestamp; member
|
| H A D | dprtc.c | 562 status->timestamp = le64_to_cpu(rsp_params->timestamp); in dprtc_get_ext_trigger_timestamp()
|
| H A D | fsl_dprtc.h | 90 uint64_t timestamp; member
|
| /dpdk/drivers/regex/mlx5/ |
| H A D | mlx5_rxp.h | 107 char *timestamp; member
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | rxtx_callbacks.rst | 13 packets to add a timestamp. A separate callback is applied to all packets 107 The DPDK function ``rte_rdtsc()`` is used to add a cycle count timestamp to
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_port.c | 61 uint64_t timestamp = sfc_get_system_msecs(); in sfc_port_update_mac_stats() local 63 if ((timestamp - in sfc_port_update_mac_stats() 68 port->mac_stats_last_request_timestamp = timestamp; in sfc_port_update_mac_stats()
|