Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.c803 s->eqcr.ci = qbman_cena_read_reg(&s->sys, in qbman_swp_enqueue_ring_mode_direct()
843 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_ring_mode_cinh_read_direct()
881 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_ring_mode_cinh_direct()
918 s->eqcr.ci = qbman_cena_read_reg(&s->sys, in qbman_swp_enqueue_ring_mode_mem_back()
979 s->eqcr.ci = qbman_cena_read_reg(&s->sys, in qbman_swp_enqueue_multiple_direct()
1049 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_multiple_cinh_read_direct()
1118 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_multiple_cinh_direct()
1317 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_multiple_fd_cinh_read_direct()
1386 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_multiple_fd_cinh_direct()
1585 s->eqcr.ci = qbman_cinh_read(&s->sys, in qbman_swp_enqueue_multiple_desc_cinh_read_direct()
[all …]
H A Dqbman_sys.h189 s->addr_cinh, s->idx, offset, val); in qbman_cinh_write()
198 s->addr_cinh, s->idx, offset); in qbman_cinh_write_start_wo_shadow()
211 s->addr_cinh, s->idx, offset, shadow); in qbman_cinh_write_complete()
226 s->addr_cinh, s->idx, offset, reg); in qbman_cinh_read()
238 s->addr_cinh, s->idx, offset, shadow); in qbman_cinh_read_shadow()
255 s->addr_cinh, s->idx, offset); in qbman_cinh_read_wo_shadow()
267 s->addr_cena, s->idx, offset, shadow); in qbman_cena_write_start()
279 s->addr_cena, s->idx, offset); in qbman_cena_write_start_wo_shadow()
296 s->addr_cena, s->idx, offset, shadow); in qbman_cena_write_complete()
320 s->addr_cena, s->idx, offset); in qbman_cena_write_complete_wo_shadow()
[all …]
/dpdk/lib/pipeline/
H A Drte_swx_pipeline_spec.c41 if (!s) in extobj_spec_free()
116 if (!s) in struct_spec_free()
256 s->fields[s->n_fields].name = name; in struct_block_parse()
257 s->fields[s->n_fields].n_bits = n_bits; in struct_block_parse()
298 if (!s) in header_spec_free()
329 if (!s->name || !s->struct_type_name) { in header_statement_parse()
355 if (!s) in metadata_spec_free()
412 if (!s) in action_spec_free()
526 s->instructions[s->n_instructions] = instr; in action_block_parse()
564 if (!s) in table_spec_free()
[all …]
H A Drte_swx_ctl.c895 return s; in selector_find()
951 s->params.n_groups_max = s->info.n_groups_max; in selector_params_get()
1360 s->groups = calloc(s->info.n_groups_max, in rte_swx_ctl_pipeline_create()
1366 s->pending_groups = calloc(s->info.n_groups_max, in rte_swx_ctl_pipeline_create()
2006 if (!s) in rte_swx_ctl_pipeline_selector_group_add()
2033 if (!s || in rte_swx_ctl_pipeline_selector_group_delete()
2093 if (!s || in rte_swx_ctl_pipeline_selector_group_member_add()
2145 if (!s || in rte_swx_ctl_pipeline_selector_group_member_delete()
2653 token = strtok_r(s, " \f\n\r\t\v", &s); in rte_swx_ctl_pipeline_table_entry_read()
2877 token = strtok_r(s, " \f\n\r\t\v", &s); in rte_swx_ctl_pipeline_learner_default_entry_read()
[all …]
/dpdk/drivers/event/opdl/
H A Dopdl_ring.c163 return s->available_seq - s->head; in available()
545 s->shadow_head = s->head; in opdl_stage_claim_singlethread()
760 s->seq += s->num_claimed; in opdl_stage_disclaim()
761 s->shadow_head = s->head; in opdl_stage_disclaim()
790 wait_for_available(s, s->num_slots); in opdl_ring_flush()
806 s->shared.stage = s; in init_stage()
823 s->dep_tracking[s->index] = DEP_SELF; in init_stage()
1008 for (i = s->pos; i < s->num_claimed; i++) { in opdl_ring_cas_slot()
1210 (s->threadsafe) ? s->shared.head : s->head, in opdl_ring_dump()
1211 (s->threadsafe) ? s->shared.available_seq : in opdl_ring_dump()
[all …]
H A Dopdl_ring.h192 opdl_stage_set_deps(struct opdl_stage *s, struct opdl_stage *deps[],
205 opdl_stage_get_opdl_ring(const struct opdl_stage *s);
280 opdl_ring_copy_to_burst(struct opdl_ring *t, struct opdl_stage *s,
311 opdl_stage_claim(struct opdl_stage *s, void *entries,
315 opdl_stage_deps_add(struct opdl_ring *t, struct opdl_stage *s,
367 opdl_stage_claim_check(struct opdl_stage *s, void **entries,
403 opdl_stage_claim_copy(struct opdl_stage *s, void *entries,
433 opdl_stage_disclaim(struct opdl_stage *s, uint32_t num_entries,
463 opdl_stage_disclaim_n(struct opdl_stage *s, uint32_t num_entries,
488 opdl_stage_available(struct opdl_stage *s);
[all …]
/dpdk/drivers/compress/octeontx/
H A Dotx_zip.h177 inst->s.inp_ptr_addr.s.addr = in zipvf_prepare_in_buf()
179 inst->s.inp_ptr_ctl.s.length = inlen; in zipvf_prepare_in_buf()
194 inst->s.out_ptr_addr.s.addr = in zipvf_prepare_out_buf()
198 inst->s.out_ptr_ctl.s.length = inst->s.totaloutputlength; in zipvf_prepare_out_buf()
231 cmd83->s.iv, cmd83->s.exbits, cmd83->s.hmif, cmd83->s.halg); in zip_dump_instruction()
233 cmd83->s.ss, cmd83->s.cc); in zip_dump_instruction()
235 cmd83->s.ef, cmd83->s.bf, cmd83->s.op, cmd83->s.ds, in zip_dump_instruction()
236 cmd83->s.dg, cmd83->s.hg); in zip_dump_instruction()
240 printf("ctx_ptr.len:%d\n", cmd83->s.ctx_ptr_ctl.s.length); in zip_dump_instruction()
244 printf("inp_ptr.len:%d\n", cmd83->s.inp_ptr_ctl.s.length); in zip_dump_instruction()
[all …]
/dpdk/app/test/
H A Dtest_stack.c117 if (s == NULL) { in test_stack_basic()
172 rte_stack_free(s); in test_stack_basic()
185 if (s[0] == NULL) { in test_stack_name_reuse()
192 if (s[1] != NULL) { in test_stack_name_reuse()
207 struct rte_stack *s; in test_stack_name_length() local
213 if (s != NULL) { in test_stack_name_length()
233 if (s != NULL) { in test_lookup_null()
247 if (s != NULL) { in test_lookup_null()
322 if (s == NULL) { in test_stack_multithreaded()
328 thread_test_args.s = s; in test_stack_multithreaded()
[all …]
H A Dtest_stack_perf.c128 struct rte_stack *s; member
141 struct rte_stack *s; in bulk_push_pop() local
143 s = args->s; in bulk_push_pop()
179 args[0].s = args[1].s = s; in run_on_core_pair()
215 args[lcore_id].s = s; in run_on_n_cores()
226 args[lcore_id].s = s; in run_on_n_cores()
301 struct rte_stack *s; in __test_stack_perf() local
306 if (s == NULL) { in __test_stack_perf()
316 test_empty_pop(s); in __test_stack_perf()
319 test_bulk_push_pop(s); in __test_stack_perf()
[all …]
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.h462 DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \
463 diff.lo, new->s##_lo, old->s##_lo); \
547 estats->s += qstats->s; \
548 estats->s -= qstats_old->s##_old; \
549 qstats_old->s##_old = qstats->s; \
554 ADD_64(fstats->s##_hi, qstats->s##_hi, \
555 fstats->s##_lo, qstats->s##_lo); \
556 SUB_64(fstats->s##_hi, qstats_old->s##_hi, \
557 fstats->s##_lo, qstats_old->s##_lo); \
558 estats->s##_hi = fstats->s##_hi; \
[all …]
/dpdk/drivers/common/cnxk/
H A Dcnxk_telemetry.h8 #define CNXK_TEL_STR(s) #s argument
9 #define CNXK_TEL_STR_PREFIX(s, p) CNXK_TEL_STR(p##s) argument
11 plt_tel_data_add_dict_int(d, CNXK_TEL_STR_PREFIX(s, __VA_ARGS__), \
12 (p)->s)
14 plt_tel_data_add_dict_ptr(d, CNXK_TEL_STR_PREFIX(s, __VA_ARGS__), \
15 (void *)(p)->s)
17 plt_tel_data_add_dict_ptr(d, CNXK_TEL_STR_PREFIX(s, __VA_ARGS__), \
18 (void *)(uint64_t)(p)->s)
20 plt_tel_data_add_dict_u64(d, CNXK_TEL_STR_PREFIX(s, __VA_ARGS__), \
21 (p)->s)
[all …]
H A Dcnxk_security.c256 if (sa->w0.s.ar_win) in ot_ipsec_inb_ctx_size()
308 sa->w2.s.ip_hdr_verify = in ot_ipsec_inb_tunnel_hdr_fill()
382 sa->w0.s.ctx_push_size = sa->w0.s.hw_ctx_off + 1; in cnxk_ot_ipsec_inb_sa_fill()
384 sa->w0.s.ctx_size = in cnxk_ot_ipsec_inb_sa_fill()
417 sa->w2.s.valid = 1; in cnxk_ot_ipsec_inb_sa_fill()
527 sa->w0.s.ctx_push_size = sa->w0.s.hw_ctx_off + 1; in cnxk_ot_ipsec_outb_sa_fill()
536 sa->w2.s.ipid_gen = 1; in cnxk_ot_ipsec_outb_sa_fill()
565 sa->w0.s.aop_valid = 1; in cnxk_ot_ipsec_outb_sa_fill()
570 sa->w2.s.valid = 1; in cnxk_ot_ipsec_outb_sa_fill()
577 return !!sa->w2.s.valid; in cnxk_ot_ipsec_inb_sa_valid()
[all …]
H A Droc_ie_ot.c17 sa->w0.s.pkt_format = ROC_IE_OT_SA_PKT_FMT_META; in roc_ot_ipsec_inb_sa_init()
18 sa->w0.s.pkind = ROC_IE_OT_CPT_PKIND; in roc_ot_ipsec_inb_sa_init()
19 sa->w0.s.et_ovrwr = 1; in roc_ot_ipsec_inb_sa_init()
20 sa->w2.s.l3hdr_on_err = 1; in roc_ot_ipsec_inb_sa_init()
24 sa->w0.s.hw_ctx_off = offset / ROC_CTX_UNIT_8B; in roc_ot_ipsec_inb_sa_init()
25 sa->w0.s.ctx_push_size = sa->w0.s.hw_ctx_off + 1; in roc_ot_ipsec_inb_sa_init()
26 sa->w0.s.ctx_size = ROC_IE_OT_CTX_ILEN; in roc_ot_ipsec_inb_sa_init()
27 sa->w0.s.ctx_hdr_size = ROC_IE_OT_SA_CTX_HDR_SIZE; in roc_ot_ipsec_inb_sa_init()
28 sa->w0.s.aop_valid = 1; in roc_ot_ipsec_inb_sa_init()
40 sa->w0.s.ctx_size = ROC_IE_OT_CTX_ILEN; in roc_ot_ipsec_outb_sa_init()
[all …]
/dpdk/lib/eal/common/
H A Drte_service.c228 return s->spec.name; in rte_service_get_name()
260 s->spec = *spec; in rte_service_component_register()
368 s->calls++; in service_runner_do_callback()
379 if (!s) in service_run()
800 *attr_value = s->calls; in rte_service_attr_get()
835 s->cycles_spent = 0; in rte_service_attr_reset_all()
836 s->calls = 0; in rte_service_attr_reset_all()
863 if (s->calls != 0) in service_dump_one()
864 calls = s->calls; in service_dump_one()
867 s->spec.name, service_stats_enabled(s), s->calls, in service_dump_one()
[all …]
/dpdk/drivers/net/nfp/nfpcore/nfp-common/
H A Dnfp_resid.h231 int nfp6000_idstr2meid(const char *s, const char **endptr);
269 int nfp6000_idstr2menum(const char *s, const char **endptr);
317 const char *nfp6000_meid2str(char *s, int meid);
330 const char *nfp6000_meid2altstr(char *s, int meid);
340 const char *nfp6000_island2str(char *s, int island_id);
350 const char *nfp6000_island2altstr(char *s, int island_id);
360 const char *nfp6000_menum2str(char *s, int menum);
370 const char *nfp6000_ctxnum2str(char *s, int ctxnum);
380 const char *nfp6000_megrp2str(char *s, int megrp);
559 int nfp_idstr2rev(const char *s);
[all …]
/dpdk/lib/stack/
H A Drte_stack.h112 RTE_ASSERT(s != NULL); in rte_stack_push()
115 if (s->flags & RTE_STACK_F_LF) in rte_stack_push()
136 RTE_ASSERT(s != NULL); in rte_stack_pop()
139 if (s->flags & RTE_STACK_F_LF) in rte_stack_pop()
154 rte_stack_count(struct rte_stack *s) in rte_stack_count() argument
156 RTE_ASSERT(s != NULL); in rte_stack_count()
158 if (s->flags & RTE_STACK_F_LF) in rte_stack_count()
159 return __rte_stack_lf_count(s); in rte_stack_count()
161 return __rte_stack_std_count(s); in rte_stack_count()
175 RTE_ASSERT(s != NULL); in rte_stack_free_count()
[all …]
H A Drte_stack.c29 memset(s, 0, sizeof(*s)); in EAL_REGISTER_TAILQ()
34 rte_stack_std_init(s); in EAL_REGISTER_TAILQ()
54 struct rte_stack *s; in rte_stack_create() local
101 s = mz->addr; in rte_stack_create()
106 ret = strlcpy(s->name, name, sizeof(s->name)); in rte_stack_create()
116 s->memzone = mz; in rte_stack_create()
118 s->flags = flags; in rte_stack_create()
120 te->data = s; in rte_stack_create()
128 return s; in rte_stack_create()
137 if (s == NULL) in rte_stack_free()
[all …]
/dpdk/drivers/net/cxgbe/
H A Dsmt.c13 struct smt_data *s = adap->smt; in cxgbe_do_smt_write_rpl() local
32 struct smt_data *s = adap->smt; in write_smt_entry() local
121 for (e = &s->smtab[0], end = &s->smtab[s->smt_size]; e != end; ++e) { in find_or_alloc_smte()
155 t4_os_write_lock(&s->lock); in t4_smt_alloc_switching()
207 struct smt_data *s; in t4_init_smt() local
210 s = t4_alloc_mem(sizeof(*s) + smt_size * sizeof(struct smt_entry)); in t4_init_smt()
211 if (!s) in t4_init_smt()
215 s->smt_size = smt_size; in t4_init_smt()
219 s->smtab[i].idx = i; in t4_init_smt()
224 s->smtab[i].refcnt = 0; in t4_init_smt()
[all …]
/dpdk/lib/cmdline/
H A Dcmdline_parse_string.c32 c = s[i]; in get_token_len()
35 c = s[i]; in get_token_len()
45 if (s[i] == '#') in get_next_token()
46 return s+i+1; in get_next_token()
163 const char *s; in cmdline_complete_get_elt_string() local
172 s = sd->str; in cmdline_complete_get_elt_string()
175 s = get_next_token(s); in cmdline_complete_get_elt_string()
177 if (!s) in cmdline_complete_get_elt_string()
195 const char *s; in cmdline_get_help_string() local
203 s = sd->str; in cmdline_get_help_string()
[all …]
/dpdk/lib/hash/
H A Drte_jhash.h96 const uint32_t s = 0; in __rte_jhash_2hashes() local
101 if (!check_align || s == 0) { in __rte_jhash_2hashes()
147 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
148 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
149 c += BIT_SHIFT(k[2], k[3], s); in __rte_jhash_2hashes()
159 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
160 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
161 c += BIT_SHIFT(k[2], k[3], s); in __rte_jhash_2hashes()
164 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes()
165 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes()
[all …]
/dpdk/lib/bpf/
H A Dbpf_validate.c218 rv->s.max = RTE_MIN(rt.s.max, rv->s.max); in eval_apply_mask()
219 rv->s.min = RTE_MAX(rt.s.min, rv->s.min); in eval_apply_mask()
242 if ((rd->s.min != rd->s.max || rs->s.min != rs->s.max) && in eval_add()
249 rd->s = rv.s; in eval_add()
271 if ((rd->s.min != rd->s.max || rs->s.min != rs->s.max) && in eval_sub()
278 rd->s = rv.s; in eval_sub()
408 if (rd->s.min == rd->s.max && rs->s.min == rs->s.max) { in eval_and()
434 if (rd->s.min == rd->s.max && rs->s.min == rs->s.max) { in eval_or()
460 if (rd->s.min == rd->s.max && rs->s.min == rs->s.max) { in eval_xor()
488 if (rd->s.min == rd->s.max && rs->s.min == rs->s.max) { in eval_mul()
[all …]
/dpdk/lib/eal/x86/
H A Drte_power_intrinsics.c80 struct power_wait_status *s; in rte_power_monitor() local
100 s = &wait_status[lcore_id]; in rte_power_monitor()
103 rte_spinlock_lock(&s->lock); in rte_power_monitor()
104 s->monitor_addr = pmc->addr; in rte_power_monitor()
117 rte_spinlock_unlock(&s->lock); in rte_power_monitor()
133 rte_spinlock_lock(&s->lock); in rte_power_monitor()
134 s->monitor_addr = NULL; in rte_power_monitor()
178 struct power_wait_status *s; in rte_power_monitor_wakeup() local
188 s = &wait_status[lcore_id]; in rte_power_monitor_wakeup()
215 rte_spinlock_lock(&s->lock); in rte_power_monitor_wakeup()
[all …]
/dpdk/drivers/mempool/stack/
H A Drte_mempool_stack.c13 struct rte_stack *s; in __stack_alloc() local
23 s = rte_stack_create(name, mp->size, mp->socket_id, flags); in __stack_alloc()
24 if (s == NULL) in __stack_alloc()
27 mp->pool_data = s; in __stack_alloc()
48 struct rte_stack *s = mp->pool_data; in stack_enqueue() local
57 struct rte_stack *s = mp->pool_data; in stack_dequeue() local
59 return rte_stack_pop(s, obj_table, n) == 0 ? -ENOBUFS : 0; in stack_dequeue()
65 struct rte_stack *s = mp->pool_data; in stack_get_count() local
67 return rte_stack_count(s); in stack_get_count()
73 struct rte_stack *s = mp->pool_data; in stack_free() local
[all …]
/dpdk/lib/net/
H A Drte_ether.c43 const char *s = s0; in get_ether_addr6() local
49 x = get_xdigit(*s++); in get_ether_addr6()
54 x = get_xdigit(*s++); in get_ether_addr6()
60 *s++ != ':') in get_ether_addr6()
65 return *s == '\0'; in get_ether_addr6()
79 x = get_xdigit(*s++); in get_ether_addr3()
88 *s++ != ':') in get_ether_addr3()
92 return *s == '\0'; in get_ether_addr3()
101 rte_ether_unformat_addr(const char *s, struct rte_ether_addr *ea) in rte_ether_unformat_addr() argument
103 if (get_ether_addr6(s, ea)) in rte_ether_unformat_addr()
[all …]
/dpdk/lib/eal/windows/include/
H A Dsched.h33 #define CPU_SET(b, s) ((s)->_bits[_WHICH_SET(b)] |= (1LL << _WHICH_BIT(b))) argument
35 #define CPU_ZERO(s) \ argument
40 (s)->_bits[_i] = 0LL; \
43 #define CPU_ISSET(b, s) (((s)->_bits[_WHICH_SET(b)] & \ argument
47 count_cpu(rte_cpuset_t *s) in count_cpu() argument
53 if (CPU_ISSET(_i, s) != 0LL) in count_cpu()
57 #define CPU_COUNT(s) count_cpu(s) argument
75 #define CPU_FILL(s) \ argument
79 (s)->_bits[_i] = -1LL; \

12345678910>>...20