Home
last modified time | relevance | path

Searched refs:vals (Results 1 – 14 of 14) sorted by relevance

/dpdk/examples/qos_sched/
H A Dargs.c159 uint32_t vals[3]; in app_parse_ring_conf() local
165 ring_conf.rx_size = vals[0]; in app_parse_ring_conf()
166 ring_conf.ring_size = vals[1]; in app_parse_ring_conf()
167 ring_conf.tx_size = vals[2]; in app_parse_ring_conf()
176 uint32_t vals[3]; in app_parse_rth_conf() local
193 uint32_t vals[3]; in app_parse_tth_conf() local
210 uint32_t vals[5]; in app_parse_flow_conf() local
214 memset(vals, 0, sizeof(vals)); in app_parse_flow_conf()
221 pconf->rx_port = vals[0]; in app_parse_flow_conf()
222 pconf->tx_port = vals[1]; in app_parse_flow_conf()
[all …]
/dpdk/lib/hash/
H A Drte_thash_x86_gfni.h90 __m512i vals, matrixes, tuple_bytes, tuple_bytes_2; in __rte_thash_gfni() local
122 vals = _mm512_gf2p8affine_epi64_epi8(perm_bytes, in __rte_thash_gfni()
125 xor_acc = _mm512_xor_si512(xor_acc, vals); in __rte_thash_gfni()
151 vals = _mm512_gf2p8affine_epi64_epi8(perm_bytes, matrixes, 0); in __rte_thash_gfni()
152 xor_acc = _mm512_xor_si512(xor_acc, vals); in __rte_thash_gfni()
/dpdk/drivers/net/cxgbe/base/
H A Dt4vf_hw.c350 const u32 *params, u32 *vals) in t4vf_query_params() argument
373 *vals++ = be32_to_cpu(p->val); in t4vf_query_params()
387 u32 params[7], vals[7]; in t4vf_get_vpd_params() local
392 v = t4vf_query_params(adapter, 1, params, vals); in t4vf_get_vpd_params()
395 vpd_params->cclk = vals[0]; in t4vf_get_vpd_params()
409 u32 params[7], vals[7]; in t4vf_get_dev_params() local
416 v = t4vf_query_params(adapter, 2, params, vals); in t4vf_get_dev_params()
419 adapter->params.fw_vers = vals[0]; in t4vf_get_dev_params()
420 adapter->params.tp_vers = vals[1]; in t4vf_get_dev_params()
447 const u32 *params, const u32 *vals) in t4vf_set_params() argument
[all …]
H A Dcommon.h357 const u32 *params, u32 *vals);
362 const u32 *params, const u32 *vals);
470 unsigned int data_reg, u32 *vals, unsigned int nregs,
473 unsigned int data_reg, const u32 *vals,
509 void t4_fw_tp_pio_rw(struct adapter *adap, u32 *vals, unsigned int nregs,
H A Dt4_hw.c181 unsigned int data_reg, u32 *vals, unsigned int nregs, in t4_read_indirect() argument
186 *vals++ = t4_read_reg(adap, data_reg); in t4_read_indirect()
204 unsigned int data_reg, const u32 *vals, in t4_write_indirect() argument
209 t4_write_reg(adap, data_reg, *vals++); in t4_write_indirect()
2126 void t4_fw_tp_pio_rw(struct adapter *adap, u32 *vals, unsigned int nregs, in t4_fw_tp_pio_rw() argument
2144 c.u.addrval.val = rw ? 0 : cpu_to_be32(vals[i]); in t4_fw_tp_pio_rw()
2148 vals[i] = be32_to_cpu(c.u.addrval.val); in t4_fw_tp_pio_rw()
/dpdk/app/test/
H A Dtest_telemetry_json.c77 const int vals[RTE_DIM(names)] = {20, 61, 10, 40, 55, 35}; in test_overflow_obj() local
84 names[i], vals[i]); in test_overflow_obj()
H A Dtest_hash.c1123 uint16_t vals[5] = {28108, 5699, 38490, 2166, 61571}; in fbk_hash_unit_test() local
1200 status = rte_fbk_hash_add_key(handle, keys[i], vals[i]); in fbk_hash_unit_test()
1210 RETURN_IF_ERROR_FBK(status != vals[i], in fbk_hash_unit_test()
1216 status = rte_fbk_hash_add_key(handle, keys[i], vals[4 - i]); in fbk_hash_unit_test()
1223 RETURN_IF_ERROR_FBK(status != vals[4-i], in fbk_hash_unit_test()
1245 status = rte_fbk_hash_add_key(handle, keys[i], vals[i]); in fbk_hash_unit_test()
1252 RETURN_IF_ERROR_FBK(status != vals[i], in fbk_hash_unit_test()
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.h83 __le32 vals[4]; member
191 __le32 vals[2]; member
H A Dnfp_rxtx.c413 rxds->vals[0] = 0; in nfp_net_recv_pkts()
414 rxds->vals[1] = 0; in nfp_net_recv_pkts()
/dpdk/drivers/net/cxgbe/
H A Dsge.c2424 u32 params[7], vals[7]; in t4vf_sge_init() local
2444 sge_control = vals[0]; in t4vf_sge_init()
2445 sge_host_page_size = vals[1]; in t4vf_sge_init()
2446 sge_timer_value_0_and_1 = vals[2]; in t4vf_sge_init()
2447 sge_timer_value_2_and_3 = vals[3]; in t4vf_sge_init()
2448 sge_timer_value_4_and_5 = vals[4]; in t4vf_sge_init()
2458 s->fl_buffer_size[i] = vals[0]; in t4vf_sge_init()
2479 sge_ingress_rx_threshold = vals[0]; in t4vf_sge_init()
2480 sge_congestion_control = vals[1]; in t4vf_sge_init()
2491 sge_egress_queues_per_page = vals[0]; in t4vf_sge_init()
[all …]
/dpdk/doc/guides/prog_guide/
H A Dipsec_lib.rst289 void *vals[BURST_SZ];
297 rte_ipsec_sad_lookup(sad, keys_p, vals, BURST_SZ);
300 if (vals[i] == NULL)
303 printf("SA pointer is %p\n", vals[i]);
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c1780 static const efx_filter_match_flags_t vals[] = { in sfc_flow_set_unknown_dst_flags() local
1785 if (filters_count_for_one_val * RTE_DIM(vals) != spec_filter->count) { in sfc_flow_set_unknown_dst_flags()
1796 vals[i / filters_count_for_one_val]; in sfc_flow_set_unknown_dst_flags()
1855 static const uint16_t vals[] = { in sfc_flow_set_ethertypes() local
1859 if (filters_count_for_one_val * RTE_DIM(vals) != spec_filter->count) { in sfc_flow_set_ethertypes()
1876 vals[i / filters_count_for_one_val]; in sfc_flow_set_ethertypes()
1940 static const efx_filter_match_flags_t vals[] = { in sfc_flow_set_ifrm_unknown_dst_flags() local
1945 if (filters_count_for_one_val * RTE_DIM(vals) != spec_filter->count) { in sfc_flow_set_ifrm_unknown_dst_flags()
1956 vals[i / filters_count_for_one_val]; in sfc_flow_set_ifrm_unknown_dst_flags()
/dpdk/app/test-sad/
H A Dmain.c516 void *vals[BURST_SZ_MAX]; in lookup() local
530 ret = rte_ipsec_sad_lookup(sad, keys, vals, burst_sz); in lookup()
536 print_result(keys[j], vals[j]); in lookup()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c9249 vals->bmac_addr = 0; in bnx2x_prev_unload_close_mac()
9250 vals->umac_addr = 0; in bnx2x_prev_unload_close_mac()
9251 vals->xmac_addr = 0; in bnx2x_prev_unload_close_mac()
9252 vals->emac_addr = 0; in bnx2x_prev_unload_close_mac()
9274 vals->bmac_val[0] = wb_data[0]; in bnx2x_prev_unload_close_mac()
9275 vals->bmac_val[1] = wb_data[1]; in bnx2x_prev_unload_close_mac()
9282 vals->emac_val = REG_RD(sc, vals->emac_addr); in bnx2x_prev_unload_close_mac()
9283 REG_WR(sc, vals->emac_addr, 0); in bnx2x_prev_unload_close_mac()
9294 vals->xmac_val = REG_RD(sc, vals->xmac_addr); in bnx2x_prev_unload_close_mac()
9295 REG_WR(sc, vals->xmac_addr, 0); in bnx2x_prev_unload_close_mac()
[all …]