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

Function rte_eth_call_rx_callbacks

dpdk/lib/ethdev/ethdev_private.c:287–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287uint16_t
288rte_eth_call_rx_callbacks(uint16_t port_id, uint16_t queue_id,
289 struct rte_mbuf **rx_pkts, uint16_t nb_rx, uint16_t nb_pkts,
290 void *opaque)
291{
292 const struct rte_eth_rxtx_callback *cb = opaque;
293
294 while (cb != NULL) {
295 nb_rx = cb->fn.rx(port_id, queue_id, rx_pkts, nb_rx,
296 nb_pkts, cb->param);
297 cb = cb->next;
298 }
299
300 rte_eth_trace_call_rx_callbacks(port_id, queue_id, (void **)rx_pkts,
301 nb_rx, nb_pkts);
302
303 return nb_rx;
304}
305
306uint16_t
307rte_eth_call_tx_callbacks(uint16_t port_id, uint16_t queue_id,

Callers 1

rte_eth_rx_burstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected