Changeset 1e6d795 for lib


Ignore:
Timestamp:
11/19/18 11:24:51 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
d24b1df
Parents:
723f1af
Message:

Remove hard-coded limit of 1 for ring burst size.

This no longer applies given that we (in theory) support multiple
packets per read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_ring.c

    r723f1af r1e6d795  
    320320#ifdef HAVE_PACKET_FANOUT
    321321static 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;
    325322        return linuxcommon_pstart_input(libtrace, linuxring_start_input_stream);
    326323}
Note: See TracChangeset for help on using the changeset viewer.