Home
last modified time | relevance | path

Searched refs:pktmbuf_pool (Results 1 – 20 of 20) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_mbuf.c1754 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1763 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1770 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1779 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1789 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1796 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1804 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1813 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1822 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1831 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
[all …]
/f-stack/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dinit.c49 struct rte_mempool *pktmbuf_pool; variable
78 pktmbuf_pool = rte_pktmbuf_pool_create(PKTMBUF_POOL_NAME, num_mbufs, in init_mbuf_pools()
81 return pktmbuf_pool == NULL; /* 0 on success */ in init_mbuf_pools()
124 NULL, pktmbuf_pool); in init_port()
H A Dinit.h36 extern struct rte_mempool *pktmbuf_pool;
/f-stack/dpdk/examples/server_node_efd/server/
H A Dinit.c53 struct rte_mempool *pktmbuf_pool; variable
80 pktmbuf_pool = rte_pktmbuf_pool_create(PKTMBUF_POOL_NAME, num_mbufs, in init_mbuf_pools()
83 return pktmbuf_pool == NULL; /* 0 on success */ in init_mbuf_pools()
138 NULL, pktmbuf_pool); in init_port()
H A Dinit.h40 extern struct rte_mempool *pktmbuf_pool;
/f-stack/dpdk/lib/librte_kni/
H A Drte_kni.c62 struct rte_mempool *pktmbuf_pool; /**< pkt mbuf mempool */ member
213 rte_kni_alloc(struct rte_mempool *pktmbuf_pool, in rte_kni_alloc() argument
223 if (!pktmbuf_pool || !conf || !conf->name[0]) in rte_kni_alloc()
311 kni->pktmbuf_pool = pktmbuf_pool; in rte_kni_alloc()
445 kni_free_fifo_phy(kni->pktmbuf_pool, kni->alloc_q); in rte_kni_release()
672 if (kni->pktmbuf_pool == NULL) { in kni_allocate_mbufs()
680 pkts[i] = rte_pktmbuf_alloc(kni->pktmbuf_pool); in kni_allocate_mbufs()
H A Drte_kni.h120 struct rte_kni *rte_kni_alloc(struct rte_mempool *pktmbuf_pool,
/f-stack/dpdk/examples/l3fwd-graph/
H A Dmain.c129 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; variable
567 if (pktmbuf_pool[portid][socketid] == NULL) { in init_mem()
571 pktmbuf_pool[portid][socketid] = in init_mem()
576 if (pktmbuf_pool[portid][socketid] == NULL) in init_mem()
900 ethdev_conf[nb_conf].mp = pktmbuf_pool[0]; in main()
903 ethdev_conf[nb_conf].mp = pktmbuf_pool[portid]; in main()
938 &rxq_conf, pktmbuf_pool[0][socketid]); in main()
943 pktmbuf_pool[portid][socketid]); in main()
/f-stack/dpdk/examples/kni/
H A Dmain.c103 static struct rte_mempool * pktmbuf_pool = NULL; variable
627 rte_eth_dev_socket_id(port), &rxq_conf, pktmbuf_pool); in init_port()
826 rte_eth_dev_socket_id(port_id), &rxq_conf, pktmbuf_pool); in kni_change_mtu_()
1002 kni = rte_kni_alloc(pktmbuf_pool, &conf, &ops); in kni_alloc()
1004 kni = rte_kni_alloc(pktmbuf_pool, &conf, NULL); in kni_alloc()
1069 pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", NB_MBUF, in main()
1071 if (pktmbuf_pool == NULL) { in main()
/f-stack/dpdk/examples/l3fwd/
H A Dmain.c133 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; variable
768 if (pktmbuf_pool[portid][socketid] == NULL) { in init_mem()
771 pktmbuf_pool[portid][socketid] = in init_mem()
775 if (pktmbuf_pool[portid][socketid] == NULL) in init_mem()
1077 pktmbuf_pool[0][socketid]); in l3fwd_poll_resource_setup()
1082 pktmbuf_pool[portid][socketid]); in l3fwd_poll_resource_setup()
1217 evt_rsrc->pkt_pool = pktmbuf_pool; in main()
/f-stack/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h77 struct rte_mempool *pktmbuf_pool; member
H A Dl2fwd_common.c87 rsrc->pktmbuf_pool); in l2fwd_event_init_ports()
H A Dmain.c630 rsrc->pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", in main()
633 if (rsrc->pktmbuf_pool == NULL) in main()
/f-stack/lib/
H A Dff_dpdk_if.c118 struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; variable
340 if (pktmbuf_pool[socketid] != NULL) { in init_mem_pool()
346 pktmbuf_pool[socketid] = in init_mem_pool()
352 pktmbuf_pool[socketid] = rte_mempool_lookup(s); in init_mem_pool()
355 if (pktmbuf_pool[socketid] == NULL) { in init_mem_pool()
526 struct rte_mempool *mbuf_pool = pktmbuf_pool[socket_id]; in init_kni()
739 mbuf_pool = pktmbuf_pool[socketid]; in init_port_start()
1347 mbuf_pool = pktmbuf_pool[socket_id];
1360 mbuf_pool = pktmbuf_pool[qconf->socket_id];
1707 struct rte_mempool *mbuf_pool = pktmbuf_pool[lcore_conf.socket_id];
H A Dff_memory.c70 extern struct rte_mempool *pktmbuf_pool[NB_SOCKETS];
381 struct rte_mempool *mbuf_pool = pktmbuf_pool[lcore_conf.socket_id]; in ff_extcl_to_rte()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward_graph.rst160 ethdev_conf[nb_conf].mp = pktmbuf_pool[0];
162 ethdev_conf[nb_conf].mp = pktmbuf_pool[portid];
175 &rxq_conf, pktmbuf_pool[0][socketid]);
178 &rxq_conf, pktmbuf_pool[portid][socketid]);
/f-stack/dpdk/examples/l3fwd-acl/
H A Dmain.c144 static struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; variable
1916 if (pktmbuf_pool[socketid] == NULL) { in init_mem()
1918 pktmbuf_pool[socketid] = in init_mem()
1923 if (pktmbuf_pool[socketid] == NULL) in init_mem()
2214 pktmbuf_pool[socketid]); in main()
/f-stack/dpdk/examples/l3fwd-power/
H A Dmain.c264 static struct rte_mempool * pktmbuf_pool[NB_SOCKETS]; variable
2102 if (pktmbuf_pool[socketid] == NULL) { in init_mem()
2104 pktmbuf_pool[socketid] = in init_mem()
2109 if (pktmbuf_pool[socketid] == NULL) in init_mem()
2700 pktmbuf_pool[socketid]); in main()
/f-stack/dpdk/doc/guides/nics/
H A Dkni.rst58 mbuf size: (rte_pktmbuf_data_room_size(pktmbuf_pool) - RTE_PKTMBUF_HEADROOM)
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c326 static struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; variable
3403 if (pktmbuf_pool[socketid] == NULL) { in init_mem()
3405 pktmbuf_pool[socketid] = in init_mem()
3409 if (pktmbuf_pool[socketid] == NULL) in init_mem()
3695 pktmbuf_pool[socketid]); in main()