Changeset 2138553 for lib/format_dpdk.c


Ignore:
Timestamp:
02/13/14 15:00:10 (7 years ago)
Author:
Richard Sanger <rjs51@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
accdd5b
Parents:
bcb2402
Message:

Updates the dpdk build system to support the lastest DPDK libraries v1.5 and above
This drops support for anything before v1.5 due to the requirment to patch the build system.
Hopefully this new way will continue to work with newer releases

This removes the need to patch the DPDK library
Instead the only requirement is that DPDK is built as a static library with the following options
CONFIG_RTE_BUILD_COMBINE_LIBS=y EXTRA_CFLAGS="-fPIC added to the make command

-This line, and those below, will be ignored--

M configure.in
D Intel DPDK Patches/DPDKLibtracePatch.patch
M Intel DPDK Patches/README
M lib/format_dpdk.c
A lib/dpdk_libtrace.mk
M lib/Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.c

    rc04929c r2138553  
    138138 */
    139139#ifdef HAVE_LIBRT
    140 /* DONT CHANGE THIS !!! */
     140/* You can turn this on (set to 1) to prefer clock_gettime */
    141141#define USE_CLOCK_GETTIME 0
    142142#else
    143 /* You can turn this on (set to 1) to prefer clock_gettime */
     143/* DONT CHANGE THIS !!! */
    144144#define USE_CLOCK_GETTIME 0
    145145#endif
     
    853853
    854854    /* Revert to the original PCI drivers */
    855     rte_eal_pci_exit();
     855    /* No longer in DPDK
     856    rte_eal_pci_exit(); */
    856857    return 0;
    857858}
     
    869870
    870871    /* Revert to the original PCI drivers */
    871     rte_eal_pci_exit();
     872    /* No longer in DPDK
     873    rte_eal_pci_exit(); */
    872874    return 0;
    873875}
Note: See TracChangeset for help on using the changeset viewer.