Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_mbuf.c1759 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1768 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1775 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1784 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1794 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1801 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1809 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1818 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1827 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
1836 pktmbuf_pool, in test_mbuf_validate_tx_offload_one()
[all …]
H A Dtest_cksum.c102 m = rte_pktmbuf_alloc(pktmbuf_pool); in test_l4_cksum()
229 struct rte_mempool *pktmbuf_pool = NULL; in test_cksum() local
232 pktmbuf_pool = rte_pktmbuf_pool_create("test_cksum_mbuf_pool", in test_cksum()
236 if (pktmbuf_pool == NULL) in test_cksum()
239 if (test_l4_cksum(pktmbuf_pool, test_cksum_ipv4_tcp, in test_cksum()
243 if (test_l4_cksum(pktmbuf_pool, test_cksum_ipv6_tcp, in test_cksum()
247 if (test_l4_cksum(pktmbuf_pool, test_cksum_ipv4_udp, in test_cksum()
251 if (test_l4_cksum(pktmbuf_pool, test_cksum_ipv6_udp, in test_cksum()
255 if (test_l4_cksum(pktmbuf_pool, test_cksum_ipv4_opts_udp, in test_cksum()
259 rte_mempool_free(pktmbuf_pool); in test_cksum()
[all …]
/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dinit.c48 struct rte_mempool *pktmbuf_pool; variable
77 pktmbuf_pool = rte_pktmbuf_pool_create(PKTMBUF_POOL_NAME, num_mbufs, in init_mbuf_pools()
80 return pktmbuf_pool == NULL; /* 0 on success */ in init_mbuf_pools()
123 NULL, pktmbuf_pool); in init_port()
H A Dinit.h36 extern struct rte_mempool *pktmbuf_pool;
/dpdk/examples/server_node_efd/server/
H A Dinit.c52 struct rte_mempool *pktmbuf_pool; variable
79 pktmbuf_pool = rte_pktmbuf_pool_create(PKTMBUF_POOL_NAME, num_mbufs, in init_mbuf_pools()
82 return pktmbuf_pool == NULL; /* 0 on success */ in init_mbuf_pools()
137 NULL, pktmbuf_pool); in init_port()
H A Dinit.h40 extern struct rte_mempool *pktmbuf_pool;
/dpdk/lib/kni/
H A Drte_kni.c60 struct rte_mempool *pktmbuf_pool; /**< pkt mbuf mempool */ member
211 rte_kni_alloc(struct rte_mempool *pktmbuf_pool, in rte_kni_alloc() argument
221 if (!pktmbuf_pool || !conf || !conf->name[0]) in rte_kni_alloc()
309 kni->pktmbuf_pool = pktmbuf_pool; in rte_kni_alloc()
443 kni_free_fifo_phy(kni->pktmbuf_pool, kni->alloc_q); in rte_kni_release()
680 if (kni->pktmbuf_pool == NULL) { in kni_allocate_mbufs()
689 pkts[i] = rte_pktmbuf_alloc(kni->pktmbuf_pool); in kni_allocate_mbufs()
H A Drte_kni.h118 struct rte_kni *rte_kni_alloc(struct rte_mempool *pktmbuf_pool,
/dpdk/examples/l3fwd-graph/
H A Dmain.c130 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; variable
546 if (pktmbuf_pool[portid][socketid] == NULL) { in init_mem()
550 pktmbuf_pool[portid][socketid] = in init_mem()
555 if (pktmbuf_pool[portid][socketid] == NULL) in init_mem()
923 ethdev_conf[nb_conf].mp = pktmbuf_pool[0]; in main()
926 ethdev_conf[nb_conf].mp = pktmbuf_pool[portid]; in main()
961 &rxq_conf, pktmbuf_pool[0][socketid]); in main()
966 pktmbuf_pool[portid][socketid]); in main()
/dpdk/examples/kni/
H A Dmain.c102 static struct rte_mempool * pktmbuf_pool = NULL; variable
626 rte_eth_dev_socket_id(port), &rxq_conf, pktmbuf_pool); in init_port()
818 rte_eth_dev_socket_id(port_id), &rxq_conf, pktmbuf_pool); in kni_change_mtu_()
994 kni = rte_kni_alloc(pktmbuf_pool, &conf, &ops); in kni_alloc()
996 kni = rte_kni_alloc(pktmbuf_pool, &conf, NULL); in kni_alloc()
1062 pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", NB_MBUF, in main()
1064 if (pktmbuf_pool == NULL) { in main()
/dpdk/examples/l3fwd/
H A Dmain.c140 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; variable
980 if (pktmbuf_pool[portid][socketid] == NULL) { in init_mem()
983 pktmbuf_pool[portid][socketid] = in init_mem()
987 if (pktmbuf_pool[portid][socketid] == NULL) in init_mem()
1352 pktmbuf_pool[0][socketid]); in l3fwd_poll_resource_setup()
1357 pktmbuf_pool[portid][socketid]); in l3fwd_poll_resource_setup()
1495 evt_rsrc->pkt_pool = pktmbuf_pool; in main()
/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h86 struct rte_mempool *pktmbuf_pool; member
H A Dl2fwd_common.c89 rsrc->pktmbuf_pool); in l2fwd_event_init_ports()
H A Dmain.c669 rsrc->pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", in main()
672 if (rsrc->pktmbuf_pool == NULL) in main()
/dpdk/examples/l3fwd-acl/
H A Dmain.c144 static struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; variable
1882 if (pktmbuf_pool[socketid] == NULL) { in init_mem()
1884 pktmbuf_pool[socketid] = in init_mem()
1889 if (pktmbuf_pool[socketid] == NULL) in init_mem()
2222 pktmbuf_pool[socketid]); in main()
/dpdk/examples/l3fwd-power/
H A Dmain.c269 static struct rte_mempool * pktmbuf_pool[NB_SOCKETS]; variable
2140 if (pktmbuf_pool[socketid] == NULL) { in init_mem()
2142 pktmbuf_pool[socketid] = in init_mem()
2147 if (pktmbuf_pool[socketid] == NULL) in init_mem()
2791 pktmbuf_pool[socketid]); in main()
/dpdk/doc/guides/nics/
H A Dkni.rst58 mbuf size: (rte_pktmbuf_data_room_size(pktmbuf_pool) - RTE_PKTMBUF_HEADROOM)