Home
last modified time | relevance | path

Searched refs:template (Results 1 – 21 of 21) sorted by relevance

/dpdk/drivers/crypto/cnxk/
H A Dcn9k_ipsec.c321 struct roc_ie_on_ip_template *template = NULL; in cn9k_ipsec_outb_sa_create() local
372 template = &out_sa->aes_gcm.template; in cn9k_ipsec_outb_sa_create()
377 template = &out_sa->sha1.template; in cn9k_ipsec_outb_sa_create()
379 sha1.template); in cn9k_ipsec_outb_sa_create()
384 template = &out_sa->sha2.template; in cn9k_ipsec_outb_sa_create()
386 sha2.template); in cn9k_ipsec_outb_sa_create()
389 template = &out_sa->aes_xcbc.template; in cn9k_ipsec_outb_sa_create()
391 aes_xcbc.template); in cn9k_ipsec_outb_sa_create()
414 ctx_len += sizeof(template->ip4); in cn9k_ipsec_outb_sa_create()
429 ctx_len += sizeof(template->ip6); in cn9k_ipsec_outb_sa_create()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_ie_on.h185 struct roc_ie_on_ip_template template; member
190 struct roc_ie_on_ip_template template; member
195 struct roc_ie_on_ip_template template; member
200 struct roc_ie_on_ip_template template; member
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c1277 spec_filter->template.efs_flags |= EFX_FILTER_FLAG_RX; in sfc_flow_parse_attr()
1457 spec_filter->template.efs_flags |= EFX_FILTER_FLAG_RX_RSS; in sfc_flow_parse_rss()
1464 spec_filter->template.efs_dmaq_id = rxq->hw_index; in sfc_flow_parse_rss()
1602 spec_filter->template.efs_mark = mark->id; in sfc_flow_parse_mark()
1675 spec_filter->template.efs_dmaq_id = in sfc_flow_parse_actions()
1698 spec_filter->template.efs_flags |= in sfc_flow_parse_actions()
1742 spec_filter->template.efs_dmaq_id = in sfc_flow_parse_actions()
2210 match = spec_filter->template.efs_match_flags; in sfc_flow_spec_filters_complete()
2215 &spec_filter->template, filter); in sfc_flow_spec_filters_complete()
2329 efx_filter_spec_t *spec_tmpl = &spec_filter->template; in sfc_flow_validate_match_flags()
[all …]
H A Dsfc_flow.h46 efx_filter_spec_t template; member
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_hw.c1698 struct rte_flow_actions_template *template, in flow_hw_actions_template_destroy() argument
1701 if (__atomic_load_n(&template->refcnt, __ATOMIC_RELAXED) > 1) { in flow_hw_actions_template_destroy()
1703 (void *)template); in flow_hw_actions_template_destroy()
1709 LIST_REMOVE(template, next); in flow_hw_actions_template_destroy()
1710 mlx5_free(template); in flow_hw_actions_template_destroy()
1777 struct rte_flow_pattern_template *template, in flow_hw_pattern_template_destroy() argument
1780 if (__atomic_load_n(&template->refcnt, __ATOMIC_RELAXED) > 1) { in flow_hw_pattern_template_destroy()
1782 (void *)template); in flow_hw_pattern_template_destroy()
1788 LIST_REMOVE(template, next); in flow_hw_pattern_template_destroy()
1789 claim_zero(mlx5dr_match_template_destroy(template->mt)); in flow_hw_pattern_template_destroy()
[all …]
H A Dmlx5_flow.h1426 struct rte_flow_pattern_template *template,
1436 struct rte_flow_actions_template *template,
H A Dmlx5_flow.c865 struct rte_flow_pattern_template *template,
875 struct rte_flow_actions_template *template,
8372 struct rte_flow_pattern_template *template, in mlx5_flow_pattern_template_destroy() argument
8383 return fops->pattern_template_destroy(dev, template, error); in mlx5_flow_pattern_template_destroy()
8438 struct rte_flow_actions_template *template, in mlx5_flow_actions_template_destroy() argument
8449 return fops->actions_template_destroy(dev, template, error); in mlx5_flow_actions_template_destroy()
/dpdk/doc/guides/
H A Dconf.py263 template = """
330 print(template.replace("idx", "id%d" % (table_id)), file=outfile)
/dpdk/drivers/net/enic/
H A Denic_fm_flow.c1243 memcpy(*template, data, len); in append_template()
1244 *template = (char *)*template + len; in append_template()
1359 void *template; in enic_fm_copy_vxlan_encap() local
1365 template = fm->action.fma_data; in enic_fm_copy_vxlan_encap()
1376 eth = (struct rte_ether_hdr *)template; in enic_fm_copy_vxlan_encap()
1378 append_template(&template, &off, item->spec, in enic_fm_copy_vxlan_encap()
1400 ip4 = (struct rte_ipv4_hdr *)template; in enic_fm_copy_vxlan_encap()
1425 ip6 = (struct rte_ipv6_hdr *)template; in enic_fm_copy_vxlan_encap()
1456 udp = (struct rte_udp_hdr *)template; in enic_fm_copy_vxlan_encap()
1457 append_template(&template, &off, item->spec, in enic_fm_copy_vxlan_encap()
[all …]
/dpdk/lib/ethdev/
H A Drte_flow.c1479 struct rte_flow_pattern_template *template; in rte_flow_pattern_template_create() local
1511 template = ops->pattern_template_create(dev, template_attr, in rte_flow_pattern_template_create()
1513 if (template == NULL) in rte_flow_pattern_template_create()
1515 return template; in rte_flow_pattern_template_create()
1556 struct rte_flow_actions_template *template; in rte_flow_actions_template_create() local
1597 template = ops->actions_template_create(dev, template_attr, in rte_flow_actions_template_create()
1599 if (template == NULL) in rte_flow_actions_template_create()
1601 return template; in rte_flow_actions_template_create()
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c562 set_pkt_metadata_template(struct iavf_ipsec_crypto_pkt_metadata *template, in set_pkt_metadata_template() argument
565 template->sa_idx = sess->sa.hw_idx; in set_pkt_metadata_template()
568 template->ol_flags = IAVF_IPSEC_CRYPTO_OL_FLAGS_NATT; in set_pkt_metadata_template()
571 template->ol_flags = IAVF_IPSEC_CRYPTO_OL_FLAGS_ESN; in set_pkt_metadata_template()
573 template->len_iv = calc_ipsec_desc_iv_len_field(sess->iv_sz); in set_pkt_metadata_template()
574 template->ctx_desc_ipsec_params = in set_pkt_metadata_template()
/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_forwarding.rst101 :start-after: Pool mac address template. 8<
102 :end-before: >8 End of mac addr template.
/dpdk/app/test-pmd/
H A Dconfig.c1682 *template = NULL; in template_alloc()
1713 *template = pt; in template_alloc()
2258 if (!pit->template.pattern_template) { in port_flow_pattern_template_create()
2270 const uint32_t *template) in port_flow_pattern_template_destroy() argument
2289 if (template[i] != pit->id) in port_flow_pattern_template_destroy()
2297 if (pit->template.pattern_template && in port_flow_pattern_template_destroy()
2339 if (!pat->template.actions_template) { in port_flow_actions_template_create()
2351 const uint32_t *template) in port_flow_actions_template_destroy() argument
2370 if (template[i] != pat->id) in port_flow_actions_template_destroy()
2424 temp->template.pattern_template; in port_flow_template_table_create()
[all …]
H A Dtestpmd.h177 } template; /**< PMD opaque template object */ member
923 const uint32_t *template);
929 const uint32_t *template);
/dpdk/doc/guides/tools/
H A Dtestbbdev.rst342 Turbo decoder test vectors template
491 Turbo encoder test vectors template
571 LDPC decoder test vectors template
695 LDPC encoder test vectors template
/dpdk/doc/guides/howto/
H A Dpvp_reference_benchmark.rst341 Results template
344 Below template should be used when sharing results:
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst3347 - Create a pattern template::
3350 template {item} [/ {item} [...]] / end
3352 - Destroy a pattern template::
3356 - Create an actions template::
3363 - Destroy an actions template::
3514 template {item} [/ {item} [...]] / end
3518 Pattern template #[...] created
3539 Pattern template #[...] destroyed
3559 Actions template #[...] created
3580 Actions template #[...] destroyed
[all …]
/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst2565 Adds outer header whose template is provided in its data buffer,
2591 Remove outer header whose template is provided in its data buffer,
3656 The flow rule creation is done by selecting a table, a pattern template
3657 and an actions template (which are bound to the table), and setting unique
3663 The pattern template defines a common pattern (the item mask) without values.
3665 The pattern template may be used by multiple tables and must not be destroyed
3676 For example, to create a pattern template to match on the destination MAC:
3699 The actions template holds a list of action types to be used in flow rules.
3701 The actions template may be used by multiple tables and must not be destroyed
3713 For example, to create an actions template with the same Mark ID
[all …]
H A Dtrace_lib.rst78 function template:
/dpdk/doc/guides/contributing/
H A Dvulnerability.rst205 The security advisory will be based on below template,
H A Ddocumentation.rst466 …Use some of the older images in ``doc/guides/prog_guide/img/`` as a template, for example ``mbuf1.…