Changeset 6d17620 for lib/format_dpdk.h


Ignore:
Timestamp:
04/30/18 14:01:04 (3 years ago)
Author:
Richard Sanger <rsanger@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
1f7f10c, bd51874
Parents:
c22a4bb
Message:

Updates to DPDK to build with 18.02.1

  • Updates to improve backwards compatibility
  • Update to use a new portid_t as the size has changed between releases
  • Fix bug with variable order in tx, both values were zero so this didn't matter
  • Update build script to test newer dpdk versions, remove older versions no longer supported by new kernels
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.h

    r8efa986 r6d17620  
    113113#define rte_mempool_in_use_count rte_mempool_free_count
    114114#endif
     115
     116/* 17.05-rc1 deprecated, 17.08 removed
     117 * rte_set_log_level -> rte_log_set_global_level
     118 */
     119#if RTE_VERSION < RTE_VERSION_NUM(17, 5, 0, 1)
     120#define rte_log_set_global_level rte_set_log_level
     121#endif
     122
     123/* 17.11-rc1 increases port size from 8 to 16bits
     124 */
     125#if RTE_VERSION >= RTE_VERSION_NUM(17, 11, 0, 1)
     126typedef uint16_t portid_t;
     127#else
     128typedef uint8_t portid_t;
     129#endif
     130
    115131
    116132#include <rte_per_lcore.h>
Note: See TracChangeset for help on using the changeset viewer.