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

Function dummy_eth_tx_burst

dpdk/lib/ethdev/ethdev_private.c:226–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226static uint16_t
227dummy_eth_tx_burst(void *txq,
228 __rte_unused struct rte_mbuf **tx_pkts,
229 __rte_unused uint16_t nb_pkts)
230{
231 struct dummy_queue *queue = txq;
232 uintptr_t port_id;
233
234 port_id = queue - per_port_queues;
235 if (port_id < RTE_DIM(per_port_queues) && !queue->tx_warn_once) {
236 RTE_ETHDEV_LOG(ERR, "lcore %u called tx_pkt_burst for not ready port %"PRIuPTR"\n",
237 rte_lcore_id(), port_id);
238 rte_dump_stack();
239 queue->tx_warn_once = true;
240 }
241 rte_errno = ENOTSUP;
242 return 0;
243}
244
245void
246eth_dev_fp_ops_reset(struct rte_eth_fp_ops *fpo)

Callers

nothing calls this directly

Calls 2

rte_lcore_idFunction · 0.85
rte_dump_stackFunction · 0.50

Tested by

no test coverage detected