Changeset 928db3d
- Timestamp:
- 10/24/18 14:42:47 (2 years ago)
- Branches:
- ringperformance
- Children:
- f96ad61
- Parents:
- f3e1f19
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_linux_ring.c
rebed638 r928db3d 320 320 #ifdef HAVE_PACKET_FANOUT 321 321 static int linuxring_pstart_input(libtrace_t *libtrace) { 322 /* Only because our pread is hard-coded to only do one 323 * packet at a time anyway */ 324 libtrace->config.burst_size = 1; 322 325 return linuxcommon_pstart_input(libtrace, linuxring_start_input_stream); 323 326 } … … 609 612 UNUSED size_t nb_packets) { 610 613 /* For now just read one packet */ 614 /* If we change this to actually read nb_packets, make sure 615 * we remove the burst_size override in linuxring_pstart_input() 616 */ 611 617 packets[0]->error = linuxring_read_stream(libtrace, packets[0], 612 618 t->format_data, &t->messages);
Note: See TracChangeset
for help on using the changeset viewer.