Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 26) sorted by relevance

12

/dpdk/examples/fips_validation/
H A Dmain.c1653 (size_t)md[0].len); in fips_mct_sha_test()
1654 memcpy((vec.pt.val + md[0].len), md[1].val, in fips_mct_sha_test()
1656 memcpy((vec.pt.val + md[0].len + md[1].len), in fips_mct_sha_test()
1657 md[2].val, in fips_mct_sha_test()
1659 vec.pt.len = md[0].len + md[1].len + md[2].len; in fips_mct_sha_test()
1674 memcpy(md[0].val, md[1].val, md[1].len); in fips_mct_sha_test()
1675 md[0].len = md[1].len; in fips_mct_sha_test()
1676 memcpy(md[1].val, md[2].val, md[2].len); in fips_mct_sha_test()
1677 md[1].len = md[2].len; in fips_mct_sha_test()
1684 memcpy(vec.cipher_auth.digest.val, md[2].val, md[2].len); in fips_mct_sha_test()
[all …]
/dpdk/app/test-pmd/
H A Dcsumonly.c666 md[i]->data_len = dlen; in mbuf_copy_split()
667 md[i]->next = (i + 1 == nb_seg) ? NULL : md[i + 1]; in mbuf_copy_split()
690 md[0]->nb_segs = nb_seg; in mbuf_copy_split()
691 md[0]->pkt_len = tlen; in mbuf_copy_split()
692 md[0]->vlan_tci = m->vlan_tci; in mbuf_copy_split()
694 md[0]->ol_flags = m->ol_flags; in mbuf_copy_split()
726 md[i] = NULL; in pkt_copy_split()
748 md[--i] = p; in pkt_copy_split()
774 rte_pktmbuf_free_seg(md[i]); in pkt_copy_split()
775 md[i] = NULL; in pkt_copy_split()
[all …]
/dpdk/lib/pcapng/
H A Drte_pcapng.c411 const struct rte_mbuf *md, in rte_pcapng_copy() argument
428 orig_len = rte_pktmbuf_pkt_len(md); in rte_pcapng_copy()
431 mc = rte_pktmbuf_copy(md, mp, 0, length); in rte_pcapng_copy()
437 (md->ol_flags & RTE_MBUF_F_RX_VLAN_STRIPPED)) || in rte_pcapng_copy()
439 (md->ol_flags & RTE_MBUF_F_TX_VLAN))) { in rte_pcapng_copy()
441 md->vlan_tci) != 0) in rte_pcapng_copy()
446 (md->ol_flags & RTE_MBUF_F_RX_QINQ_STRIPPED)) || in rte_pcapng_copy()
448 (md->ol_flags & RTE_MBUF_F_TX_QINQ))) { in rte_pcapng_copy()
450 md->vlan_tci_outer) != 0) in rte_pcapng_copy()
/dpdk/drivers/net/octeontx/
H A Docteontx_rxtx.h168 struct rte_mbuf *md; in octeontx_pktmbuf_detach() local
173 md = rte_mbuf_from_indirect(m); in octeontx_pktmbuf_detach()
175 *m_tofree = md; in octeontx_pktmbuf_detach()
176 refcount = rte_mbuf_refcnt_update(md, -1); in octeontx_pktmbuf_detach()
196 rte_mbuf_refcnt_set(md, 1); in octeontx_pktmbuf_detach()
197 md->data_len = 0; in octeontx_pktmbuf_detach()
198 md->ol_flags = 0; in octeontx_pktmbuf_detach()
199 md->next = NULL; in octeontx_pktmbuf_detach()
200 md->nb_segs = 1; in octeontx_pktmbuf_detach()
/dpdk/lib/mbuf/
H A Drte_mbuf.h233 rte_mbuf_to_baddr(struct rte_mbuf *md) in rte_mbuf_to_baddr() argument
235 return rte_mbuf_buf_addr(md, md->pool); in rte_mbuf_to_baddr()
1184 struct rte_mbuf *md; in __rte_pktmbuf_free_direct() local
1188 md = rte_mbuf_from_indirect(m); in __rte_pktmbuf_free_direct()
1190 if (rte_mbuf_refcnt_update(md, -1) == 0) { in __rte_pktmbuf_free_direct()
1191 md->next = NULL; in __rte_pktmbuf_free_direct()
1192 md->nb_segs = 1; in __rte_pktmbuf_free_direct()
1193 rte_mbuf_refcnt_set(md, 1); in __rte_pktmbuf_free_direct()
1194 rte_mbuf_raw_free(md); in __rte_pktmbuf_free_direct()
1422 rte_pktmbuf_clone(struct rte_mbuf *md, struct rte_mempool *mp);
H A Drte_mbuf.c512 rte_pktmbuf_clone(struct rte_mbuf *md, struct rte_mempool *mp) in rte_pktmbuf_clone() argument
524 pktlen = md->pkt_len; in rte_pktmbuf_clone()
529 rte_pktmbuf_attach(mi, md); in rte_pktmbuf_clone()
532 } while ((md = md->next) != NULL && in rte_pktmbuf_clone()
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev.h679 struct rte_mbuf *md; in cnxk_pktmbuf_detach() local
684 md = rte_mbuf_from_indirect(m); in cnxk_pktmbuf_detach()
685 refcount = rte_mbuf_refcnt_update(md, -1); in cnxk_pktmbuf_detach()
705 rte_mbuf_refcnt_set(md, 1); in cnxk_pktmbuf_detach()
706 md->data_len = 0; in cnxk_pktmbuf_detach()
707 md->ol_flags = 0; in cnxk_pktmbuf_detach()
708 md->next = NULL; in cnxk_pktmbuf_detach()
709 md->nb_segs = 1; in cnxk_pktmbuf_detach()
/dpdk/lib/security/
H A Drte_security.h670 uint64_t md);
691 rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md) in rte_security_get_userdata() argument
695 return (void *)(uintptr_t)md; in rte_security_get_userdata()
698 return __rte_security_get_userdata(instance, md); in rte_security_get_userdata()
H A Drte_security_driver.h125 uint64_t md, void **userdata);
H A Drte_security.c140 __rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md) in __rte_security_get_userdata() argument
149 if (instance->ops->get_userdata(instance->device, md, &userdata)) in __rte_security_get_userdata()
/dpdk/app/test/
H A Dtest_security.c450 uint64_t md; member
461 uint64_t md, in mock_get_userdata() argument
467 MOCK_TEST_ASSERT_U64_PARAMETER(mock_get_userdata_exp, md); in mock_get_userdata()
1703 uint64_t md = 0xDEADBEEF; in test_get_userdata_inv_context() local
1705 void *ret = rte_security_get_userdata(NULL, md); in test_get_userdata_inv_context()
1725 uint64_t md = 0xDEADBEEF; in test_get_userdata_inv_context_ops() local
1747 uint64_t md = 0xDEADBEEF; in test_get_userdata_inv_context_ops_fun() local
1766 uint64_t md = 0xDEADBEEF; in test_get_userdata_ops_failure() local
1770 mock_get_userdata_exp.md = md; in test_get_userdata_ops_failure()
1789 uint64_t md = 0xDEADBEEF; in test_get_userdata_success() local
[all …]
/dpdk/drivers/baseband/la12xx/
H A Dbbdev_la12xx.c149 ch->md.ring_size = rte_cpu_to_be_32(q_priv->queue_size); in ipc_queue_configure()
150 ch->md.pi = 0; in ipc_queue_configure()
151 ch->md.ci = 0; in ipc_queue_configure()
152 ch->md.msg_size = msg_size; in ipc_queue_configure()
206 ipc_br_md_t *md = &(ch->md); in la12xx_e200_queue_setup() local
210 q_priv->host_pi = rte_be_to_cpu_32(md->pi); in la12xx_e200_queue_setup()
211 q_priv->host_ci = rte_be_to_cpu_32(md->ci); in la12xx_e200_queue_setup()
425 ipc_br_md_t *md = &(ch->md); in enqueue_single_op() local
521 md->pi = rte_cpu_to_be_32(pi); in enqueue_single_op()
H A Dbbdev_la12xx_ipc.h122 ipc_br_md_t md; /**< Metadata for BD ring */ member
/dpdk/doc/api/
H A Ddoxy-api.conf.in6 USE_MDFILE_AS_MAINPAGE = @TOPDIR@/doc/api/doxy-api-index.md
7 INPUT = @TOPDIR@/doc/api/doxy-api-index.md \
H A Dmeson.build51 depend_files: 'doxy-api-index.md',
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx_nompw.c15 MLX5_TXOFF_DECL(md,
H A Dmlx5_tx.c403 MLX5_TXOFF_INFO(md,
/dpdk/lib/cryptodev/
H A Drte_crypto_asym.h372 enum rte_crypto_auth_algorithm md; member
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c1141 struct iavf_ipsec_crypto_pkt_metadata *md; in iavf_ipsec_crypto_pkt_metadata_set() local
1151 md = RTE_MBUF_DYNFIELD(m, iavf_sctx->pkt_md_offset, in iavf_ipsec_crypto_pkt_metadata_set()
1155 memcpy(md, &iavf_sess->pkt_metadata_template, in iavf_ipsec_crypto_pkt_metadata_set()
1162 md->esp_trailer_len = esp_trailer_length; in iavf_ipsec_crypto_pkt_metadata_set()
1163 md->l4_payload_len = iavf_ipsec_crypto_compute_l4_payload_length(m, in iavf_ipsec_crypto_pkt_metadata_set()
1165 md->next_proto = esp_tail->next_proto; in iavf_ipsec_crypto_pkt_metadata_set()
1169 md->esn = (uint32_t)(*sqn >> 32); in iavf_ipsec_crypto_pkt_metadata_set()
H A Diavf_rxtx.c2461 const struct iavf_ipsec_crypto_pkt_metadata *md, uint16_t *ipsec_len) in iavf_fill_ipsec_desc() argument
2463 desc->qw0 = rte_cpu_to_le_64(((uint64_t)md->l4_payload_len << in iavf_fill_ipsec_desc()
2465 ((uint64_t)md->esn << IAVF_IPSEC_TX_DESC_QW0_IPSECESN_SHIFT) | in iavf_fill_ipsec_desc()
2466 ((uint64_t)md->esp_trailer_len << in iavf_fill_ipsec_desc()
2469 desc->qw1 = rte_cpu_to_le_64(((uint64_t)md->sa_idx << in iavf_fill_ipsec_desc()
2471 ((uint64_t)md->next_proto << in iavf_fill_ipsec_desc()
2473 ((uint64_t)(md->len_iv & 0x3) << in iavf_fill_ipsec_desc()
2475 ((uint64_t)(md->ol_flags & IAVF_IPSEC_CRYPTO_OL_FLAGS_NATT ? in iavf_fill_ipsec_desc()
2486 *ipsec_len = sizeof(struct rte_esp_hdr) + (md->len_iv >> 2) + in iavf_fill_ipsec_desc()
2487 (md->ol_flags & IAVF_IPSEC_CRYPTO_OL_FLAGS_NATT ? in iavf_fill_ipsec_desc()
/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c2570 inline_ipsec_event_esn_overflow(struct rte_security_ctx *ctx, uint64_t md) in inline_ipsec_event_esn_overflow() argument
2580 sa = (struct ipsec_sa *)rte_security_get_userdata(ctx, md); in inline_ipsec_event_esn_overflow()
2596 uint64_t md; in inline_ipsec_event_callback() local
2612 md = event_desc->metadata; in inline_ipsec_event_callback()
2615 return inline_ipsec_event_esn_overflow(ctx, md); in inline_ipsec_event_callback()
/dpdk/doc/guides/nics/
H A Dena.rst171 <https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/README.md>`_.
H A Dmlx4.rst212 …nstallation documentation`: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c418 union txgbe_crypto_tx_desc_md *md = in txgbe_set_xmit_ctx() local
420 tunnel_seed |= TXGBE_TXD_IPSEC_SAIDX(md->sa_idx); in txgbe_set_xmit_ctx()
421 type_tucmd_mlhl |= md->enc ? in txgbe_set_xmit_ctx()
423 type_tucmd_mlhl |= TXGBE_TXD_IPSEC_ESPLEN(md->pad_len); in txgbe_set_xmit_ctx()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c457 union ixgbe_crypto_tx_desc_md *md = in ixgbe_set_xmit_ctx() local
460 (IXGBE_ADVTXD_IPSEC_SA_INDEX_MASK & md->sa_idx); in ixgbe_set_xmit_ctx()
461 type_tucmd_mlhl |= md->enc ? in ixgbe_set_xmit_ctx()
465 (md->pad_len & IXGBE_ADVTXD_IPSEC_ESP_LEN_MASK); in ixgbe_set_xmit_ctx()

12