Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 155) sorted by relevance

1234567

/dpdk/lib/cmdline/
H A Dcmdline_parse_portlist.c35 const char *first, *last; in parse_ports() local
38 for (first = str, last = first; in parse_ports()
39 first != NULL && last != NULL; in parse_ports()
40 first = last + 1) { in parse_ports()
42 last = strchr(first, ','); in parse_ports()
47 (end[0] != '-' && end[0] != 0 && end != last)) in parse_ports()
56 (end[0] != 0 && end != last)) in parse_ports()
/dpdk/lib/stack/
H A Drte_stack_lf.h40 struct rte_stack_lf_elem *tmp, *first, *last = NULL; in __rte_stack_lf_push() local
47 first = __rte_stack_lf_pop_elems(&s->stack_lf.free, n, NULL, &last); in __rte_stack_lf_push()
56 __rte_stack_lf_push_elems(&s->stack_lf.used, first, last, n); in __rte_stack_lf_push()
76 struct rte_stack_lf_elem *first, *last = NULL; in __rte_stack_lf_pop() local
83 n, obj_table, &last); in __rte_stack_lf_pop()
88 __rte_stack_lf_push_elems(&s->stack_lf.free, first, last, n); in __rte_stack_lf_pop()
H A Drte_stack_lf_stubs.h21 struct rte_stack_lf_elem *last, in __rte_stack_lf_push_elems() argument
25 RTE_SET_USED(last); in __rte_stack_lf_push_elems()
34 struct rte_stack_lf_elem **last) in __rte_stack_lf_pop_elems() argument
37 RTE_SET_USED(last); in __rte_stack_lf_pop_elems()
H A Drte_stack_lf_c11.h36 struct rte_stack_lf_elem *last, in __rte_stack_lf_push_elems() argument
53 last->next = old_head.top; in __rte_stack_lf_push_elems()
76 struct rte_stack_lf_elem **last) in __rte_stack_lf_pop_elems() argument
128 if (last) in __rte_stack_lf_pop_elems()
129 *last = tmp; in __rte_stack_lf_pop_elems()
H A Drte_stack_lf_generic.h36 struct rte_stack_lf_elem *last, in __rte_stack_lf_push_elems() argument
60 last->next = old_head.top; in __rte_stack_lf_push_elems()
78 struct rte_stack_lf_elem **last) in __rte_stack_lf_pop_elems() argument
123 if (last) in __rte_stack_lf_pop_elems()
124 *last = tmp; in __rte_stack_lf_pop_elems()
/dpdk/app/test/
H A Dtest_fbarray.c467 int len = last - first + 1; in test_biggest()
470 TEST_ASSERT((first == -1) == (last == -1), in test_biggest()
496 if (last == -1) { in test_biggest()
505 } else if (last == ((int)arr->len - 1)) { in test_biggest()
511 hi_free_space_first = last + 1; in test_biggest()
568 if (last != -1) { in test_biggest()
616 int i, len = last - first + 1; in ensure_correct()
626 last), len, in ensure_correct()
646 last, cur_len), cur, in ensure_correct()
653 last), len, in ensure_correct()
[all …]
/dpdk/lib/eal/common/
H A Dmalloc_elem.c155 if (heap->first == NULL && heap->last == NULL) { in malloc_elem_insert()
158 heap->last = elem; in malloc_elem_insert()
166 } else if (elem > heap->last) { in malloc_elem_insert()
168 prev_elem = heap->last; in malloc_elem_insert()
170 heap->last = elem; in malloc_elem_insert()
185 next_elem = heap->last; in malloc_elem_insert()
304 elem->heap->last = split_pt; in split_elem()
328 elem->heap->last = prev; in remove_elem()
449 if (elem == elem->heap->last) in malloc_elem_alloc()
450 elem->heap->last = new_free_elem; in malloc_elem_alloc()
[all …]
H A Deal_common_fbarray.c121 unsigned int last, last_mod; in find_next_n() local
136 last = MASK_LEN_TO_IDX(arr->len); in find_next_n()
175 if (msk_idx == last) in find_next_n()
269 unsigned int last, last_mod; in find_next() local
284 last = MASK_LEN_TO_IDX(arr->len); in find_next()
296 if (idx == last) in find_next()
325 unsigned int last, last_mod; in find_contig() local
332 last = MASK_LEN_TO_IDX(arr->len); in find_contig()
349 if (idx == last) in find_contig()
/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.h31 uint8_t last) in qm_cyc_diff() argument
34 if (first <= last) in qm_cyc_diff()
35 return last - first; in qm_cyc_diff()
36 return (2 * ringsize) + last - first; in qm_cyc_diff()
/dpdk/drivers/net/enetfec/
H A Denet_ethdev.h67 struct bufdesc *last; member
124 return (bdp >= bd->last) ? bd->base in enet_get_nextdesc()
137 return (bdp <= bd->base) ? bd->last in enet_get_prevdesc()
/dpdk/examples/vdpa/
H A Dmain.c393 uint32_t first, last; in cmd_device_stats_parsed() local
413 last = rte_vhost_get_vring_num(vport->vid); in cmd_device_stats_parsed()
414 if (last == 0) { in cmd_device_stats_parsed()
419 last--; in cmd_device_stats_parsed()
422 last = res->qid; in cmd_device_stats_parsed()
450 for (; first <= last; first++) { in cmd_device_stats_parsed()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c205 if (item->last || in cons_parse_ntuple_filter()
236 if (item->last) { in cons_parse_ntuple_filter()
268 if (item->last) { in cons_parse_ntuple_filter()
303 if (item->last) { in cons_parse_ntuple_filter()
378 if (item->last) { in cons_parse_ntuple_filter()
687 if (item->last) { in cons_parse_ethertype_filter()
935 if (item->last) { in cons_parse_syn_filter()
992 if (item->last) { in cons_parse_syn_filter()
1196 if (item->last) { in cons_parse_l2_tn_filter()
1460 last = item->last; in signature_match()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c239 if (item->last || in cons_parse_ntuple_filter()
270 if (item->last) { in cons_parse_ntuple_filter()
304 if (item->last) { in cons_parse_ntuple_filter()
342 if (item->last) { in cons_parse_ntuple_filter()
417 if (item->last) { in cons_parse_ntuple_filter()
725 if (item->last) { in cons_parse_ethertype_filter()
976 if (item->last) { in cons_parse_syn_filter()
1033 if (item->last) { in cons_parse_syn_filter()
1240 if (item->last) { in cons_parse_l2_tn_filter()
1515 last = item->last; in signature_match()
[all …]
/dpdk/lib/acl/
H A Dacl_bld.c943 struct rte_acl_build_rule **last, uint32_t *count) in build_trie() argument
954 *last = prev; in build_trie()
1057 *last = prev; in build_trie()
1065 *last = NULL; in build_trie()
1315 struct rte_acl_build_rule *last; in build_one_trie() local
1333 &last, &context->tries[n].count); in build_one_trie()
1335 return last; in build_one_trie()
1344 struct rte_acl_build_rule *last; in acl_build_tries() local
1373 if (last == NULL) in acl_build_tries()
1384 rule_sets[num_tries] = last->next; in acl_build_tries()
[all …]
/dpdk/app/test-pmd/
H A Dcmd_flex_item.c156 if (pattern->last) { in flex_link_item_parse()
157 ptr = (void *)(uintptr_t)item->last; in flex_link_item_parse()
158 memcpy(ptr, pattern->last, FLEX_MAX_FLOW_PATTERN_LENGTH); in flex_link_item_parse()
160 item->last = NULL; in flex_link_item_parse()
183 if (link->item.last) in flex_link_parse()
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c90 if (/*!item->spec || item->mask || */item->last) { in ipn3ke_pattern_vxlan()
154 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_mac()
216 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_qinq()
285 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_mpls()
359 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_tcp()
424 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_udp()
492 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_nvgre()
566 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_vxlan_ip_udp()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_pci.c317 uint32_t last; in efx_pci_xilinx_cap_tbl_find() local
344 last = EFX_QWORD_FIELD32(header, ESF_GZ_CFGBAR_ENTRY_LAST); in efx_pci_xilinx_cap_tbl_find()
354 } while (last == B_FALSE); in efx_pci_xilinx_cap_tbl_find()
H A Defx_mac.c676 (unsigned int)rngp->last) { in efx_mac_stats_mask_add_range()
681 EFSYS_ASSERT3U(rngp->first, <=, rngp->last); in efx_mac_stats_mask_add_range()
682 EFSYS_ASSERT3U(rngp->last, <, EFX_MAC_NSTATS); in efx_mac_stats_mask_add_range()
689 (unsigned int)rngp->last < el_min) in efx_mac_stats_mask_add_range()
692 high = MIN((unsigned int)rngp->last, el_max); in efx_mac_stats_mask_add_range()
/dpdk/examples/flow_classify/
H A Dflow_classify.c561 ipv4_udp_item.last = NULL; in add_classify_rule()
576 udp_item.last = NULL; in add_classify_rule()
586 ipv4_tcp_item.last = NULL; in add_classify_rule()
599 tcp_item.last = NULL; in add_classify_rule()
609 ipv4_sctp_item.last = NULL; in add_classify_rule()
624 sctp_item.last = NULL; in add_classify_rule()
/dpdk/lib/ip_frag/
H A Dip_frag_internal.c279 tbl->last = pkt; in ip_frag_find()
299 if (tbl->last != NULL && ip_frag_key_cmp(key, &tbl->last->key) == 0) in ip_frag_lookup()
300 return tbl->last; in ip_frag_lookup()
/dpdk/lib/efd/
H A Drte_efd.c1050 uint32_t last = current_group->num_rules - 1; in efd_compute_update() local
1053 current_group->key_idx[last]; in efd_compute_update()
1055 current_group->value[last]; in efd_compute_update()
1057 current_group->bin_id[last]; in efd_compute_update()
1063 current_group->key_idx[last] = key_idx_previous; in efd_compute_update()
1064 current_group->value[last] = value; in efd_compute_update()
1065 current_group->bin_id[last] = *bin_id; in efd_compute_update()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_flow.c939 const struct rte_flow_item_eth *last __rte_unused; in dpaa2_configure_flow_eth()
947 last = (const struct rte_flow_item_eth *)pattern->last; in dpaa2_configure_flow_eth()
1186 const struct rte_flow_item_vlan *last __rte_unused; in dpaa2_configure_flow_vlan()
1193 last = (const struct rte_flow_item_vlan *)pattern->last; in dpaa2_configure_flow_vlan()
1762 last = (const struct rte_flow_item_icmp *)pattern->last; in dpaa2_configure_flow_icmp()
1997 const struct rte_flow_item_udp *last __rte_unused; in dpaa2_configure_flow_udp()
2004 last = (const struct rte_flow_item_udp *)pattern->last; in dpaa2_configure_flow_udp()
2236 const struct rte_flow_item_tcp *last __rte_unused; in dpaa2_configure_flow_tcp()
2243 last = (const struct rte_flow_item_tcp *)pattern->last; in dpaa2_configure_flow_tcp()
2483 last = (const struct rte_flow_item_sctp *)pattern->last; in dpaa2_configure_flow_sctp()
[all …]
/dpdk/drivers/net/i40e/base/
H A Di40e_nvm.c1691 bool last; in i40e_nvmupd_nvm_read() local
1695 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA); in i40e_nvmupd_nvm_read()
1701 bytes, last, &cmd_details); in i40e_nvmupd_nvm_read()
1730 bool last; in i40e_nvmupd_nvm_erase() local
1734 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
1740 last, &cmd_details); in i40e_nvmupd_nvm_erase()
1771 bool last; in i40e_nvmupd_nvm_write() local
1775 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_write()
1782 (u16)cmd->data_size, bytes, last, in i40e_nvmupd_nvm_write()
/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman.h67 static inline u8 bm_cyc_diff(u8 ringsize, u8 first, u8 last) in bm_cyc_diff() argument
70 if (first <= last) in bm_cyc_diff()
71 return last - first; in bm_cyc_diff()
72 return ringsize + last - first; in bm_cyc_diff()
/dpdk/drivers/net/ena/base/
H A Dena_eth_com.c240 u32 last = 0; in ena_com_cdesc_rx_pkt_get() local
249 last = (READ_ONCE32(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK) >> in ena_com_cdesc_rx_pkt_get()
251 } while (!last); in ena_com_cdesc_rx_pkt_get()
253 if (last) { in ena_com_cdesc_rx_pkt_get()

1234567