| /dpdk/app/test/ |
| H A D | test.c | 273 struct unit_test_suite *ts; in unit_test_suite_count_tcs_on_setup_fail() local 276 FOR_EACH_SUITE_TESTSUITE(i, suite, ts) { in unit_test_suite_count_tcs_on_setup_fail() 278 ts, test_success, sub_ts_failed, in unit_test_suite_count_tcs_on_setup_fail() 280 suite->total += ts->total; in unit_test_suite_count_tcs_on_setup_fail() 281 suite->failed += ts->failed; in unit_test_suite_count_tcs_on_setup_fail() 282 suite->skipped += ts->skipped; in unit_test_suite_count_tcs_on_setup_fail() 283 if (ts->failed) in unit_test_suite_count_tcs_on_setup_fail() 301 struct unit_test_suite *ts; in unit_test_suite_reset_counts() local 304 FOR_EACH_SUITE_TESTSUITE(i, suite, ts) in unit_test_suite_reset_counts() 305 unit_test_suite_reset_counts(ts); in unit_test_suite_reset_counts() [all …]
|
| H A D | test_cryptodev_blockcipher.h | 112 free_blockcipher_test_suite(struct unit_test_suite *ts);
|
| H A D | test_pie.c | 744 uint64_t ts = 0; in enqueue_dequeue_perf() local 750 ts = get_port_ts(); in enqueue_dequeue_perf() 753 1000*sizeof(uint32_t), ts); in enqueue_dequeue_perf() 762 ts = get_port_ts(); in enqueue_dequeue_perf() 764 rte_pie_dequeue(pie_out, 1000*sizeof(uint32_t), ts); in enqueue_dequeue_perf()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_time.h | 83 rte_timespec_to_ns(const struct timespec *ts) in rte_timespec_to_ns() argument 85 return ((uint64_t) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in rte_timespec_to_ns() 94 struct timespec ts = {0, 0}; in rte_ns_to_timespec() local 97 return ts; in rte_ns_to_timespec() 99 ts.tv_sec = nsec / NSEC_PER_SEC; in rte_ns_to_timespec() 100 ts.tv_nsec = nsec % NSEC_PER_SEC; in rte_ns_to_timespec() 102 return ts; in rte_ns_to_timespec()
|
| H A D | rte_eal.h | 283 * @param ts 284 * The ts argument specifies how long we can wait for the peer(s) to reply. 292 const struct timespec *ts); 306 * @param ts 307 * The ts argument specifies how long we can wait for the peer(s) to reply. 317 rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts,
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mp.c | 36 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx5_mp_req_mr_create() local 43 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_mr_create() 77 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx5_mp_req_mempool_reg() local 88 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_mempool_reg() 125 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx5_mp_req_queue_state_modify() local 131 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_queue_state_modify() 161 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx5_mp_req_verbs_cmd_fd() local 166 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_verbs_cmd_fd()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ptp.c | 76 cnxk_nix_timesync_read_time(struct rte_eth_dev *eth_dev, struct timespec *ts) in cnxk_nix_timesync_read_time() argument 88 *ts = rte_ns_to_timespec(ns); in cnxk_nix_timesync_read_time() 94 const struct timespec *ts) in cnxk_nix_timesync_write_time() argument 99 ns = rte_timespec_to_ns(ts); in cnxk_nix_timesync_write_time() 182 const struct rte_memzone *ts; in cnxk_nix_timesync_enable() local 205 ts = rte_eth_dma_zone_reserve(eth_dev, "cnxk_ts", 0, 128, 128, 0); in cnxk_nix_timesync_enable() 206 if (ts == NULL) { in cnxk_nix_timesync_enable() 211 tstamp->tx_tstamp_iova = ts->iova; in cnxk_nix_timesync_enable() 212 tstamp->tx_tstamp = ts->addr; in cnxk_nix_timesync_enable()
|
| H A D | cn9k_rx.h | 721 uint64_t ts[4]; in cn9k_nix_recv_pkts_vector() local 750 ts[0] = vgetq_lane_u64(ts01, 0); in cn9k_nix_recv_pkts_vector() 751 ts[1] = vgetq_lane_u64(ts01, 1); in cn9k_nix_recv_pkts_vector() 752 ts[2] = vgetq_lane_u64(ts23, 0); in cn9k_nix_recv_pkts_vector() 753 ts[3] = vgetq_lane_u64(ts23, 1); in cn9k_nix_recv_pkts_vector() 757 ts[0]; in cn9k_nix_recv_pkts_vector() 759 ts[1]; in cn9k_nix_recv_pkts_vector() 761 ts[2]; in cn9k_nix_recv_pkts_vector() 763 ts[3]; in cn9k_nix_recv_pkts_vector() 791 ts[31 - rte_clz32(res)]; in cn9k_nix_recv_pkts_vector() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | eal_mp.c | 53 const struct timespec *ts) in rte_mp_request_sync() argument 57 RTE_SET_USED(ts); in rte_mp_request_sync() 63 rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts, in rte_mp_request_async() argument 67 RTE_SET_USED(ts); in rte_mp_request_async()
|
| /dpdk/lib/eal/common/ |
| H A D | malloc_mp.c | 357 struct timespec ts; in handle_request() local 366 ts.tv_nsec = 0; in handle_request() 367 ts.tv_sec = MP_TIMEOUT_S; in handle_request() 375 ret = rte_mp_request_async(&sr_msg, &ts, in handle_request() 495 struct timespec ts; in handle_sync_response() local 514 ts.tv_nsec = 0; in handle_sync_response() 515 ts.tv_sec = MP_TIMEOUT_S; in handle_sync_response() 523 ret = rte_mp_request_async(&rb_msg, &ts, in handle_sync_response() 634 struct timespec ts; in request_sync() local 650 ts in request_sync() 703 struct timespec ts; request_to_primary() local [all...] |
| H A D | eal_common_proc.c | 859 struct async_request_param *param, const struct timespec *ts) in mp_request_async() argument 903 if (rte_eal_alarm_set(ts->tv_sec * 1000000 + ts->tv_nsec / 1000, in mp_request_async() 921 struct rte_mp_reply *reply, const struct timespec *ts) in mp_request_sync() argument 958 &pending_requests.lock, ts); in mp_request_sync() 993 const struct timespec *ts) in rte_mp_request_sync() argument 1023 end.tv_nsec = (now.tv_nsec + ts->tv_nsec) % 1000000000; in rte_mp_request_sync() 1024 end.tv_sec = now.tv_sec + ts->tv_sec + in rte_mp_request_sync() 1025 (now.tv_nsec + ts->tv_nsec) / 1000000000; in rte_mp_request_sync() 1089 rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts, in rte_mp_request_async() argument 1138 end->tv_nsec = (now.tv_nsec + ts->tv_nsec) % 1000000000; in rte_mp_request_async() [all …]
|
| H A D | hotplug_mp.c | 370 struct timespec ts = {.tv_sec = MP_TIMEOUT_S, .tv_nsec = 0}; in eal_dev_hotplug_request_to_primary() local 379 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_primary() 398 struct timespec ts = {.tv_sec = MP_TIMEOUT_S, .tv_nsec = 0}; in eal_dev_hotplug_request_to_secondary() local 407 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_secondary()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxtx.h | 61 mlx5_txpp_convert_rx_ts(struct mlx5_dev_ctx_shared *sh, uint64_t ts) in mlx5_txpp_convert_rx_ts() argument 64 return (ts & UINT32_MAX) + (ts >> 32) * NS_PER_S; in mlx5_txpp_convert_rx_ts()
|
| /dpdk/examples/dma/ |
| H A D | dmafwd.c | 149 print_total_stats(struct total_statistics *ts) in print_total_stats() argument 155 ts->total_packets_tx / stats_interval, in print_total_stats() 156 ts->total_packets_rx / stats_interval, in print_total_stats() 157 ts->total_packets_dropped / stats_interval); in print_total_stats() 163 ts->total_submitted / stats_interval, in print_total_stats() 164 ts->total_completed / stats_interval, in print_total_stats() 165 ts->total_failed / stats_interval); in print_total_stats() 175 struct total_statistics ts, delta_ts; in print_stats() local 211 memset(&ts, 0, sizeof(struct total_statistics)); in print_stats() 253 delta_ts.total_packets_tx -= ts.total_packets_tx; in print_stats() [all …]
|
| /dpdk/lib/eal/freebsd/include/ |
| H A D | rte_os_shim.h | 28 #define timespec_get(ts, base) rte_timespec_get(ts, base) argument
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 189 struct timespec ts = {.tv_sec = MLX4_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mp_req_on_rxtx() local 208 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx() 278 struct timespec ts = {.tv_sec = MLX4_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx4_mp_req_mr_create() local 284 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx4_mp_req_mr_create() 316 struct timespec ts = {.tv_sec = MLX4_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx4_mp_req_verbs_cmd_fd() local 321 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx4_mp_req_verbs_cmd_fd()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mp.c | 149 struct timespec ts; in mp_req_on_rxtx() local 163 ts.tv_sec = HNS3_MP_REQ_TIMEOUT_SEC; in mp_req_on_rxtx() 164 ts.tv_nsec = 0; in mp_req_on_rxtx() 165 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx()
|
| H A D | hns3_ptp.h | 43 int hns3_timesync_read_time(struct rte_eth_dev *dev, struct timespec *ts); 45 const struct timespec *ts);
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_ctl.c | 149 struct rte_swx_table_state *ts; member 1037 struct rte_swx_table_state *ts = &ctl->ts_next[table_base_index + i]; in table_state_free() local 1040 free(ts->default_action_data); in table_state_free() 1043 if (!table->is_stub && table->ops.free && ts->obj) in table_state_free() 1044 table->ops.free(ts->obj); in table_state_free() 1050 struct rte_swx_table_state *ts = &ctl->ts_next[selector_base_index + i]; in table_state_free() local 1053 rte_swx_table_selector_free(ts->obj); in table_state_free() 1059 struct rte_swx_table_state *ts = &ctl->ts_next[learner_base_index + i]; in table_state_free() local 1062 free(ts->default_action_data); in table_state_free() 1086 struct rte_swx_table_state *ts = &ctl->ts[table_base_index + i]; in table_state_create() local [all …]
|
| /dpdk/lib/eal/windows/include/ |
| H A D | rte_os_shim.h | 78 #define timespec_get(ts, base) rte_timespec_get(ts, base) 76 timespec_get(ts,base) global() argument
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 230 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mp_req_on_rxtx() local 249 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx() 327 struct timespec ts = {.tv_sec = MLX5_MP_REQ_TIMEOUT_SEC, .tv_nsec = 0}; in mlx5_mp_os_req_queue_control() local 335 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_os_req_queue_control()
|
| /dpdk/lib/graph/ |
| H A D | graph_stats.c | 103 ts_per_hz = (double)((stat->ts - stat->prev_ts) / stat->hz); in print_node() 500 stat->ts = rte_get_timer_cycles(); 509 stat->prev_ts = stat->ts; 548 node->ts = 0;
|
| /dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 142 static inline uint64_t timespec64_to_ns(const struct timespec *ts) in timespec64_to_ns() argument 144 return ((uint64_t) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec64_to_ns() 307 time_t ts = net_time.tv_sec; in print_clock_info() 312 ctime(&ts), net_time.tv_nsec); in print_clock_info() 306 time_t ts = net_time.tv_sec; print_clock_info() local
|
| /dpdk/doc/guides/nics/ |
| H A D | idpf.rst | 25 It is highly recommended to upgrade the idpf kernel driver, MEV-ts release 30 | DPDK | Kernel Driver | MEV-ts release |
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio.c | 356 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; in vfio_open_group_fd() local 404 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0 && in vfio_open_group_fd() 661 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; in vfio_sync_default_container() local 684 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0 && in vfio_sync_default_container() 1158 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; in vfio_get_default_container_fd() 1180 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0 && in vfio_get_default_container_fd() 1293 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; in rte_vfio_get_container_fd() 1342 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0 && in rte_vfio_get_container_fd() 1155 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; vfio_get_default_container_fd() local 1290 struct timespec ts = {.tv_sec = 5, .tv_nsec = 0}; rte_vfio_get_container_fd() local
|