Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 163) sorted by relevance

1234567

/dpdk/app/test/
H A Dtest_lcores.c133 if (l->init > l->max) in limit_lcores_init()
153 memset(&l, 0, sizeof(l)); in test_lcores_callback()
177 memset(&l, 0, sizeof(l)); in test_lcores_callback()
252 l[0].init, l[1].init); in test_non_eal_lcores_callback()
255 if (l[0].uninit != 0 || l[1].uninit != 0) { in test_non_eal_lcores_callback()
257 l[0].uninit, l[1].uninit); in test_non_eal_lcores_callback()
275 l[0].init, l[1].init); in test_non_eal_lcores_callback()
280 l[0].uninit, l[1].uninit); in test_non_eal_lcores_callback()
298 l[0].init, l[1].init); in test_non_eal_lcores_callback()
303 l[0].uninit, l[1].uninit); in test_non_eal_lcores_callback()
[all …]
H A Dtest_barrier.c87 plock_lock(struct plock *l, uint32_t self) in plock_lock() argument
93 l->flag[self] = 1; in plock_lock()
95 l->victim = self; in plock_lock()
97 store_load_barrier(l->utype); in plock_lock()
99 while (l->flag[other] == 1 && l->victim == self) in plock_lock()
105 plock_unlock(struct plock *l, uint32_t self) in plock_unlock() argument
108 l->flag[self] = 0; in plock_unlock()
112 plock_reset(struct plock *l, enum plock_use_type utype) in plock_reset() argument
114 memset(l, 0, sizeof(*l)); in plock_reset()
115 l->utype = utype; in plock_reset()
H A Dtest_cryptodev.h116 int l; in pktmbuf_write() local
123 l = m->data_len - offset; in pktmbuf_write()
127 if (len <= l) { in pktmbuf_write()
132 rte_memcpy(dst, buffer, l); in pktmbuf_write()
133 buffer += l; in pktmbuf_write()
134 n -= l; in pktmbuf_write()
138 l = m->data_len; in pktmbuf_write()
139 if (n < l) { in pktmbuf_write()
143 rte_memcpy(dst, buffer, l); in pktmbuf_write()
144 buffer += l; in pktmbuf_write()
[all …]
/dpdk/drivers/common/dpaax/
H A Ddpaa_list.h40 #define list_add(p, l) \ argument
43 struct list_head *__l298 = (l); \
49 #define list_add_tail(p, l) \ argument
52 struct list_head *__l298 = (l); \
58 #define list_for_each(i, l) \ argument
59 for (i = (l)->next; i != (l); i = i->next)
60 #define list_for_each_safe(i, j, l) \ argument
61 for (i = (l)->next, j = i->next; i != (l); \
63 #define list_for_each_entry(i, l, name) \ argument
64 for (i = list_entry((l)->next, typeof(*i), name); &i->name != (l); \
[all …]
/dpdk/lib/eal/common/
H A Drte_reciprocal.c18 int l; in rte_reciprocal_value() local
20 l = rte_fls_u32(d - 1); in rte_reciprocal_value()
21 m = ((1ULL << 32) * ((1ULL << l) - d)); in rte_reciprocal_value()
26 R.sh1 = RTE_MIN(l, 1); in rte_reciprocal_value()
27 R.sh2 = RTE_MAX(l - 1, 0); in rte_reciprocal_value()
107 int l; in rte_reciprocal_value_u64() local
109 l = 63 - __builtin_clzll(d); in rte_reciprocal_value_u64()
111 m = divide_128_div_64_to_64((1ULL << l), 0, d, &r) << 1; in rte_reciprocal_value_u64()
114 m = (1ULL << l) - d ? m + 1 : 1; in rte_reciprocal_value_u64()
117 R.sh1 = l > 1 ? 1 : l; in rte_reciprocal_value_u64()
[all …]
/dpdk/drivers/net/bnxt/hcapi/cfa/
H A Dhcapi_cfa_common.c77 int l; in hcapi_cfa_crc32i() local
79 for (l = (len - 1); l >= 0; l--) in hcapi_cfa_crc32i()
80 crc = ucrc32(buf[l], crc); in hcapi_cfa_crc32i()
/dpdk/lib/eal/include/
H A Drte_string_fns.h72 size_t l = strnlen(dst, size); in rte_strlcat() local
73 if (l < size) in rte_strlcat()
74 return l + rte_strlcpy(&dst[l], src, size - l); in rte_strlcat()
75 return l + strlen(src); in rte_strlcat()
H A Drte_log.h341 #define RTE_LOG(l, t, ...) \ argument
342 rte_log(RTE_LOG_ ## l, \
365 #define RTE_LOG_DP(l, t, ...) \ argument
366 (void)((RTE_LOG_ ## l <= RTE_LOG_DP_LEVEL) ? \
367 rte_log(RTE_LOG_ ## l, \
/dpdk/lib/
H A Dmeson.build91 foreach l:opt_disabled_libs
92 if not optional_libs.contains(l)
96 disabled_libs += l
110 foreach l:libraries
113 name = l
133 if disabled_libs.contains(l)
137 subdir(l)
139 if name != l
177 includes += include_directories(l)
210 meson.current_source_dir(), l)
[all …]
/dpdk/lib/pipeline/
H A Drte_swx_ctl.c980 free(l->mf); in learner_free()
981 free(l->actions); in learner_free()
999 return l; in learner_find()
1402 l->mf = calloc(l->info.n_match_fields, in rte_swx_ctl_pipeline_create()
1404 if (!l->mf) in rte_swx_ctl_pipeline_create()
1411 &l->mf[j]); in rte_swx_ctl_pipeline_create()
1417 l->actions = calloc(l->info.n_actions, in rte_swx_ctl_pipeline_create()
1419 if (!l->actions) in rte_swx_ctl_pipeline_create()
1432 l->action_data_size = learner_action_data_size_get(ctl, l); in rte_swx_ctl_pipeline_create()
2396 CHECK(l, EINVAL); in rte_swx_ctl_pipeline_learner_default_entry_add()
[all …]
H A Drte_swx_pipeline.c2100 if (l) { in instr_table_translate()
8069 return l; in learner_find()
8290 if (!l) in rte_swx_pipeline_learner_config()
8369 if (!l) in rte_swx_pipeline_learner_config()
8377 free(l); in rte_swx_pipeline_learner_config()
8547 if (!l) in learner_free()
8554 free(l); in learner_free()
9622 if (!l) in rte_swx_ctl_learner_info_get()
9648 if (!l || (match_field_id >= l->n_fields)) in rte_swx_ctl_learner_match_field_info_get()
9672 if (!l || (learner_action_id >= l->n_actions)) in rte_swx_ctl_learner_action_info_get()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_bits.h24 #define GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) argument
27 #define GENMASK_ULL(h, l) \ argument
28 (((~0ULL) - (1ULL << (l)) + 1) & \
H A Droc_mbox_priv.h183 mbox_memcpy(volatile void *d, const volatile void *s, size_t l) in mbox_memcpy() argument
193 for (i = 0; i < l; i++) in mbox_memcpy()
203 mbox_memset(volatile void *d, uint8_t val, size_t l) in mbox_memset() argument
208 if (!d || !l) in mbox_memset()
211 for (i = 0; i < l; i++) in mbox_memset()
/dpdk/usertools/
H A Ddpdk-pmdinfo.py182 for l in content:
183 if l.find("Date:") > -1:
184 return l.split()[-2].replace("-", "")
193 for l in self.contents:
194 if l[0] == "#":
196 elif not l.strip():
199 if l.find("\t\t") == 0:
201 deviceID].addSubDevice(l)
202 elif l.find("\t") == 0:
203 deviceID = l.strip().split()[0]
[all …]
/dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c829 n -= l; in process_openssl_encryption_update()
853 n -= l; in process_openssl_encryption_update()
891 n -= l; in process_openssl_decryption_update()
915 n -= l; in process_openssl_decryption_update()
1007 int l; in process_openssl_cipher_des3ctr() local
1037 l--; in process_openssl_cipher_des3ctr()
1038 if (!l) { in process_openssl_cipher_des3ctr()
1243 n -= l; in process_openssl_auth()
1250 n -= l; in process_openssl_auth()
1292 n -= l; in process_openssl_auth_hmac()
[all …]
/dpdk/drivers/raw/ifpga/base/
H A Dopae_osdep.h45 #define GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) argument
48 #define GENMASK_ULL(h, l) \ argument
49 (((~0ULL) << (l)) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h))))
/dpdk/drivers/net/bnx2x/
H A Decore_init_ops.h284 int l; member
449 REG_WR(sc, read_arb_addr[i].l, read_arb_data[i][r_order].l); in ecore_init_pxp_arb()
457 if ((write_arb_addr[i].l == PXP2_REG_RQ_BW_WR_L29) || in ecore_init_pxp_arb()
460 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
461 write_arb_data[i][w_order].l); in ecore_init_pxp_arb()
470 val = REG_RD(sc, write_arb_addr[i].l); in ecore_init_pxp_arb()
471 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
472 val | (write_arb_data[i][w_order].l << 10)); in ecore_init_pxp_arb()
486 val += write_arb_data[NUM_WR_Q-1][w_order].l << 17; in ecore_init_pxp_arb()
491 val += read_arb_data[NUM_RD_Q-1][r_order].l << 17; in ecore_init_pxp_arb()
[all …]
/dpdk/drivers/common/dpaax/caamflib/
H A Dcompat.h44 #define pr_msg(l, fmt, ...) do { } while (0) argument
46 #define pr_msg(l, fmt, ...) \ argument
47 RTE_LOG(l, PMD, "%s(): " fmt "\n", __func__, ##__VA_ARGS__)
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_8023ad.c41 bond_print_lacp(struct lacpdu *l) in bond_print_lacp() argument
97 l->subtype, in bond_print_lacp()
98 l->version_number, in bond_print_lacp()
99 l->actor.tlv_type_info, in bond_print_lacp()
100 l->actor.info_length, in bond_print_lacp()
103 l->actor.port_params.key, in bond_print_lacp()
107 l->partner.tlv_type_info, in bond_print_lacp()
108 l->partner.info_length, in bond_print_lacp()
117 l->collector_max_delay, in bond_print_lacp()
118 l->tlv_type_terminator, in bond_print_lacp()
[all …]
/dpdk/lib/cmdline/
H A Dcmdline_parse.c314 int l; in cmdline_complete() local
504 l=strlcpy(dst, tmpbuf, size); in cmdline_complete()
505 if (l>=0 && token_hdr.ops->get_help) { in cmdline_complete()
510 snprintf(dst+l, size-l, "[%s]: %s", in cmdline_complete()
513 snprintf(dst+l, size-l, in cmdline_complete()
/dpdk/doc/guides/nics/
H A Dnull.rst17 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i
29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
38 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils_fw2x.c217 u32 l = 0U; in aq_fw2x_get_mac_permanent() local
242 l = 0xE3000000U in aq_fw2x_get_mac_permanent()
247 mac[5] = (u8)(0xFFU & l); in aq_fw2x_get_mac_permanent()
248 l >>= 8; in aq_fw2x_get_mac_permanent()
249 mac[4] = (u8)(0xFFU & l); in aq_fw2x_get_mac_permanent()
250 l >>= 8; in aq_fw2x_get_mac_permanent()
251 mac[3] = (u8)(0xFFU & l); in aq_fw2x_get_mac_permanent()
252 l >>= 8; in aq_fw2x_get_mac_permanent()
253 mac[2] = (u8)(0xFFU & l); in aq_fw2x_get_mac_permanent()
H A Dhw_atl_utils.c633 u32 l = 0U; in hw_atl_utils_get_mac_permanent() local
665 l = 0xE3000000U in hw_atl_utils_get_mac_permanent()
670 mac[5] = (u8)(0xFFU & l); in hw_atl_utils_get_mac_permanent()
671 l >>= 8; in hw_atl_utils_get_mac_permanent()
672 mac[4] = (u8)(0xFFU & l); in hw_atl_utils_get_mac_permanent()
673 l >>= 8; in hw_atl_utils_get_mac_permanent()
674 mac[3] = (u8)(0xFFU & l); in hw_atl_utils_get_mac_permanent()
675 l >>= 8; in hw_atl_utils_get_mac_permanent()
676 mac[2] = (u8)(0xFFU & l); in hw_atl_utils_get_mac_permanent()
/dpdk/doc/guides/howto/
H A Dtelemetry.rst106 $ ./build/app/dpdk-testpmd -l 2,3 --file-prefix="tpmd"
112 To list all running telemetry-enabled file-prefixes, the ``-l`` or ``--list`` flags can be used::
114 $ ./usertools/dpdk-telemetry -l
126 $ ./build/app/dpdk-testpmd -l 2,3 --in-memory # will use socket "dpdk_telemetry.v2"
128 $ ./build/app/test/dpdk-test -l 4,5 --in-memory # will use "dpdk_telemetry.v2:1"
/dpdk/drivers/crypto/qat/
H A Dqat_crypto.h19 #define CAP_RNG(n, l, r, i) .n = {.min = l, .max = r, .increment = i} argument

1234567