Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_pmd_ring.c20 static int tx_porta, rx_portb, rxtx_portc, rxtx_portd, rxtx_porte; variable
80 if (rte_eth_tx_burst(tx_porta, 0, pbufs, RING_SIZE/2) < RING_SIZE/2) { in test_send_basic_packets()
81 printf("Failed to transmit packet burst port %d\n", tx_porta); in test_send_basic_packets()
435 ret = rte_eth_dev_stop(tx_porta); in test_cleanup_resources()
438 tx_porta, rte_strerror(-ret)); in test_cleanup_resources()
481 tx_porta = rte_eth_from_rings("net_ringa", rxtx, NUM_RINGS, rxtx, NUM_RINGS, SOCKET0); in test_pmd_ringcreate_setup()
488 tx_porta, rx_portb, rxtx_portc, rxtx_portd, rxtx_porte); in test_pmd_ringcreate_setup()
490 if ((tx_porta == -1) || (rx_portb == -1) || (rxtx_portc == -1) in test_pmd_ringcreate_setup()
501 if ((tx_porta >= RTE_MAX_ETHPORTS) || (rx_portb >= RTE_MAX_ETHPORTS) in test_pmd_ringcreate_setup()
550 TEST_ASSERT((test_ethdev_configure_port(tx_porta) == 0), in test_ethdev_configure_ports()