| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | bitalloc.c | 255 *index = *index / 32; in ba_alloc_index_helper() 279 if (index < 0 || index >= (int)pool->size) in ba_alloc_index() 309 *index = *index / 32; in ba_inuse_helper() 320 if (index < 0 || index >= (int)pool->size) in ba_inuse() 347 *index = *index / 32; in ba_free_helper() 364 if (index < 0 || index >= (int)pool->size) in ba_free() 373 if (index < 0 || index >= (int)pool->size) in ba_inuse_free() 406 index, in ba_find_next_helper() 412 *index = *index / 32; in ba_find_next_helper() 427 *index = *index + 1; in ba_find_next_helper() [all …]
|
| H A D | tf_ext_flow_handle.h | 36 index, \ argument 47 (index) = (((flow_handle) & TF_INDEX_FLOW_HANDLE_MASK) >> \ 59 index, \ argument 71 (flow_handle) |= ((((uint64_t)index) << TF_INDEX_FLOW_HANDLE_SFT) & \ 83 index) \ argument 85 index = (((flow_handle) & TF_INDEX_FLOW_HANDLE_MASK) >> \ 168 #define TF_SET_GFID(gfid, index, type) \ argument 170 gfid = (((index) << TF_HASH_INDEX_GFID_SFT) & \ 176 #define TF_GET_HASH_INDEX_FROM_GFID(gfid, index) \ argument 178 index = (((gfid) & TF_HASH_INDEX_GFID_MASK) >> \
|
| H A D | lookup3.h | 125 int index = length - 1; in hashword() local 134 a += k[index]; in hashword() 135 b += k[index - 1]; in hashword() 136 c += k[index - 2]; in hashword() 139 index -= 3; in hashword() 145 c += k[index - 2]; in hashword() 148 b += k[index - 1]; in hashword() 151 a += k[index]; in hashword()
|
| H A D | tf_em_hash_internal.c | 43 uint32_t index; in tf_em_hash_insert_int_entry() local 60 index = dpool_alloc(pool, in tf_em_hash_insert_int_entry() 64 if (index == DP_INVALID_INDEX) { in tf_em_hash_insert_int_entry() 79 rptr_index = index; in tf_em_hash_insert_int_entry() 89 dpool_free(pool, index); in tf_em_hash_insert_int_entry() 110 dpool_set_entry_data(pool, index, parms->flow_handle); in tf_em_hash_insert_int_entry() 142 dpool_free(pool, parms->index); in tf_em_hash_delete_int_entry() 177 dpool_free(pool, parms->index); in tf_em_move_int_entry()
|
| /dpdk/doc/guides/ |
| H A D | index.rst | 10 linux_gsg/index 15 howto/index 16 tools/index 18 nics/index 19 bbdevs/index 22 vdpadevs/index 24 dmadevs/index 25 gpus/index 27 rawdevs/index 28 mempool/index [all …]
|
| /dpdk/drivers/event/octeontx/ |
| H A D | timvf_worker.c | 45 uint16_t index; in timvf_timer_cancel_burst() local 47 for (index = 0; index < nb_timers; index++) { in timvf_timer_cancel_burst() 63 return index; in timvf_timer_cancel_burst() 71 uint16_t index; in timvf_timer_arm_burst_sp() local 74 for (index = 0; index < nb_timers; index++) { in timvf_timer_arm_burst_sp() 80 tim[index], &entry); in timvf_timer_arm_burst_sp() 87 return index; in timvf_timer_arm_burst_sp() 108 uint16_t index; in timvf_timer_arm_burst_mp() local 111 for (index = 0; index < nb_timers; index++) { in timvf_timer_arm_burst_mp() 116 tim[index], &entry); in timvf_timer_arm_burst_mp() [all …]
|
| /dpdk/drivers/net/atlantic/hw_atl/ |
| H A D | hw_atl_b0.c | 393 hw_atl_tdm_tx_desc_en_set(self, 1, index); in hw_atl_b0_hw_ring_tx_start() 399 hw_atl_rdm_rx_desc_en_set(self, 1, index); in hw_atl_b0_hw_ring_rx_start() 427 index); in hw_atl_b0_hw_ring_rx_init() 430 index); in hw_atl_b0_hw_ring_rx_init() 443 hw_atl_itr_irq_map_rx_set(self, vec, index); in hw_atl_b0_hw_ring_rx_init() 446 hw_atl_rdm_cpu_id_set(self, cpu, index); in hw_atl_b0_hw_ring_rx_init() 461 index); in hw_atl_b0_hw_ring_tx_init() 464 index); in hw_atl_b0_hw_ring_tx_init() 477 hw_atl_tdm_cpu_id_set(self, cpu, index); in hw_atl_b0_hw_ring_tx_init() 505 hw_atl_tdm_tx_desc_en_set(self, 0U, index); in hw_atl_b0_hw_ring_tx_stop() [all …]
|
| H A D | hw_atl_b0.h | 17 int index, int size, int cpu, int vec); 19 int index, int size, int buff_size, int cpu, int vec); 23 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, int index); 24 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, int index); 27 int hw_atl_b0_hw_ring_tx_stop(struct aq_hw_s *self, int index); 28 int hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, int index); 31 int hw_atl_b0_hw_tx_ring_tail_update(struct aq_hw_s *self, int tail, int index);
|
| /dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa_virtq.c | 105 virtq->index); in mlx5_vdpa_virtq_unset() 116 virtq->index); in mlx5_vdpa_virtq_unset() 230 virtq->index = index; in mlx5_vdpa_virtq_setup() 253 index); in mlx5_vdpa_virtq_setup() 267 " %d.", index); in mlx5_vdpa_virtq_setup() 296 " %u.", i, index); in mlx5_vdpa_virtq_setup() 303 i, index); in mlx5_vdpa_virtq_setup() 389 index); in mlx5_vdpa_virtq_setup() 394 index); in mlx5_vdpa_virtq_setup() 406 priv->vid, index); in mlx5_vdpa_virtq_setup() [all …]
|
| /dpdk/drivers/event/cnxk/ |
| H A D | cnxk_tim_worker.c | 65 uint16_t index; in cnxk_tim_timer_arm_burst() local 69 for (index = 0; index < nb_timers; index++) { in cnxk_tim_timer_arm_burst() 76 tim[index]->timeout_ticks, in cnxk_tim_timer_arm_burst() 77 tim[index], &entry, flags); in cnxk_tim_timer_arm_burst() 80 tim[index]->timeout_ticks, in cnxk_tim_timer_arm_burst() 81 tim[index], &entry, flags); in cnxk_tim_timer_arm_burst() 92 return index; in cnxk_tim_timer_arm_burst() 168 uint16_t index; in cnxk_tim_timer_cancel_burst() local 173 for (index = 0; index < nb_timers; index++) { in cnxk_tim_timer_cancel_burst() 183 ret = cnxk_tim_rm_entry(tim[index]); in cnxk_tim_timer_cancel_burst() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_mac.c | 32 MLX5_ASSERT(index < MLX5_MAX_MAC_ADDRESSES); in mlx5_internal_mac_addr_remove() 35 mlx5_os_mac_addr_remove(dev, index); in mlx5_internal_mac_addr_remove() 54 uint32_t index) in mlx5_internal_mac_addr_add() argument 59 MLX5_ASSERT(index < MLX5_MAX_MAC_ADDRESSES); in mlx5_internal_mac_addr_add() 67 if (i == index) in mlx5_internal_mac_addr_add() 75 ret = mlx5_os_mac_addr_add(dev, mac, index); in mlx5_internal_mac_addr_add() 79 dev->data->mac_addrs[index] = *mac; in mlx5_internal_mac_addr_add() 96 if (index >= MLX5_MAX_UC_MAC_ADDRESSES) in mlx5_mac_addr_remove() 98 mlx5_internal_mac_addr_remove(dev, index); in mlx5_mac_addr_remove() 124 uint32_t index, uint32_t vmdq __rte_unused) in mlx5_mac_addr_add() argument [all …]
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | intro.rst | 41 * :doc:`../bbdevs/index` 43 * :doc:`../compressdevs/index` 45 * :doc:`../cryptodevs/index` 47 * :doc:`../dmadevs/index` 49 * :doc:`../eventdevs/index` 51 * :doc:`../gpus/index` 53 * :doc:`../mempool/index` 55 * :doc:`../nics/index` 57 * :doc:`../rawdevs/index` 59 * :doc:`../regexdevs/index` [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_interrupts.c | 330 int index) in rte_intr_efds_index_get() argument 334 if (index >= intr_handle->nb_intr) { in rte_intr_efds_index_get() 341 return intr_handle->efds[index]; in rte_intr_efds_index_get() 347 int index, int fd) in rte_intr_efds_index_set() argument 351 if (index >= intr_handle->nb_intr) { in rte_intr_efds_index_set() 358 intr_handle->efds[index] = fd; in rte_intr_efds_index_set() 377 return &intr_handle->elist[index]; in rte_intr_elist_index_get() 394 intr_handle->elist[index] = elist; in rte_intr_elist_index_set() 435 int index) in rte_intr_vec_list_index_get() argument 452 int index, int vec) in rte_intr_vec_list_index_set() argument [all …]
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_eth_group.c | 26 u8 type, u8 index, u8 *select) in eth_group_get_select() argument 37 if (type == ETH_GROUP_PHY && index < dev->phy_num) in eth_group_get_select() 38 *select = index * 2 + 2; in eth_group_get_select() 39 else if (type == ETH_GROUP_MAC && index < dev->mac_num) in eth_group_get_select() 40 *select = index * 2 + 3; in eth_group_get_select() 41 else if (type == ETH_GROUP_ETHER && index == 0) in eth_group_get_select() 50 u8 type, u8 index, u16 addr, u32 data) in eth_group_write_reg() argument 57 __func__, eth_type_to_string(type), index, addr); in eth_group_write_reg() 79 u8 type, u8 index, u16 addr, u32 *data) in eth_group_read_reg() argument 86 __func__, eth_type_to_string(type), index, in eth_group_read_reg() [all …]
|
| /dpdk/doc/guides/freebsd_gsg/ |
| H A D | intro.rst | 60 * :doc:`../bbdevs/index` 62 * :doc:`../compressdevs/index` 64 * :doc:`../cryptodevs/index` 66 * :doc:`../dmadevs/index` 68 * :doc:`../eventdevs/index` 70 * :doc:`../gpus/index` 72 * :doc:`../mempool/index` 74 * :doc:`../nics/index` 76 * :doc:`../rawdevs/index` 78 * :doc:`../regexdevs/index` [all …]
|
| /dpdk/lib/stack/ |
| H A D | rte_stack_std.h | 27 unsigned int index; in __rte_stack_std_push() local 40 for (index = 0; index < n; ++index, obj_table++) in __rte_stack_std_push() 41 cache_objs[index] = *obj_table; in __rte_stack_std_push() 65 unsigned int index, len; in __rte_stack_std_pop() local 77 for (index = 0, len = stack->len - 1; index < n; in __rte_stack_std_pop() 78 ++index, len--, obj_table++) in __rte_stack_std_pop()
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_flow.c | 350 if (index > 0) { in dpaa2_flow_extract_key_set() 377 for (index = 0; index < dpkg->num_extracts; index++) { in dpaa2_flow_extract_add() 523 for (index = 0; index < dpkg->num_extracts; index++) { in dpaa2_flow_extract_add_raw() 933 int index, ret; in dpaa2_configure_flow_eth() local 1181 int index, ret; in dpaa2_configure_flow_vlan() local 1350 int index, ret; in dpaa2_configure_flow_ip_discrimation() local 1417 int index, ret; in dpaa2_configure_flow_generic_ip() local 1750 int index, ret; in dpaa2_configure_flow_icmp() local 1992 int index, ret; in dpaa2_configure_flow_udp() local 2231 int index, ret; in dpaa2_configure_flow_tcp() local [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | parser.h | 32 #define APP_CHECK_TOKEN_EQUAL(tokens, index, ref, status) \ argument 33 APP_CHECK(strcmp(tokens[index], ref) == 0, status, \ 35 tokens[index], ref) 49 #define APP_CHECK_TOKEN_IS_NUM(tokens, index, status) \ argument 50 APP_CHECK(is_str_num(tokens[index]) == 0, status, \ 51 "input \"%s\" is not valid number string", tokens[index]) 54 #define INCREMENT_TOKEN_INDEX(index, max_num, status) \ argument 56 APP_CHECK(index + 1 < max_num, status, "reaching the end of " \ 58 index++; \
|
| /dpdk/lib/acl/ |
| H A D | acl_gen.c | 73 return idx << (CHAR_BIT * sizeof(index)) | index | node->node_type; in acl_dfa_gen_idx() 295 index = dfa[QRANGE_MIN]; in acl_add_ptrs() 296 *node_a++ = index; in acl_add_ptrs() 299 if (dfa[x] != index) { in acl_add_ptrs() 300 index = dfa[x]; in acl_add_ptrs() 301 *node_a++ = index; in acl_add_ptrs() 307 if (dfa[x] != index) { in acl_add_ptrs() 308 index = dfa[x]; in acl_add_ptrs() 309 *node_a++ = index; in acl_add_ptrs() 348 index->dfa_index += sz; in acl_gen_node() [all …]
|
| /dpdk/lib/flow_classify/ |
| H A D | rte_flow_classify_parse.c | 153 index++;\ 160 act = actions + index;\ 162 index++;\ 217 uint32_t index; in classify_parse_ntuple_filter() local 220 index = 0; in classify_parse_ntuple_filter() 252 index++; in classify_parse_ntuple_filter() 307 index++; in classify_parse_ntuple_filter() 426 index++; in classify_parse_ntuple_filter() 469 index = 0; in classify_parse_ntuple_filter() 497 index++; in classify_parse_ntuple_filter() [all …]
|
| /dpdk/drivers/mempool/cnxk/ |
| H A D | cnxk_mempool_ops.c | 14 unsigned int index; in cnxk_mempool_enq() local 20 for (index = 0; index < n; index++) in cnxk_mempool_enq() 22 (uint64_t)obj_table[index]); in cnxk_mempool_enq() 30 unsigned int index; in cnxk_mempool_deq() local 33 for (index = 0; index < n; index++, obj_table++) { in cnxk_mempool_deq() 42 cnxk_mempool_enq(mp, obj_table - index, index); in cnxk_mempool_deq()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_flow.c | 130 index = 0; in cons_parse_ntuple_filter() 160 index++; in cons_parse_ntuple_filter() 214 index++; in cons_parse_ntuple_filter() 331 index++; in cons_parse_ntuple_filter() 360 index++; in cons_parse_ntuple_filter() 586 index++; in cons_parse_ethertype_filter() 616 index++; in cons_parse_ethertype_filter() 894 index++; in cons_parse_syn_filter() 921 index++; in cons_parse_syn_filter() 1183 index++; in cons_parse_flex_filter() [all …]
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_dev.c | 154 .port_init.index = 0, in ionic_dev_cmd_port_identify() 165 .port_init.index = 0, in ionic_dev_cmd_port_init() 177 .port_reset.index = 0, in ionic_dev_cmd_port_reset() 188 .port_setattr.index = 0, in ionic_dev_cmd_port_state() 201 .port_setattr.index = 0, in ionic_dev_cmd_port_speed() 214 .port_setattr.index = 0, in ionic_dev_cmd_port_mtu() 227 .port_setattr.index = 0, in ionic_dev_cmd_port_autoneg() 331 unsigned long index) in ionic_intr_init() argument 334 intr->index = index; in ionic_intr_init() 347 .q_init.index = rte_cpu_to_le_32(q->index), in ionic_dev_cmd_adminq_init() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_mcast.c | 19 uint8_t priority, uint16_t index[]) in roc_nix_mcast_mcam_entry_alloc() argument 37 index[i] = rsp->entry_list[i]; in roc_nix_mcast_mcam_entry_alloc() 43 roc_nix_mcast_mcam_entry_free(struct roc_nix *roc_nix, uint32_t index) in roc_nix_mcast_mcam_entry_free() argument 52 req->entry = index; in roc_nix_mcast_mcam_entry_free() 59 struct mcam_entry *entry, uint32_t index, in roc_nix_mcast_mcam_entry_write() argument 69 req->entry = index; in roc_nix_mcast_mcam_entry_write() 79 roc_nix_mcast_mcam_entry_ena_dis(struct roc_nix *roc_nix, uint32_t index, in roc_nix_mcast_mcam_entry_ena_dis() argument 96 req->entry = index; in roc_nix_mcast_mcam_entry_ena_dis()
|
| /dpdk/drivers/mempool/octeontx/ |
| H A D | rte_mempool_octeontx.c | 75 unsigned int index; in octeontx_fpavf_enqueue() local 80 for (index = 0; index < n; index++, obj_table++) in octeontx_fpavf_enqueue() 90 unsigned int index; in octeontx_fpavf_dequeue() local 97 for (index = 0; index < n; index++, obj_table++) { in octeontx_fpavf_dequeue() 107 for (; index > 0; index--) { in octeontx_fpavf_dequeue()
|