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

Function do_rx

dpdk/app/test-flow-perf/main.c:1715–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713}
1714
1715static inline uint16_t
1716do_rx(struct lcore_info *li, uint16_t rx_port, uint16_t rx_queue)
1717{
1718 uint16_t cnt = 0;
1719 cnt = rte_eth_rx_burst(rx_port, rx_queue, li->pkts, MAX_PKT_BURST);
1720 li->rx_pkts += cnt;
1721 return cnt;
1722}
1723
1724static inline void
1725do_tx(struct lcore_info *li, uint16_t cnt, uint16_t tx_port,

Callers 1

start_forwardingFunction · 0.85

Calls 1

rte_eth_rx_burstFunction · 0.85

Tested by

no test coverage detected