MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dummy_eth_rx_burst

Function dummy_eth_rx_burst

dpdk/lib/ethdev/ethdev_private.c:207–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static uint16_t
208dummy_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
226static uint16_t
227dummy_eth_tx_burst(void *txq,

Callers

nothing calls this directly

Calls 2

rte_lcore_idFunction · 0.85
rte_dump_stackFunction · 0.50

Tested by

no test coverage detected