Changeset 47321fd
- Timestamp:
- 02/09/15 14:21:06 (6 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 83695bf, a194aaf, b585975
- Parents:
- 4bdc4c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
r4bdc4c2 r47321fd 1278 1278 /* Poll for a single packet */ 1279 1279 nb_rx = rte_eth_rx_burst(FORMAT(libtrace)->port, 1280 FORMAT(libtrace)->queue_id, pkts_burst, 1); 1280 FORMAT(libtrace)->queue_id, pkts_burst, 1); 1281 1281 if (nb_rx > 0) { /* Got a packet - otherwise we keep spining */ 1282 1282 return dpdk_ready_pkt(libtrace, packet, pkts_burst[0]); 1283 } 1284 if (libtrace_halt) { 1285 return 0; 1283 1286 } 1284 1287 }
Note: See TracChangeset
for help on using the changeset viewer.