Changeset babeb70 for configure.in


Ignore:
Timestamp:
08/31/15 13:50:39 (5 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
  • configure.in

    rbd2e4af rbabeb70  
    412412fi
    413413
     414# Check for PACKET_FANOUT (borrowed from Suricata)
     415AC_CHECK_DECL([PACKET_FANOUT_QM],
     416        AC_DEFINE([HAVE_PACKET_FANOUT],[1],
     417        [Recent packet fanout support is available]),
     418        [],
     419        [[#include <linux/if_packet.h>]])
     420
    414421# If we use DPDK we might be able to use libnuma
    415422AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
Note: See TracChangeset for help on using the changeset viewer.