| /dpdk/app/test/ |
| H A D | test_meter.c | 206 struct rte_meter_srtcm sm; in tm_test_srtcm_color_blind_check() local 213 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check() 217 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF - 1) in tm_test_srtcm_color_blind_check() 224 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check() 228 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF + 1) in tm_test_srtcm_color_blind_check() 234 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check() 244 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check() 248 &sm, &sp, time, TM_TEST_SRTCM_EBS_DF + 1) in tm_test_srtcm_color_blind_check() 390 struct rte_meter_srtcm sm; in tm_test_srtcm_aware_check() local 396 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_aware_check() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxtx.c | 370 const struct mlx5_mp_arg_queue_state_modify *sm) in mlx5_queue_state_modify_primary() argument 375 if (sm->is_wq) { in mlx5_queue_state_modify_primary() 376 struct mlx5_rxq_priv *rxq = mlx5_rxq_get(dev, sm->queue_id); in mlx5_queue_state_modify_primary() 378 ret = priv->obj_ops.rxq_obj_modify(rxq, sm->state); in mlx5_queue_state_modify_primary() 381 sm->state, strerror(errno)); in mlx5_queue_state_modify_primary() 386 struct mlx5_txq_data *txq = (*priv->txqs)[sm->queue_id]; in mlx5_queue_state_modify_primary() 412 struct mlx5_mp_arg_queue_state_modify *sm) in mlx5_queue_state_modify() argument 419 ret = mlx5_queue_state_modify_primary(dev, sm); in mlx5_queue_state_modify() 422 ret = mlx5_mp_req_queue_state_modify(&priv->mp_id, sm); in mlx5_queue_state_modify()
|
| H A D | mlx5_rxtx.h | 42 const struct mlx5_mp_arg_queue_state_modify *sm); 44 struct mlx5_mp_arg_queue_state_modify *sm);
|
| H A D | mlx5_rx.c | 424 struct mlx5_mp_arg_queue_state_modify sm; in mlx5_rx_err_handle() local 432 sm.is_wq = 1; in mlx5_rx_err_handle() 433 sm.queue_id = rxq->idx; in mlx5_rx_err_handle() 434 sm.state = IBV_WQS_RESET; in mlx5_rx_err_handle() 435 if (mlx5_queue_state_modify(RXQ_DEV(rxq_ctrl), &sm)) in mlx5_rx_err_handle() 472 sm.is_wq = 1; in mlx5_rx_err_handle() 473 sm.queue_id = rxq->idx; in mlx5_rx_err_handle() 474 sm.state = IBV_WQS_RDY; in mlx5_rx_err_handle() 475 if (mlx5_queue_state_modify(RXQ_DEV(rxq_ctrl), &sm)) in mlx5_rx_err_handle()
|
| H A D | mlx5_tx.c | 43 struct mlx5_mp_arg_queue_state_modify sm = { in tx_recover_qp() local 48 if (mlx5_queue_state_modify(ETH_DEV(txq_ctrl->priv), &sm)) in tx_recover_qp()
|
| H A D | mlx5_flow_flex.c | 976 struct mlx5_devx_match_sample_attr *sm = i + in mlx5_flex_translate_sample() local 979 sm->flow_match_sample_tunnel_mode = in mlx5_flex_translate_sample()
|
| /dpdk/examples/l3fwd/ |
| H A D | lpm_route_parse.c | 45 char *sa, *sm, *sv; in parse_ipv6_addr_mask() local 52 sm = strtok_r(NULL, dlm, &sv); in parse_ipv6_addr_mask() 53 if (sm == NULL) in parse_ipv6_addr_mask() 59 GET_CB_FIELD(sm, *mask, 0, 128, 0); in parse_ipv6_addr_mask() 66 char *sa, *sm, *sv; in parse_ipv4_addr_mask() local 73 sm = strtok_r(NULL, dlm, &sv); in parse_ipv4_addr_mask() 74 if (sm == NULL) in parse_ipv4_addr_mask() 80 GET_CB_FIELD(sm, *mask, 0, 32, 0); in parse_ipv4_addr_mask()
|
| /dpdk/lib/acl/ |
| H A D | acl_run_avx512x16.h | 252 __mmask16 cm, sm; in resolve_mcgt8_avx512x1() local 275 sm = _mm512_cmpgt_epi32_mask(cp, np); in resolve_mcgt8_avx512x1() 276 cr = _mm512_mask_mov_epi32(nr, sm, cr); in resolve_mcgt8_avx512x1() 277 cp = _mm512_mask_mov_epi32(np, sm, cp); in resolve_mcgt8_avx512x1()
|
| /dpdk/lib/bpf/ |
| H A D | bpf_load_elf.c | 194 Elf64_Sym *sm; in process_reloc() local 203 sm = sd->d_buf; in process_reloc() 212 if (sym * sizeof(sm[0]) >= sd->d_size) in process_reloc() 215 sn = elf_strptr(elf, eh->e_shstrndx, sm[sym].st_name); in process_reloc()
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mp.c | 118 struct mlx5_mp_arg_queue_state_modify *sm) in mlx5_mp_req_queue_state_modify() argument 130 req->args.state_modify = *sm; in mlx5_mp_req_queue_state_modify()
|
| H A D | mlx5_common_mp.h | 144 struct mlx5_mp_arg_queue_state_modify *sm);
|