Ignore:
Timestamp:
08/31/15 13:50:39 (6 years ago)
Author:
Shane Alcock <salcock@…>
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:
87cba74
Parents:
f45ff19
Message:

Detect whether PACKET_FANOUT is available.

If not, int: and ring: will fallback to single-threaded input if
trace_pstart() is called on them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_ring.c

    rf2066fa rbabeb70  
    752752        linuxring_help,                 /* help */
    753753        NULL,                           /* next pointer */
     754#ifdef HAVE_PACKET_FANOUT
    754755        {true, -1},                     /* Live, no thread limit */
    755756        linuxring_pstart_input,         /* pstart_input */
     
    760761        NULL,                           /* unregister thread */
    761762        NULL                            /* get thread stats */
     763#else
     764        NON_PARALLEL(true)
     765#endif
    762766};
    763767#else /* HAVE_NETPACKET_PACKET_H */
Note: See TracChangeset for help on using the changeset viewer.