Searched refs:ring_name (Results 1 - 10 of 10) sorted by relevance

/deb_dpdk/examples/quota_watermark/qw/
H A Dinit.c130 char ring_name[RTE_RING_NAMESIZE]; local
132 snprintf(ring_name, RTE_RING_NAMESIZE,
134 ring = rte_ring_create(ring_name, RING_SIZE, rte_socket_id(),
/deb_dpdk/app/test/
H A Dtest_func_reentrancy.c119 char ring_name[MAX_STRING_SIZE]; local
133 snprintf(ring_name, sizeof(ring_name), "fr_test_%d_%d", lcore_self, i);
134 rp = rte_ring_create(ring_name, 4096, SOCKET_ID_ANY, 0);
137 if (rte_ring_lookup(ring_name) != rp)
143 snprintf(ring_name, sizeof(ring_name), "fr_test_%d_%d", lcore_self, i);
144 if (rte_ring_lookup(ring_name) == NULL)
/deb_dpdk/examples/qos_sched/
H A Dinit.c306 char ring_name[MAX_NAME_LEN]; local
321 snprintf(ring_name, MAX_NAME_LEN, "ring-%u-%u", i, qos_conf[i].rx_core);
322 ring = rte_ring_lookup(ring_name);
324 qos_conf[i].rx_ring = rte_ring_create(ring_name, ring_conf.ring_size,
329 snprintf(ring_name, MAX_NAME_LEN, "ring-%u-%u", i, qos_conf[i].tx_core);
330 ring = rte_ring_lookup(ring_name);
332 qos_conf[i].tx_ring = rte_ring_create(ring_name, ring_conf.ring_size,
/deb_dpdk/app/pdump/
H A Dmain.c631 char ring_name[SIZE]; local
657 snprintf(ring_name, SIZE, RX_RING, i);
658 pt->rx_ring = rte_ring_create(ring_name, pt->ring_size,
668 snprintf(ring_name, SIZE, TX_RING, i);
669 pt->tx_ring = rte_ring_create(ring_name, pt->ring_size,
718 snprintf(ring_name, SIZE, RX_RING, i);
719 pt->rx_ring = rte_ring_create(ring_name, pt->ring_size,
744 snprintf(ring_name, SIZE, TX_RING, i);
745 pt->tx_ring = rte_ring_create(ring_name, pt->ring_size,
/deb_dpdk/examples/multi_process/l2fwd_fork/
H A Dmain.c140 char ring_name[2][MAX_NAME_LEN]; member in struct:lcore_resource_struct
328 snprintf(res->ring_name[0], MAX_NAME_LEN, "%s%u",
330 if ((res->ring[0] = create_ring(res->ring_name[0], NB_CORE_MSGBUF,
332 printf("Create m2s ring %s failed\n", res->ring_name[0]);
336 snprintf(res->ring_name[1], MAX_NAME_LEN, "%s%u",
338 if ((res->ring[1] = create_ring(res->ring_name[1], NB_CORE_MSGBUF,
340 printf("Create s2m ring %s failed\n", res->ring_name[1]);
/deb_dpdk/lib/librte_hash/
H A Drte_cuckoo_hash.c124 char ring_name[RTE_RING_NAMESIZE]; local
162 snprintf(ring_name, sizeof(ring_name), "HT_%s", params->name);
164 r = rte_ring_create(ring_name, rte_align32pow2(num_key_slots),
/deb_dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.c15 ring_dma_zone_reserve(struct rte_eth_dev *dev, const char *ring_name, argument
22 dev->driver->pci_drv.driver.name, ring_name,
/deb_dpdk/app/test-pmd/
H A Dconfig.c791 ring_dma_zone_lookup(const char *ring_name, uint8_t port_id, uint16_t q_id) argument
797 ports[port_id].dev_info.driver_name, ring_name, port_id, q_id);
802 ring_name, port_id, q_id, mz_name);
/deb_dpdk/drivers/net/nfp/
H A Dnfp_net.c210 ring_dma_zone_reserve(struct rte_eth_dev *dev, const char *ring_name, argument
218 ring_name, dev->data->port_id, queue_id);
/deb_dpdk/lib/librte_ether/
H A Drte_ethdev.c2681 rte_eth_dma_zone_reserve(const struct rte_eth_dev *dev, const char *ring_name, argument
2689 dev->driver->pci_drv.driver.name, ring_name,

Completed in 17 milliseconds