Changeset 055a2c9 for lib


Ignore:
Timestamp:
06/28/18 11:41:54 (2 years ago)
Author:
Richard Sanger <rsanger@…>
Branches:
cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
b06b894
Parents:
1ed69dc
Message:

Fix for building without WANDDER

The code was accidentally checking ifdef, but HAVE_WANDDER was
set to 0. I've fixed this by not setting to 0, like we do elsewhere.
I've also updated HAVE_LIBNUMA to use the same style of check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.c

    r32ee9b2 r055a2c9  
    5757#include <math.h>
    5858
    59 #if HAVE_LIBNUMA
     59#ifdef HAVE_LIBNUMA
    6060#include <numa.h>
    6161#endif
     
    460460        }
    461461
    462 #if HAVE_LIBNUMA
     462#ifdef HAVE_LIBNUMA
    463463        format_data->nic_numa_node = pci_to_numa(&use_addr);
    464464        if (my_cpu < 0) {
     
    891891         * these to any particular physical core */
    892892        if (real) {
    893 #if HAVE_LIBNUMA
     893#ifdef HAVE_LIBNUMA
    894894                for (i = 0; i < RTE_MAX_LCORE; ++i) {
    895895                        if (!rte_lcore_is_enabled(i) && numa_node_of_cpu(i) == socket) {
Note: See TracChangeset for help on using the changeset viewer.