| 205 | } |
| 206 | |
| 207 | static uint16_t |
| 208 | dummy_eth_rx_burst(void *rxq, |
| 209 | __rte_unused struct rte_mbuf **rx_pkts, |
| 210 | __rte_unused uint16_t nb_pkts) |
| 211 | { |
| 212 | struct dummy_queue *queue = rxq; |
| 213 | uintptr_t port_id; |
| 214 | |
| 215 | port_id = queue - per_port_queues; |
| 216 | if (port_id < RTE_DIM(per_port_queues) && !queue->rx_warn_once) { |
| 217 | RTE_ETHDEV_LOG(ERR, "lcore %u called rx_pkt_burst for not ready port %"PRIuPTR"\n", |
| 218 | rte_lcore_id(), port_id); |
| 219 | rte_dump_stack(); |
| 220 | queue->rx_warn_once = true; |
| 221 | } |
| 222 | rte_errno = ENOTSUP; |
| 223 | return 0; |
| 224 | } |
| 225 | |
| 226 | static uint16_t |
| 227 | dummy_eth_tx_burst(void *txq, |
nothing calls this directly
no test coverage detected