| /dpdk/app/test/ |
| H A D | test_rwlock.c | 215 try_read(uint32_t lc) in try_read() argument 229 __func__, lc); in try_read() 296 uint32_t i, lc; in try_read_lcore() local 300 lc = rte_lcore_id(); in try_read_lcore() 330 uint32_t i, lc; in try_write_lcore() local 378 lc, in print_try_lcore_stats() 433 print_try_lcore_stats(try_lcore_data + lc, lc); in process_try_lcore_stats() 487 uint32_t lc, mlc; in try_rwlock_test_rde_wro() local 494 if (lc != mlc) { in try_rwlock_test_rde_wro() 497 NULL, lc); in try_rwlock_test_rde_wro() [all …]
|
| H A D | test_ring_stress_impl.h | 104 if (lc == UINT32_MAX) in lcore_stat_dump() 178 fname, lc, opname, exp, res); in check_ring_op() 188 uint32_t lc, n, num; in test_worker() local 195 lc = rte_lcore_id(); in test_worker() 198 fill_ring_elm(&loc_elm, lc); in test_worker() 336 uint32_t lc, mc; in test_mt1() local 354 RTE_LCORE_FOREACH_WORKER(lc) { in test_mt1() 355 arg[lc].rng = r; in test_mt1() 356 arg[lc].stats = init_stat; in test_mt1() 357 rte_eal_remote_launch(test, &arg[lc], lc); in test_mt1() [all …]
|
| H A D | test_barrier.c | 69 uint32_t lc; /* given lcore id */ member 134 uint32_t lc, ln; in plock_test1_lcore() local 139 lc = rte_lcore_id(); in plock_test1_lcore() 142 for (ln = rte_lcore_count(); ln != 0 && lpt->lc != lc; lpt++, ln--) in plock_test1_lcore() 146 printf("%s(%u) error at init\n", __func__, lc); in plock_test1_lcore() 174 __func__, lc, i, tm, (long double)tm / i, in plock_test1_lcore() 192 uint32_t i, lc, n; in plock_test() local 220 RTE_LCORE_FOREACH(lc) { in plock_test() 222 lpt[i].lc = lc; in plock_test() 233 i, lpt[i].lc, lpt[i].pt[0], lpt[i].pt[1]); in plock_test()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_utils.c | 205 lc = pool->cache[cidx]->lc; in mlx5_ipool_update_global_cache() 209 if (lc && !(--lc->ref_cnt)) in mlx5_ipool_update_global_cache() 213 pool->cache[cidx]->lc = lc; in mlx5_ipool_update_global_cache() 239 lc = pool->cache[cidx]->lc; in mlx5_ipool_allocate_from_global() 244 if (lc && !(--lc->ref_cnt)) in mlx5_ipool_allocate_from_global() 248 pool->cache[cidx]->lc = lc; in mlx5_ipool_allocate_from_global() 271 trunk_n = lc ? lc->n_trunk : 0; in mlx5_ipool_allocate_from_global() 290 if (lc) in mlx5_ipool_allocate_from_global() 330 if (lc && !(--lc->ref_cnt)) in mlx5_ipool_allocate_from_global() 332 lc = p; in mlx5_ipool_allocate_from_global() [all …]
|
| H A D | mlx5_utils.h | 243 struct mlx5_indexed_cache *lc; member
|
| /dpdk/drivers/net/cxgbe/base/ |
| H A D | t4_hw.c | 4522 if (link_ok != lc->link_ok || acaps != lc->acaps || in t4_handle_get_port_info() 4531 lc->acaps = acaps; in t4_handle_get_port_info() 4619 lc->link_ok = 0; in t4_reset_link_config() 4620 lc->link_down_rc = 0; in t4_reset_link_config() 4621 lc->link_caps = 0; in t4_reset_link_config() 4642 lc->pcaps = pcaps; in t4_init_link_config() 4643 lc->acaps = acaps; in t4_init_link_config() 4645 lc->link_caps = 0; in t4_init_link_config() 4651 lc->link_ok = 0; in t4_init_link_config() 4652 lc->link_down_rc = 0; in t4_init_link_config() [all …]
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_ethdev.c | 212 struct link_config *lc = &pi->link_cfg; in cxgbe_dev_link_update() local 1071 struct link_config *lc = &pi->link_cfg; in cxgbe_flow_ctrl_get() local 1073 u32 caps = lc->link_caps; in cxgbe_flow_ctrl_get() 1099 struct link_config *lc = &pi->link_cfg; in cxgbe_flow_ctrl_set() local 1100 u32 new_caps = lc->admin_caps; in cxgbe_flow_ctrl_set() 1125 if (new_caps != lc->admin_caps) { in cxgbe_flow_ctrl_set() 1128 lc->admin_caps = new_caps; in cxgbe_flow_ctrl_set() 1518 struct link_config *lc = &pi->link_cfg; in cxgbe_fec_get_capability() local 1556 u32 new_caps = lc->admin_caps; in cxgbe_fec_set() 1587 if (new_caps != lc->admin_caps) { in cxgbe_fec_set() [all …]
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_lookup.c | 73 uint8_t lb, lc, ld, le; in nix_create_non_tunnel_ptype_array() local 79 lc = (idx & 0xF0) >> 4; in nix_create_non_tunnel_ptype_array() 93 switch (lc) { in nix_create_non_tunnel_ptype_array()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 2642 struct lcore_conf *lc; in rx_callback() local 2646 lc = user_param; in rx_callback() 2665 lc->frag.tbl, &lc->frag.dr, in rx_callback() 2691 lc->frag.tbl, &lc->frag.dr, in rx_callback() 2727 if (lc->frag.tbl == NULL) { in reassemble_lcore_init() 2735 for (i = 0; i != lc->nb_rx_queue; i++) { in reassemble_lcore_init() 2737 rxq = lc->rx_queue_list + i; in reassemble_lcore_init() 2739 rx_callback, lc); in reassemble_lcore_init() 2756 uint32_t i, lc; in reassemble_init() local 2760 lc = lcore_params[i].lcore_id; in reassemble_init() [all …]
|
| /dpdk/drivers/common/cnxk/hw/ |
| H A D | npc.h | 506 uint64_t lc : 12; member 532 uint64_t lc : 20; member
|
| /dpdk/lib/vhost/ |
| H A D | vhost_user.c | 576 struct log_cache_entry *lc; in numa_realloc() local 578 lc = rte_realloc_socket(vq->log_cache, sizeof(*lc) * VHOST_LOG_CACHE_NR, 0, node); in numa_realloc() 579 if (!lc) { in numa_realloc() 584 vq->log_cache = lc; in numa_realloc()
|