Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman.h393 register struct bm_mc *mc = &portal->mc; in bm_mc_init() local
399 mc->vbit = mc->rridx ? BM_MCC_VERB_VBIT : 0; in bm_mc_init()
408 __maybe_unused register struct bm_mc *mc = &portal->mc; in bm_mc_finish() local
419 register struct bm_mc *mc = &portal->mc; in bm_mc_start() local
431 __maybe_unused register struct bm_mc *mc = &portal->mc; in bm_mc_abort() local
441 register struct bm_mc *mc = &portal->mc; in bm_mc_commit() local
442 struct bm_mc_result *rr = mc->rr + mc->rridx; in bm_mc_commit()
448 mc->cr->__dont_write_directly__verb = myverb | mc->vbit; in bm_mc_commit()
449 dcbf(mc->cr); in bm_mc_commit()
458 register struct bm_mc *mc = &portal->mc; in bm_mc_result() local
[all …]
H A Dqman.h813 register struct qm_mc *mc = &portal->mc; in qm_mc_init() local
819 mc->vbit = mc->rridx ? QM_MCC_VERB_VBIT : 0; in qm_mc_init()
828 __maybe_unused register struct qm_mc *mc = &portal->mc; in qm_mc_finish() local
839 register struct qm_mc *mc = &portal->mc; in qm_mc_start() local
846 return mc->cr; in qm_mc_start()
851 register struct qm_mc *mc = &portal->mc; in qm_mc_commit() local
852 struct qm_mc_result *rr = mc->rr + mc->rridx; in qm_mc_commit()
858 mc->cr->__dont_write_directly__verb = myverb | mc->vbit; in qm_mc_commit()
859 dcbf(mc->cr); in qm_mc_commit()
868 register struct qm_mc *mc = &portal->mc; in qm_mc_result() local
[all …]
/dpdk/drivers/bus/fslmc/
H A Dmeson.build13 'mc/dpbp.c',
14 'mc/dpci.c',
15 'mc/dpcon.c',
16 'mc/dpdmai.c',
17 'mc/dpio.c',
18 'mc/dpmng.c',
19 'mc/dprc.c',
20 'mc/mc_sys.c',
29 includes += include_directories('mc', 'qbman/include', 'portal')
/dpdk/drivers/net/dpaa2/
H A Dmeson.build21 'mc/dprtc.c',
22 'mc/dpkg.c',
23 'mc/dpdmux.c',
24 'mc/dpni.c',
27 includes += include_directories('base', 'mc')
/dpdk/lib/mbuf/
H A Drte_mbuf.c519 if (unlikely(mc == NULL)) in rte_pktmbuf_clone()
522 mi = mc; in rte_pktmbuf_clone()
536 mc->nb_segs = nseg; in rte_pktmbuf_clone()
537 mc->pkt_len = pktlen; in rte_pktmbuf_clone()
541 rte_pktmbuf_free(mc); in rte_pktmbuf_clone()
546 return mc; in rte_pktmbuf_clone()
614 prev = &mc->next; in rte_pktmbuf_copy()
615 m_last = mc; in rte_pktmbuf_copy()
629 rte_pktmbuf_free(mc); in rte_pktmbuf_copy()
632 ++mc->nb_segs; in rte_pktmbuf_copy()
[all …]
/dpdk/lib/pcapng/
H A Drte_pcapng.c420 struct rte_mbuf *mc; in rte_pcapng_copy() local
431 mc = rte_pktmbuf_copy(md, mp, 0, length); in rte_pcapng_copy()
432 if (unlikely(mc == NULL)) in rte_pcapng_copy()
440 if (pcapng_vlan_insert(mc, RTE_ETHER_TYPE_VLAN, in rte_pcapng_copy()
455 data_len = rte_pktmbuf_data_len(mc); in rte_pcapng_copy()
458 void *tail = rte_pktmbuf_append(mc, padding); in rte_pcapng_copy()
492 rte_pktmbuf_prepend(mc, sizeof(*epb)); in rte_pcapng_copy()
497 epb->block_length = rte_pktmbuf_data_len(mc); in rte_pcapng_copy()
500 mc->port = port_id; in rte_pcapng_copy()
510 return mc; in rte_pcapng_copy()
[all …]
/dpdk/drivers/crypto/dpaa2_sec/
H A Dmeson.build13 'mc/dpseci.c',
16 includes += include_directories('mc', '../../common/dpaax', '../../common/dpaax/caamflib')
/dpdk/app/test/
H A Dtest_pcapng.c139 struct rte_mbuf *mc; in test_write_packets() local
141 mc = rte_pcapng_copy(port_id, 0, orig, mp, pkt_len, in test_write_packets()
143 if (mc == NULL) { in test_write_packets()
147 clones[i] = mc; in test_write_packets()
H A Dtest_ring_stress_impl.h336 uint32_t lc, mc; in test_mt1() local
369 mc = rte_lcore_id(); in test_mt1()
370 arg[mc].stats = init_stat; in test_mt1()
375 lcore_stat_aggr(&arg[mc].stats, &arg[lc].stats); in test_mt1()
380 lcore_stat_dump(stdout, UINT32_MAX, &arg[mc].stats); in test_mt1()
/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.c262 p->mc.check = swp_mc_can_start; in qbman_swp_init()
264 p->mc.valid_bit = QB_VALID_BIT; in qbman_swp_init()
473 p->mc.check = swp_mc_can_submit; in qbman_swp_mc_start()
498 *v = cmd_verb | p->mc.valid_bit; in qbman_swp_mc_submit()
503 p->mc.check = swp_mc_can_poll; in qbman_swp_mc_submit()
520 *v = cmd_verb | p->mc.valid_bit; in qbman_swp_mc_submit_cinh()
524 p->mc.check = swp_mc_can_poll; in qbman_swp_mc_submit_cinh()
558 p->mc.valid_bit ^= QB_VALID_BIT; in qbman_swp_mc_result()
561 p->mc.check = swp_mc_can_start; in qbman_swp_mc_result()
580 p->mc.valid_bit ^= QB_VALID_BIT; in qbman_swp_mc_result_cinh()
[all …]
H A Dqbman_portal.h59 } mc; member
/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c1270 const struct virtio_net_ctrl_mac *mc) in virtio_mac_table_set() argument
1286 len[1] = mc->entries * RTE_ETHER_ADDR_LEN + sizeof(mc->entries); in virtio_mac_table_set()
1287 memcpy(ctrl.data + len[0], mc, len[1]); in virtio_mac_table_set()
1302 struct virtio_net_ctrl_mac *uc, *mc; in virtio_mac_addr_add() local
1313 sizeof(mc->entries)); in virtio_mac_addr_add()
1314 mc->entries = 0; in virtio_mac_addr_add()
1325 return virtio_mac_table_set(hw, uc, mc); in virtio_mac_addr_add()
1333 struct virtio_net_ctrl_mac *uc, *mc; in virtio_mac_addr_remove() local
1345 sizeof(mc->entries)); in virtio_mac_addr_remove()
1346 mc->entries = 0; in virtio_mac_addr_remove()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_rx.c556 volatile struct mlx5_mini_cqe8 (*mc)[8] = in mlx5_rx_poll_len() local
560 len = rte_be_to_cpu_32((*mc)[zip->ai & 7].byte_cnt & in mlx5_rx_poll_len()
562 *mcqe = &(*mc)[zip->ai & 7]; in mlx5_rx_poll_len()
623 volatile struct mlx5_mini_cqe8 (*mc)[8] = in mlx5_rx_poll_len() local
644 len = rte_be_to_cpu_32((*mc)[0].byte_cnt & in mlx5_rx_poll_len()
646 *mcqe = &(*mc)[0]; in mlx5_rx_poll_len()
/dpdk/examples/ipv4_multicast/
H A Dmain.c304 struct rte_mbuf *mc; in mcast_forward() local
357 if (likely ((mc = mcast_out_pkt(m, use_clone)) != NULL)) in mcast_forward()
358 mcast_send_pkt(mc, &dst_eth_addr.as_addr, in mcast_forward()
/dpdk/doc/guides/rawdevs/
H A Ddpaa2_cmdif.rst38 Some part of fslmc bus code (mc flib - object library) routines are
H A Ddpaa2_qdma.rst42 Some part of fslmc bus code (mc flib - object library) routines are
/dpdk/doc/guides/eventdevs/
H A Ddpaa2.rst43 Some part of fslmc bus code (mc flib - object library) routines are
/dpdk/doc/guides/nics/
H A Ddpaa2.rst31 Reference: `FSL MC BUS in Linux Kernel <https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-RE…
65 +------------------------| mc portal |-+
346 The DPAA2 bus driver is a rte_bus driver which scans the fsl-mc bus.
428 Some part of fslmc bus code (mc flib - object library) routines are
/dpdk/drivers/net/cxgbe/
H A Dsge.c942 struct ulp_txpkt *mc; in tx_do_packet_coalesce() local
949 mc = (struct ulp_txpkt *)q->coalesce.ptr; in tx_do_packet_coalesce()
950 mc->cmd_dest = htonl(V_ULPTX_CMD(4) | V_ULP_TXPKT_DEST(0) | in tx_do_packet_coalesce()
953 mc->len = htonl(DIV_ROUND_UP(flits, 2)); in tx_do_packet_coalesce()
954 sc_imm = (struct ulptx_idata *)(mc + 1); in tx_do_packet_coalesce()
958 end = (u64 *)mc + flits; in tx_do_packet_coalesce()