Searched refs:res (Results 1 - 25 of 68) sorted by relevance

123

/vpp/src/vpp/app/
H A Dvpp_get_stats.c27 stat_segment_data_t *res; local
56 res = stat_segment_dump (stats);
57 if (!res)
62 for (i = 0; i < vec_len (res); i++)
64 switch (res[i].type)
67 for (k = 0; k < vec_len (res[i].simple_counter_vec); k++)
68 for (j = 0; j < vec_len (res[i].simple_counter_vec[k]); j++)
70 j, res[i].simple_counter_vec[k][j], res[i].name);
74 for (k = 0; k < vec_len (res[
177 stat_segment_data_t *res; local
[all...]
H A Dvpp_prometheus_export.c54 stat_segment_data_t *res; local
59 res = stat_segment_dump (stats);
60 if (res == 0)
68 for (i = 0; i < vec_len (res); i++)
70 switch (res[i].type)
73 fformat (stream, "# TYPE %s counter\n", prom_string (res[i].name));
74 for (k = 0; k < vec_len (res[i].simple_counter_vec); k++)
75 for (j = 0; j < vec_len (res[i].simple_counter_vec[k]); j++)
77 prom_string (res[i].name), k, j,
78 res[
[all...]
/vpp/src/vpp-api/python/vpp_papi/tests/
H A Dtest_vpp_format.py71 res = vpp_format.format_vl_api_address_t(ip4_addr)
72 self.assertEqual(res, ip4_addr_format_vl_api_address_t)
79 res = vpp_format.format_vl_api_address_t(ip4_addrn)
81 res = vpp_format.format_vl_api_address_t(ip6_addr)
82 self.assertEqual(res, ip6_addr_format_vl_api_address_t)
101 res = vpp_format.format_vl_api_prefix_t(arg)
102 self.assertEqual(res, expected)
105 res = vpp_format.format_vl_api_ip6_prefix_t(ip6_prefix)
106 self.assertEqual(res, ip6_addr_format_vl_api_prefix_packed_t)
108 res
[all...]
/vpp/src/vnet/bier/
H A Dbier_types.c115 int res; local
117 res = (btid1->bti_set - btid2->bti_set);
119 if (0 == res)
121 res = (btid1->bti_sub_domain - btid2->bti_sub_domain);
123 if (0 == res)
125 res = (btid1->bti_ecmp - btid2->bti_ecmp);
127 if (0 == res)
129 res = (btid1->bti_hdr_len - btid2->bti_hdr_len);
131 if (0 == res)
133 res
[all...]
/vpp/src/plugins/dpdk/ipsec/
H A Dcrypto_node.c127 vlib_node_runtime_t * node, crypto_resource_t * res)
141 n_ops = total_n_deq = rte_cryptodev_dequeue_burst (res->dev_id,
142 res->qp_id,
231 res->inflights[0] -= n_deq[0];
232 res->inflights[1] -= n_deq[1];
236 dpdk_crypto_input_trace (vm, node, res->dev_id, bis, nexts, total_n_deq);
249 crypto_resource_t *res; local
257 res = vec_elt_at_index (dcm->resource, res_idx[0]);
258 u32 inflights = res->inflights[0] + res
126 dpdk_crypto_dequeue(vlib_main_t * vm, crypto_worker_main_t * cwm, vlib_node_runtime_t * node, crypto_resource_t * res) argument
[all...]
H A Dipsec.h182 u32 sa_idx, crypto_resource_t * res,
240 crypto_resource_t * res,
247 data = vec_elt_at_index (dcm->data, res->numa);
248 sess = get_session_by_drv_and_sa_idx (data, res->drv_id, sa_idx);
251 return create_sym_session (session, sa_idx, res, cwm, is_outbound);
316 crypto_resource_t *res; local
323 res = vec_elt_at_index (dcm->resource, res_idx[0]);
325 if (!res->n_ops)
328 n_ops = (DPDK_CRYPTO_N_QUEUE_DESC / 2) - res->inflights[encrypt];
329 n_ops = res
238 crypto_get_session(struct rte_cryptodev_sym_session ** session, u32 sa_idx, crypto_resource_t * res, crypto_worker_main_t * cwm, u8 is_outbound) argument
[all...]
H A Dcli.c28 crypto_resource_t *res = vec_elt_at_index (dcm->resource, res_idx); local
32 format_white_space, indent, (i16) res->thread_idx,
33 res->qp_id, res->inflights[0], res->inflights[1]);
212 crypto_resource_t *res; local
226 res = vec_elt_at_index (dcm->resource, res_idx[0]);
228 ind, vec_elt_at_index (dcm->dev, res->dev_id)->name,
229 res->dev_id, res
486 crypto_resource_t *res = vec_elt_at_index (dcm->resource, res_idx); local
[all...]
/vpp/src/plugins/unittest/
H A Dvlib_test.c31 u8 *res; local
96 res = vlib_validate_buffer (vm, bi, 1 /* follow_buffer_next */ );
97 if (res)
98 return clib_error_return (0, "%v", res);
101 res = vlib_validate_buffers (vm, &bi, 0 /* stride */ ,
104 if (res)
105 return clib_error_return (0, "%v", res);
110 res = vlib_validate_buffers (vm, &bi, 0 /* stride */ ,
113 if (res)
114 return clib_error_return (0, "%v", res);
[all...]
H A Dbier_test.c46 res = 1; \
52 res; \
107 int res; local
110 res = 0;
155 return (res);
173 int res; local
177 res = 0;
180 res = BIER_TEST_I((DPO_LOAD_BALANCE == dpo.dpoi_type),
184 if (!res)
187 res
203 int res; local
728 int res; local
808 int res; local
920 int res = 0; local
[all...]
H A Dsession_test.c749 u32 action_index = 1, res; local
809 res =
811 SESSION_TEST ((res == 1),
813 res);
863 res =
865 SESSION_TEST ((res == 3),
867 res);
871 res =
874 SESSION_TEST ((res == 1),
876 res);
1976 int res = 0; local
[all...]
H A Dmfib_test.c36 res = 1; \
38 res; \
112 int res; local
115 res = 0;
170 return (res);
189 int res; local
191 res = 0;
214 return (res);
227 int res; local
230 res
282 int res; local
309 int res; local
340 int res; local
1515 int res; local
1936 int res = 0; local
[all...]
/vpp/src/vppinfra/
H A Dtest_longjmp.c113 int res; local
119 res = test_longjmp_main (&i);
121 return res;
/vpp/src/vnet/ip/
H A Dip_types.c116 int res = 0; local
119 res = ip46_address_cmp (&ip_addr_46 (ip1), &ip_addr_46 (ip2));
121 if (res < 0)
122 res = 2;
123 else if (res > 0)
124 res = 1;
126 return res;
459 ip4_address_t * res)
463 res->as_u32 = clib_net_to_host_u32 (ip->as_u32) + not_mask;
490 ip6_address_t * res)
458 ip4_prefix_max_address_host_order(ip4_address_t * ip, u8 plen, ip4_address_t * res) argument
489 ip6_prefix_max_address_host_order(ip6_address_t * ip, u8 plen, ip6_address_t * res) argument
[all...]
/vpp/src/vat/
H A Dip_types.c116 int res = 0; local
119 res = ip46_address_cmp (&ip_addr_46 (ip1), &ip_addr_46 (ip2));
121 if (res < 0)
122 res = 2;
123 else if (res > 0)
124 res = 1;
126 return res;
459 ip4_address_t * res)
463 res->as_u32 = clib_net_to_host_u32 (ip->as_u32) + not_mask;
490 ip6_address_t * res)
458 ip4_prefix_max_address_host_order(ip4_address_t * ip, u8 plen, ip4_address_t * res) argument
489 ip6_prefix_max_address_host_order(ip6_address_t * ip, u8 plen, ip6_address_t * res) argument
[all...]
/vpp/src/vpp-api/client/
H A Dstat_client.c287 stat_segment_data_free (stat_segment_data_t * res) argument
290 for (i = 0; i < vec_len (res); i++)
292 switch (res[i].type)
295 for (j = 0; j < vec_len (res[i].simple_counter_vec); j++)
296 vec_free (res[i].simple_counter_vec[j]);
297 vec_free (res[i].simple_counter_vec);
300 for (j = 0; j < vec_len (res[i].combined_counter_vec); j++)
301 vec_free (res[i].combined_counter_vec[j]);
302 vec_free (res[i].combined_counter_vec);
307 free (res[
377 stat_segment_data_t *res = 0; local
436 stat_segment_data_t *res = 0; local
[all...]
/vpp/src/vnet/vxlan-gpe/
H A Dvxlan_gpe_packet.h100 u8 res; member in struct:__anon2000
/vpp/src/vnet/fib/
H A Dfib_entry_src_adj.c343 fib_entry_src_cover_res_t res = { local
350 res.install = fib_entry_src_adj_activate(src, fib_entry);
352 if (res.install) {
356 res.bw_reason = FIB_NODE_BW_REASON_FLAG_EVALUATE;
360 return (res);
375 fib_entry_src_cover_res_t res = { local
389 res.install = (FIB_ENTRY_FLAG_ATTACHED & fib_entry_get_flags_i(cover));
393 return (res);
H A Dfib_entry_src_rr.c205 fib_entry_src_cover_res_t res = { local
216 return (res);
233 res.bw_reason = FIB_NODE_BW_REASON_FLAG_EVALUATE;
235 return (res);
248 fib_entry_src_cover_res_t res = { local
261 return (res);
285 res.bw_reason = FIB_NODE_BW_REASON_FLAG_EVALUATE;
287 return (res);
H A Dfib_types.c180 int res; local
182 res = (p1->fp_proto - p2->fp_proto);
184 if (0 == res)
190 res = (p1->fp_len - p2->fp_len);
192 if (0 == res)
194 res = ip46_address_cmp(&p1->fp_addr, &p2->fp_addr);
198 res = (p1->fp_label - p2->fp_label);
200 if (0 == res)
202 res = (p1->fp_eos - p2->fp_eos);
208 return (res);
304 int res; local
[all...]
H A Dfib_path.c1560 int res; local
1562 res = 1;
1570 res = (path1->fp_type - path2->fp_type);
1574 res = (path1->fp_nh_proto - path2->fp_nh_proto);
1585 res = ip46_address_cmp(&path1->attached_next_hop.fp_nh,
1587 if (0 == res) {
1588 res = (path1->attached_next_hop.fp_interface -
1593 res = (path1->attached.fp_interface -
1597 res = ip46_address_cmp(&path1->recursive.fp_nh.fp_ip,
1600 if (0 == res)
1695 int res; local
[all...]
H A Dfib_entry_src_interface.c152 fib_entry_src_cover_res_t res = { local
162 return (res);
177 return (res);
/vpp/extras/deprecated/vppinfra/
H A Dtest_phash.c133 int res; local
139 res = test_phash_main (&i);
141 return res;
/vpp/src/vnet/lisp-gpe/
H A Dlisp_gpe_adjacency.h94 u8 res; member in struct:lisp_gpe_adjacency_t_
H A Dlisp_gpe_packet.h104 u8 res; member in struct:__anon1702
/vpp/extras/vom/vom/
H A Dacl_list_cmds.hpp99 HW::item<handle_t> res(handle, rc);
101 this->fulfill(res);

Completed in 17 milliseconds

123