| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_osdep_bitmap.h | 22 struct rte_bitmap *map; member 69 if (bm->map == NULL) { in dlb2_bitmap_alloc() 93 rte_free(bitmap->map); in dlb2_bitmap_free() 117 rte_bitmap_set(bitmap->map, i); in dlb2_bitmap_fill() 139 rte_bitmap_reset(bitmap->map); in dlb2_bitmap_zero() 165 rte_bitmap_set(bitmap->map, bit); in dlb2_bitmap_set() 315 if (bitmap->map == NULL) in dlb2_bitmap_find_set_bit() 346 if (bitmap->map == NULL) in dlb2_bitmap_count() 376 if (bitmap->map == NULL) in dlb2_bitmap_longest_set_range() 430 rte_bitmap_set(dest->map, i); in dlb2_bitmap_or() [all …]
|
| /dpdk/devtools/ |
| H A D | check-symbol-maps.sh | 18 for map in $@ ; do 19 for sym in $(sed -rn 's,^([^}]*_.*);.*$,\1,p' $map) ; do 27 if [ -z "$(grep -rlw $symsrc $(dirname $map) | grep -v $map)" ] ; then 28 echo "$map: $sym" 43 for map in $@ ; do 44 buildtools/map-list-symbol.sh $map | \ 45 sort | uniq -c | grep -v " 1 $map" || true
|
| /dpdk/lib/hash/ |
| H A D | rte_thash.h | 180 uint32_t i, j, map, ret = 0; in rte_softrss() local 183 for (map = input_tuple[j]; map; map &= (map - 1)) { in rte_softrss() 184 i = rte_bsf32(map); in rte_softrss() 210 uint32_t i, j, map, ret = 0; in rte_softrss_be() local 213 for (map = input_tuple[j]; map; map &= (map - 1)) { in rte_softrss_be() 214 i = rte_bsf32(map); in rte_softrss_be()
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb.c | 257 u8 *map) in ixgbe_dcb_unpack_map_cee() argument 429 u8 map[IXGBE_DCB_MAX_USER_PRIORITY] = { 0 }; in ixgbe_dcb_config_rx_arbiter_cee() local 449 tsa, map); in ixgbe_dcb_config_rx_arbiter_cee() 510 u8 map[IXGBE_DCB_MAX_USER_PRIORITY] = { 0 }; in ixgbe_dcb_config_tx_data_arbiter_cee() local 532 map); in ixgbe_dcb_config_tx_data_arbiter_cee() 552 u8 map[IXGBE_DCB_MAX_USER_PRIORITY] = { 0 }; in ixgbe_dcb_config_pfc_cee() local 615 u8 map[IXGBE_DCB_MAX_USER_PRIORITY] = { 0 }; in ixgbe_dcb_hw_config_cee() local 639 tsa, map); in ixgbe_dcb_hw_config_cee() 678 u8 *bwg_id, u8 *tsa, u8 *map) in ixgbe_dcb_hw_config() argument 694 tsa, map); in ixgbe_dcb_hw_config() [all …]
|
| H A D | ixgbe_dcb_82599.c | 93 u8 *map) in ixgbe_dcb_config_rx_arbiter_82599() argument 115 reg |= (map[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599() 204 u8 *map) in ixgbe_dcb_config_tx_data_arbiter_82599() argument 226 reg |= (map[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); in ixgbe_dcb_config_tx_data_arbiter_82599() 264 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) in ixgbe_dcb_config_pfc_82599() argument 292 if (map[i] > max_tc) in ixgbe_dcb_config_pfc_82599() 293 max_tc = map[i]; in ixgbe_dcb_config_pfc_82599() 302 if ((map[j] == i) && (pfc_en & (1 << j))) { in ixgbe_dcb_config_pfc_82599() 568 u8 *map) in ixgbe_dcb_hw_config_82599() argument 573 map); in ixgbe_dcb_hw_config_82599() [all …]
|
| /dpdk/buildtools/ |
| H A D | check-symbols.sh | 9 LIST_SYMBOL=$ROOTDIR/buildtools/map-list-symbol.sh 41 but is listed in version map 58 but is not listed in version map 59 Please add $SYM to the version map 72 but is listed in version map 89 but is not listed in version map 90 Please add $SYM to the version map
|
| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | qman_driver.c | 52 map.index = index; in fsl_qman_portal_init() 53 ret = process_portal_map(&map); in fsl_qman_portal_init() 59 qpcfg.channel = map.channel; in fsl_qman_portal_init() 60 qpcfg.pools = map.pools; in fsl_qman_portal_init() 61 qpcfg.index = map.index; in fsl_qman_portal_init() 64 qpcfg.addr_virt[DPAA_PORTAL_CE] = map.addr.cena; in fsl_qman_portal_init() 65 qpcfg.addr_virt[DPAA_PORTAL_CI] = map.addr.cinh; in fsl_qman_portal_init() 70 process_portal_unmap(&map.addr); in fsl_qman_portal_init() 82 process_portal_unmap(&map.addr); in fsl_qman_portal_init() 87 irq_map.portal_cinh = map.addr.cinh; in fsl_qman_portal_init() [all …]
|
| H A D | bman_driver.c | 29 static __thread struct dpaa_ioctl_portal_map map = { variable 62 map.index = idx; in fsl_bman_portal_init() 63 ret = process_portal_map(&map); in fsl_bman_portal_init() 70 pcfg.addr_virt[DPAA_PORTAL_CE] = map.addr.cena; in fsl_bman_portal_init() 71 pcfg.addr_virt[DPAA_PORTAL_CI] = map.addr.cinh; in fsl_bman_portal_init() 73 pcfg.index = map.index; in fsl_bman_portal_init() 79 process_portal_unmap(&map.addr); in fsl_bman_portal_init() 89 process_portal_unmap(&map.addr); in fsl_bman_portal_init() 95 irq_map.portal_cinh = map.addr.cinh; in fsl_bman_portal_init() 109 ret = process_portal_unmap(&map.addr); in fsl_bman_portal_finish()
|
| H A D | process.c | 149 int process_portal_unmap(struct dpaa_portal_map *map) in process_portal_unmap() argument 156 ret = ioctl(fd, DPAA_IOCTL_PORTAL_UNMAP, map); in process_portal_unmap() 167 int process_portal_irq_map(int ifd, struct dpaa_ioctl_irq_map *map) in process_portal_irq_map() argument 169 map->fd = fd; in process_portal_irq_map() 170 return ioctl(ifd, DPAA_IOCTL_PORTAL_IRQ_MAP, map); in process_portal_irq_map()
|
| /dpdk/app/test-flow-perf/ |
| H A D | main.c | 139 uint64_t *map; member 146 .map = &flow_items[0], 152 .map = &flow_items[0], 158 .map = &flow_items[0], 164 .map = &flow_items[0], 170 .map = &flow_items[0], 176 .map = &flow_items[0], 182 .map = &flow_items[0], 188 .map = &flow_items[0], 194 .map = &flow_items[0], [all …]
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb_hw.c | 23 u8 *map) in txgbe_dcb_config_rx_arbiter_raptor() argument 46 reg |= (map[i] << (i * TXGBE_RPUP2TC_UP_SHIFT)); in txgbe_dcb_config_rx_arbiter_raptor() 133 u8 *map) in txgbe_dcb_config_tx_data_arbiter_raptor() argument 155 reg |= TXGBE_DCBUP2TC_MAP(i, map[i]); in txgbe_dcb_config_tx_data_arbiter_raptor() 192 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc_raptor() argument 205 if (map[i] > max_tc) in txgbe_dcb_config_pfc_raptor() 206 max_tc = map[i]; in txgbe_dcb_config_pfc_raptor() 214 if (map[j] == i && (pfc_en & (1 << j))) { in txgbe_dcb_config_pfc_raptor()
|
| H A D | txgbe_dcb_hw.h | 10 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map); 21 u8 *map); 23 u16 *max, u8 *bwg_id, u8 *tsa, u8 *map);
|
| H A D | txgbe_dcb.c | 268 void txgbe_dcb_unpack_pfc_cee(struct txgbe_dcb_config *cfg, u8 *map, u8 *pfc_up) in txgbe_dcb_unpack_pfc_cee() argument 278 if (tc_config[map[up]].pfc != txgbe_dcb_pfc_disabled) in txgbe_dcb_unpack_pfc_cee() 346 u8 *map) in txgbe_dcb_unpack_map_cee() argument 351 map[up] = txgbe_dcb_get_tc_from_up(cfg, direction, up); in txgbe_dcb_unpack_map_cee() 355 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc() argument 358 ret = txgbe_dcb_config_pfc_raptor(hw, pfc_en, map); in txgbe_dcb_config_pfc()
|
| H A D | txgbe_dcb.h | 104 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map); 108 u8 *map, u8 *pfc_up); 117 u8 *map);
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio.c | 97 return map->addr == 0 && map->iova == 0 && in is_null_map() 98 map->len == 0 && map->chunk == 0; in is_null_map() 249 uint64_t map_va_end = map->addr + map->len; in addr_is_chunk_aligned() 250 uint64_t map_iova_end = map->iova + map->len; in addr_is_chunk_aligned() 281 uint64_t map_va_end = map->addr + map->len; in find_user_mem_maps() 282 uint64_t map_iova_end = map->iova + map->len; in find_user_mem_maps() 304 memcpy(&dst[j++], map, sizeof(*map)); in find_user_mem_maps() 881 struct user_mem_map *map; in rte_vfio_setup_device() local 886 map->addr, map->iova, map->len, in rte_vfio_setup_device() 893 map->addr, map->iova, in rte_vfio_setup_device() [all …]
|
| /dpdk/lib/cmdline/ |
| H A D | cmdline_parse_portlist.c | 27 pl->map |= (1 << low++); in parse_set_list() 62 if (ps > pe || pe >= sizeof (pl->map) * 8) in parse_ports() 97 pl->map = 0; in cmdline_parse_portlist() 99 pl->map = UINT32_MAX; in cmdline_parse_portlist()
|
| /dpdk/doc/guides/contributing/ |
| H A D | abi_versioning.rst | 61 $ head ./lib/acl/version.map 66 $ head ./lib/eal/version.map 80 $ head ./lib/acl/version.map 91 $ head ./lib/eal/version.map 103 $ head ./lib/acl/version.map 108 $ head ./lib/eal/version.map 137 macros are used in conjunction with the ``version.map`` file for 214 requisite libraries version map file. Initially the version map file for the acl 487 We then update the map file, adding the symbol ``rte_acl_create`` 543 In the map file, we map the symbol to both the ``EXPERIMENTAL`` [all …]
|
| /dpdk/drivers/net/af_packet/ |
| H A D | rte_eth_af_packet.c | 45 uint8_t *map; member 62 uint8_t *map; member 449 munmap(internals->rx_queue[q].map, in eth_dev_close() 717 (*internals)->rx_queue[q].map = MAP_FAILED; in rte_pmd_init_internals() 718 (*internals)->tx_queue[q].map = MAP_FAILED; in rte_pmd_init_internals() 833 if (rx_queue->map == MAP_FAILED) { in rte_pmd_init_internals() 847 rx_queue->rd[i].iov_base = rx_queue->map + (i * framesize); in rte_pmd_init_internals() 858 tx_queue->map = rx_queue->map + req->tp_block_size * req->tp_block_nr; in rte_pmd_init_internals() 864 tx_queue->rd[i].iov_base = tx_queue->map + (i * framesize); in rte_pmd_init_internals() 920 if ((*internals)->rx_queue[q].map != MAP_FAILED) in rte_pmd_init_internals() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_flex.c | 239 struct mlx5_flex_pattern_field *map = tp->map + i; in mlx5_flex_flow_translate_item() local 240 uint32_t id = map->reg_id; in mlx5_flex_flow_translate_item() 241 uint32_t def = (RTE_BIT64(map->width) - 1) << map->shift; in mlx5_flex_flow_translate_item() 246 pos += map->width; in mlx5_flex_flow_translate_item() 249 val = mlx5_flex_get_bitfield(spec, pos, map->width, map->shift); in mlx5_flex_flow_translate_item() 250 msk = mlx5_flex_get_bitfield(mask, pos, map->width, map->shift); in mlx5_flex_flow_translate_item() 251 MLX5_ASSERT(map->width); in mlx5_flex_flow_translate_item() 263 pos += map->width; in mlx5_flex_flow_translate_item() 771 trans = &item->map[item->mapnum]; in mlx5_flex_map_sample() 807 trans = &item->map[item->mapnum]; in mlx5_flex_map_sample() [all …]
|
| /dpdk/app/test/ |
| H A D | test_cmdline_portlist.c | 186 if (result.map != portlist_valid_strs[i].portmap) { in test_parse_portlist_valid() 205 if (result.map != UINT32_MAX) { in test_parse_portlist_valid()
|
| H A D | test_graph_perf.c | 37 #define SOURCES(map) RTE_DIM(map) argument 38 #define STAGES(map) RTE_DIM(map) argument 39 #define NODES_PER_STAGE(map) RTE_DIM(map[0]) argument 40 #define SINKS(map) RTE_DIM(map[0]) argument
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_dev.c | 164 ccp_bitmap_set(unsigned long *map, unsigned int start, int len) in ccp_bitmap_set() argument 166 unsigned long *p = map + WORD_OFFSET(start); in ccp_bitmap_set() 185 ccp_bitmap_clear(unsigned long *map, unsigned int start, int len) in ccp_bitmap_clear() argument 187 unsigned long *p = map + WORD_OFFSET(start); in ccp_bitmap_clear() 258 ccp_bitmap_find_next_zero_area(unsigned long *map, in ccp_bitmap_find_next_zero_area() argument 266 index = ccp_find_next_zero_bit(map, size, start); in ccp_bitmap_find_next_zero_area() 271 i = ccp_find_next_bit(map, end, index); in ccp_bitmap_find_next_zero_area()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_flow.c | 46 struct flow_attr_map *map; in flow_attr_map_set() local 59 strlcpy(map->pipeline_name, pipeline_name, sizeof(map->pipeline_name)); in flow_attr_map_set() 60 map->table_id = table_id; in flow_attr_map_set() 61 map->valid = 1; in flow_attr_map_set() 85 struct flow_attr_map *map; in flow_pipeline_table_get() local 108 map = flow_attr_map_get(softnic, in flow_pipeline_table_get() 111 if (map == NULL || in flow_pipeline_table_get() 112 map->valid == 0) in flow_pipeline_table_get() 123 *table_id = map->table_id; in flow_pipeline_table_get() 1194 struct flow_attr_map *map; in flow_rule_action_get() local [all …]
|
| /dpdk/lib/ipsec/ |
| H A D | ipsec_sad.c | 466 uint64_t map, map_spec; in __ipsec_sad_lookup() local 486 for (map = mask_1; map; map &= (map - 1)) { in __ipsec_sad_lookup() 487 i = rte_bsf64(map); in __ipsec_sad_lookup()
|
| /dpdk/lib/bpf/ |
| H A D | bpf_jit_arm64.c | 40 struct ebpf_a64_map *map; /* eBPF to arm64 insn mapping for jump */ member 113 ctx->map = malloc(bpf->prm.nb_ins * sizeof(ctx->map[0])); in jump_offset_init() 114 if (ctx->map == NULL) in jump_offset_init() 119 ctx->map[i].off = INT32_MAX; in jump_offset_init() 120 ctx->map[i].off_to_b = 0; in jump_offset_init() 128 free(ctx->map); in jump_offset_fini() 135 ctx->map[ebpf_idx].off = ctx->idx; in jump_offset_update() 142 ctx->map[ebpf_idx].off_to_b = ctx->idx - ctx->map[ebpf_idx].off; in jump_offset_to_branch_update() 151 a64_from = ctx->map[from].off + ctx->map[from].off_to_b; in jump_offset_get() 152 a64_to = ctx->map[from + offset + 1].off; in jump_offset_get()
|