| /f-stack/dpdk/lib/librte_bpf/ |
| H A D | bpf_load.c | 24 bpf_load(const struct rte_bpf_prm *prm) in bpf_load() argument 30 xsz = prm->nb_xsym * sizeof(prm->xsym[0]); in bpf_load() 31 insz = prm->nb_ins * sizeof(prm->ins[0]); in bpf_load() 43 memcpy(&bpf->prm, prm, sizeof(bpf->prm)); in bpf_load() 45 memcpy(buf + bsz, prm->xsym, xsz); in bpf_load() 46 memcpy(buf + bsz + xsz, prm->ins, insz); in bpf_load() 48 bpf->prm.xsym = (void *)(buf + bsz); in bpf_load() 96 if (prm == NULL || prm->ins == NULL || in rte_bpf_load() 97 (prm->nb_xsym != 0 && prm->xsym == NULL)) { in rte_bpf_load() 104 rc = bpf_check_xsym(prm->xsym + i); in rte_bpf_load() [all …]
|
| H A D | bpf_load_elf.c | 58 const struct rte_bpf_prm *prm) in resolve_xsym() argument 75 fidx = bpf_find_xsym(sn, type, prm->xsym, prm->nb_xsym); in resolve_xsym() 95 ins[idx].imm = (uintptr_t)prm->xsym[fidx].var.val; in resolve_xsym() 97 (uint64_t)(uintptr_t)prm->xsym[fidx].var.val >> 32; in resolve_xsym() 217 rc = resolve_xsym(sn, ofs, ins, ins_sz, prm); in process_reloc() 235 const struct rte_bpf_prm *prm) in elf_reloc_code() argument 259 prm); in elf_reloc_code() 281 rc = elf_reloc_code(elf, sd, sidx, prm); in bpf_load_elf() 284 np = prm[0]; in bpf_load_elf() 304 if (prm == NULL || fname == NULL || sname == NULL) { in rte_bpf_elf_load() [all …]
|
| H A D | rte_bpf_ethdev.h | 84 const struct rte_bpf_prm *prm, const char *fname, const char *sname, 109 const struct rte_bpf_prm *prm, const char *fname, const char *sname,
|
| H A D | bpf_pkt.c | 507 const struct rte_bpf_prm *prm, const char *fname, const char *sname, in bpf_eth_elf_load() argument 520 if (prm == NULL || rte_eth_dev_is_valid_port(port) == 0 || in bpf_eth_elf_load() 525 frx = select_rx_callback(prm->prog_arg.type, flags); in bpf_eth_elf_load() 527 ftx = select_tx_callback(prm->prog_arg.type, flags); in bpf_eth_elf_load() 535 bpf = rte_bpf_elf_load(prm, fname, sname); in bpf_eth_elf_load() 577 const struct rte_bpf_prm *prm, const char *fname, const char *sname, in rte_bpf_eth_rx_elf_load() argument 585 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_rx_elf_load() 593 const struct rte_bpf_prm *prm, const char *fname, const char *sname, in rte_bpf_eth_tx_elf_load() argument 601 rc = bpf_eth_elf_load(cbh, port, queue, prm, fname, sname, flags); in rte_bpf_eth_tx_elf_load()
|
| H A D | rte_bpf.h | 131 rte_bpf_load(const struct rte_bpf_prm *prm); 154 rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
|
| H A D | bpf_validate.c | 68 const struct rte_bpf_prm *prm; member 194 for (i = 0; i != bvf->prm->nb_xsym; i++) { in eval_ld_imm64() 199 rd->v = bvf->prm->xsym[i].var.desc; in eval_ld_imm64() 977 if (idx >= bvf->prm->nb_xsym || in eval_call() 985 xsym = bvf->prm->xsym + idx; in eval_call() 1809 if (nidx > bvf->prm->nb_ins) { in add_edge() 1921 ins = bvf->prm->ins + i; in log_unreachable() 1970 for (i = 0; i < bvf->prm->nb_ins; i++) { in validate() 1972 ins = bvf->prm->ins + i; in validate() 2237 ins = bvf->prm->ins; in evaluate() [all …]
|
| H A D | bpf_impl.h | 18 struct rte_bpf_prm prm; member
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | sa.c | 33 const struct rte_ipsec_sa_prm *prm) in fill_crypto_xform() argument 39 xf = prm->crypto_xform; in fill_crypto_xform() 274 sa->proto = prm->tun.next_proto; in esp_inb_tun_init() 338 sa->hdr_len = prm->tun.hdr_len; in esp_outb_tun_init() 417 sa->udata = prm->userdata; in esp_sa_init() 429 esp_inb_tun_init(sa, prm); in esp_sa_init() 436 esp_outb_tun_init(sa, prm); in esp_sa_init() 468 if (prm == NULL) in rte_ipsec_sa_size() 472 rc = fill_sa_type(prm, &type); in rte_ipsec_sa_size() 490 if (sa == NULL || prm == NULL) in rte_ipsec_sa_init() [all …]
|
| H A D | rte_ipsec_sa.h | 145 rte_ipsec_sa_size(const struct rte_ipsec_sa_prm *prm); 161 rte_ipsec_sa_init(struct rte_ipsec_sa *sa, const struct rte_ipsec_sa_prm *prm,
|
| /f-stack/freebsd/contrib/device-tree/Bindings/arm/omap/ |
| H A D | prm-inst.txt | 10 "ti,am3-prm-inst" 11 "ti,am4-prm-inst" 12 "ti,omap4-prm-inst" 13 "ti,omap5-prm-inst" 14 "ti,dra7-prm-inst" 16 "ti,omap-prm-inst" 25 prm_dsp2: prm@1b00 { 26 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
|
| H A D | prcm.txt | 15 "ti,omap3-prm" 18 "ti,omap4-prm" 21 "ti,omap5-prm" 25 "ti,dra7-prm"
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | bpf_cmd.c | 62 cmdline_fixed_string_t prm; member 96 struct rte_bpf_prm prm; in cmd_operate_bpf_ld_parsed() local 100 memset(&prm, 0, sizeof(prm)); in cmd_operate_bpf_ld_parsed() 101 prm.xsym = bpf_xsym; in cmd_operate_bpf_ld_parsed() 102 prm.nb_xsym = RTE_DIM(bpf_xsym); in cmd_operate_bpf_ld_parsed() 104 bpf_parse_flags(res->flags, &prm.prog_arg, &flags); in cmd_operate_bpf_ld_parsed() 105 fname = res->prm; in cmd_operate_bpf_ld_parsed() 109 rc = rte_bpf_eth_rx_elf_load(res->port, res->queue, &prm, in cmd_operate_bpf_ld_parsed() 113 rc = rte_bpf_eth_tx_elf_load(res->port, res->queue, &prm, in cmd_operate_bpf_ld_parsed() 135 prm, NULL);
|
| /f-stack/dpdk/lib/librte_graph/ |
| H A D | graph_stats.c | 103 const struct rte_graph_cluster_stats_param *prm) in stats_mem_init() argument 108 int socket_id = prm->socket_id; in stats_mem_init() 112 fn = prm->fn; in stats_mem_init() 128 stats->cookie = prm->cookie; in stats_mem_init() 262 rte_graph_cluster_stats_create(const struct rte_graph_cluster_stats_param *prm) in rte_graph_cluster_stats_create() argument 275 if (prm == NULL) in rte_graph_cluster_stats_create() 278 if (prm->graph_patterns == NULL || prm->nb_graph_patterns == 0) in rte_graph_cluster_stats_create() 285 for (i = 0; i < prm->nb_graph_patterns; i++) { in rte_graph_cluster_stats_create() 286 pattern = prm->graph_patterns[i]; in rte_graph_cluster_stats_create() 292 stats = stats_mem_init(&cluster, prm); in rte_graph_cluster_stats_create()
|
| H A D | graph.c | 261 rte_graph_create(const char *name, struct rte_graph_param *prm) in rte_graph_create() argument 271 if (prm == NULL) in rte_graph_create() 294 for (i = 0; i < prm->nb_node_patterns; i++) { in rte_graph_create() 295 pattern = prm->node_patterns[i]; in rte_graph_create() 326 graph->socket = prm->socket_id; in rte_graph_create()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sa.c | 1258 memset(prm, 0, sizeof(*prm)); in fill_ipsec_app_sa_prm() 1260 prm->flags = app_prm->flags; in fill_ipsec_app_sa_prm() 1281 prm->userdata = (uintptr_t)ss; in fill_ipsec_sa_prm() 1297 prm->tun.next_proto = rc; in fill_ipsec_sa_prm() 1298 prm->tun.hdr = v4; in fill_ipsec_sa_prm() 1302 prm->tun.next_proto = rc; in fill_ipsec_sa_prm() 1303 prm->tun.hdr = v6; in fill_ipsec_sa_prm() 1306 prm->trs.proto = rc; in fill_ipsec_sa_prm() 1340 struct rte_ipsec_sa_prm prm; in ipsec_sa_init() local 1391 struct rte_ipsec_sa_prm prm; in ipsec_satbl_init() local [all …]
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | dra7.dtsi | 1033 &prm { 1035 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1040 prm_ipu: prm@500 { 1041 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1047 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1053 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1058 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1064 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1069 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 1074 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; [all …]
|
| H A D | am4372.dtsi | 533 prm_gfx: prm@400 { 534 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst"; 539 prm_per: prm@800 { 540 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst"; 545 prm_wkup: prm@2000 { 546 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst"; 551 prm_device: prm@4000 { 552 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
|
| H A D | am33xx.dtsi | 599 prm_per: prm@c00 { 600 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst"; 605 prm_wkup: prm@d00 { 606 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst"; 611 prm_device: prm@f00 { 612 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst"; 617 prm_gfx: prm@1100 { 618 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
|
| H A D | omap5.dtsi | 672 &prm { 673 prm_dsp: prm@400 { 674 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst"; 679 prm_core: prm@700 { 680 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst"; 685 prm_iva: prm@1200 { 686 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst"; 691 prm_device: prm@1c00 { 692 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
|
| H A D | omap4.dtsi | 654 &prm { 655 prm_tesla: prm@400 { 656 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst"; 661 prm_core: prm@700 { 662 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst"; 667 prm_ivahd: prm@f00 { 668 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst"; 673 prm_device: prm@1b00 { 674 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
|
| /f-stack/dpdk/app/test/ |
| H A D | test_ipsec_perf.c | 149 struct rte_ipsec_sa_prm *prm = &sa->sa_prm; in fill_ipsec_param() local 151 memset(prm, 0, sizeof(*prm)); in fill_ipsec_param() 153 prm->flags = sa->sa_flags; in fill_ipsec_param() 156 prm->ipsec_xform = sa->ipsec_xform; in fill_ipsec_param() 157 prm->ipsec_xform.salt = (uint32_t)rte_rand(); in fill_ipsec_param() 158 prm->ipsec_xform.replay_win_sz = sa->replay_win_sz; in fill_ipsec_param() 161 prm->tun.hdr_len = sizeof(ipv4_outer); in fill_ipsec_param() 162 prm->tun.next_proto = IPPROTO_IPIP; in fill_ipsec_param() 163 prm->tun.hdr = &ipv4_outer; in fill_ipsec_param() 209 prm->crypto_xform = sa->crypto_xforms; in fill_ipsec_param()
|
| H A D | test_bpf.c | 2867 .prm = { 2881 .prm = { 2895 .prm = { 2909 .prm = { 2923 .prm = { 2937 .prm = { 2951 .prm = { 2965 .prm = { 2979 .prm = { 2993 .prm = { [all …]
|
| /f-stack/dpdk/lib/librte_acl/ |
| H A D | acl_run.h | 18 #define GET_NEXT_4BYTES(prm, idx) \ argument 19 (*((const int32_t *)((prm)[(idx)].data + *(prm)[idx].data_index++)))
|
| /f-stack/dpdk/drivers/net/netvsc/ |
| H A D | hn_rndis.c | 1000 struct ndis_rss_params *prm = &rssp.rss_params; in hn_rndis_conf_rss() local 1006 prm->ndis_hdr.ndis_type = NDIS_OBJTYPE_RSS_PARAMS; in hn_rndis_conf_rss() 1007 prm->ndis_hdr.ndis_rev = NDIS_RSS_PARAMS_REV_2; in hn_rndis_conf_rss() 1008 prm->ndis_hdr.ndis_size = sizeof(*prm); in hn_rndis_conf_rss() 1009 prm->ndis_flags = flags; in hn_rndis_conf_rss() 1010 prm->ndis_hash = hv->rss_hash; in hn_rndis_conf_rss() 1011 prm->ndis_indsize = sizeof(rssp.rss_ind[0]) * NDIS_HASH_INDCNT; in hn_rndis_conf_rss() 1012 prm->ndis_indoffset = offsetof(struct ndis_rssprm_toeplitz, rss_ind[0]); in hn_rndis_conf_rss() 1013 prm->ndis_keysize = NDIS_HASH_KEYSIZE_TOEPLITZ; in hn_rndis_conf_rss() 1014 prm->ndis_keyoffset = offsetof(struct ndis_rssprm_toeplitz, rss_key[0]); in hn_rndis_conf_rss()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_ssi_filter_module.c | 399 ngx_http_ssi_param_t *prm; in ngx_http_ssi_body_filter() local 747 for (prm = cmd->params; prm->name.len; prm++) { in ngx_http_ssi_body_filter() 749 if (param[i].key.len != prm->name.len in ngx_http_ssi_body_filter() 751 prm->name.len) != 0) in ngx_http_ssi_body_filter() 756 if (!prm->multiple) { in ngx_http_ssi_body_filter() 757 if (params[prm->index]) { in ngx_http_ssi_body_filter() 767 params[prm->index] = ¶m[i].value; in ngx_http_ssi_body_filter() 781 if (prm->name.len == 0) { in ngx_http_ssi_body_filter() 791 for (prm = cmd->params; prm->name.len; prm++) { in ngx_http_ssi_body_filter() 792 if (prm->mandatory && params[prm->index] == 0) { in ngx_http_ssi_body_filter() [all …]
|