| /f-stack/dpdk/app/test/ |
| H A D | test_fbarray.c | 306 const int last_idx = FBARRAY_TEST_LEN - 1; in check_free() local 324 TEST_ASSERT_EQUAL(rte_fbarray_find_prev_free(¶m.arr, last_idx), in check_free() 325 last_idx, "Free space not found where expected\n"); in check_free() 327 last_idx, "Free space not found where expected\n"); in check_free() 329 last_idx), FBARRAY_TEST_LEN, in check_free() 342 TEST_ASSERT(rte_fbarray_find_prev_used(¶m.arr, last_idx) < 0, in check_free() 349 last_idx), 0, in check_free() 358 const int last_idx = FBARRAY_TEST_LEN - 1; in check_used_one() local 375 last_idx), idx, in check_used_one() 396 last_idx), 0, in check_used_one() [all …]
|
| /f-stack/dpdk/lib/librte_ip_frag/ |
| H A D | ip_frag_common.h | 94 for (i = 0; i != fp->last_idx; i++) { in ip_frag_free() 101 fp->last_idx = 0; in ip_frag_free() 111 for (i = 0; i < fp->last_idx; i++) { in ip_frag_free_immediate() 122 fp->last_idx = 0; in ip_frag_free_immediate() 148 fp->last_idx = IP_MIN_FRAG_NUM; in ip_frag_reset()
|
| H A D | ip_frag_internal.c | 110 } else if ((idx = fp->last_idx) < RTE_DIM(fp->frags)) { in ip_frag_process() 111 fp->last_idx++; in ip_frag_process() 129 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 142 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 187 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 200 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process()
|
| H A D | rte_ipv4_reassembly.c | 23 n = fp->last_idx - 1; in ipv4_frag_reassemble() 150 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet() 165 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv6_reassembly.c | 43 n = fp->last_idx - 1; in ipv6_frag_reassemble() 194 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet() 210 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet()
|
| H A D | rte_ip_frag_common.c | 138 if (IP_FRAG_DEATH_ROW_MBUF_LEN - dr->cnt >= fp->last_idx) in rte_frag_table_del_expired_entries()
|
| H A D | rte_ip_frag.h | 70 uint32_t last_idx; /**< index of next entry to fill */ member
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_acl_ctrl.c | 33 scen->last_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - in ice_acl_init_entry() 35 scen->last_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry / 4; in ice_acl_init_entry() 36 scen->last_idx[ICE_ACL_PRIO_HIGH] = scen->num_entry / 4 - 1; in ice_acl_init_entry() 53 u16 first_idx, last_idx, i; in ice_acl_scen_assign_entry_idx() local 60 last_idx = scen->last_idx[prio]; in ice_acl_scen_assign_entry_idx() 61 step = first_idx <= last_idx ? 1 : -1; in ice_acl_scen_assign_entry_idx() 63 for (i = first_idx; i != last_idx + step; i += step) in ice_acl_scen_assign_entry_idx()
|
| H A D | ice_acl.h | 78 u16 last_idx[ICE_ACL_MAX_PRIO]; member
|
| /f-stack/dpdk/drivers/event/dsw/ |
| H A D | dsw_evdev.c | 161 uint16_t last_idx = queue->num_serving_ports - 1; in queue_remove_port() local 162 if (i != last_idx) in queue_remove_port() 164 queue->serving_ports[last_idx]; in queue_remove_port()
|
| H A D | dsw_event.c | 266 uint16_t last_idx = port->paused_flows_len-1; in dsw_port_remove_paused_flow() local 267 if (i != last_idx) in dsw_port_remove_paused_flow() 269 port->paused_flows[last_idx]; in dsw_port_remove_paused_flow() 997 uint16_t last_idx = source_port->in_buffer_len; in dsw_port_forward_emigrated_flow() local 998 source_port->in_buffer[last_idx] = *e; in dsw_port_forward_emigrated_flow()
|
| /f-stack/dpdk/examples/vhost_blk/ |
| H A D | vhost_blk.c | 495 uint16_t task_idx, req_idx, last_idx, chain_num; in process_vq() local 505 last_idx = (req_idx + chain_num - 1) % vq->vring.size; in process_vq() 510 last_idx, in process_vq()
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x.c | 3717 char last_idx; in bnx2x_mc_assert() local 3722 last_idx = in bnx2x_mc_assert() 3724 if (last_idx) in bnx2x_mc_assert() 3725 PMD_DRV_LOG(ERR, sc, "XSTORM_ASSERT_LIST_INDEX 0x%x", last_idx); in bnx2x_mc_assert() 3757 last_idx = in bnx2x_mc_assert() 3759 if (last_idx) { in bnx2x_mc_assert() 3760 PMD_DRV_LOG(ERR, sc, "TSTORM_ASSERT_LIST_INDEX 0x%x", last_idx); in bnx2x_mc_assert() 3793 last_idx = in bnx2x_mc_assert() 3795 if (last_idx) { in bnx2x_mc_assert() 3829 last_idx = in bnx2x_mc_assert() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | redis-cli.c | 5071 int last_idx = nread - 1; in clusterManagerCommandReshard() local 5072 if (buf[last_idx] != '\n') { in clusterManagerCommandReshard() 5076 buf[last_idx] = '\0'; in clusterManagerCommandReshard() 5088 int last_idx = nread - 1; in clusterManagerCommandReshard() local 5089 if (buf[last_idx] != '\n') { in clusterManagerCommandReshard() 5093 buf[last_idx] = '\0'; in clusterManagerCommandReshard() 5112 int last_idx = nread - 1; in clusterManagerCommandReshard() local 5113 if (buf[last_idx] != '\n') { in clusterManagerCommandReshard() 5117 buf[last_idx] = '\0'; in clusterManagerCommandReshard()
|