Go to file
Ferruh Yigit d3c9274f76 examples/vm_power_manager: fix build
Build fails because '__rte_unused' macro not defined in file, error
produced by 'i686-native-linux-gcc config' but it seems generic issue.

Build error:
.../examples/vm_power_manager/oob_monitor_nop.c:11:13:
   error: expected ‘;’ before ‘static’
   11 | __rte_unused static float
      |             ^~~~~~~
      |             ;
.../examples/vm_power_manager/oob_monitor_nop.c:12:14:
   error: unknown type name ‘__rte_unused’
   12 | apply_policy(__rte_unused int core)
      |              ^~~~~~~~~~~~
.../examples/vm_power_manager/oob_monitor_nop.c:18:21:
   error: unknown type name ‘__rte_unused’
   18 | add_core_to_monitor(__rte_unused int core)
      |                     ^~~~~~~~~~~~
.../examples/vm_power_manager/oob_monitor_nop.c:24:26:
   error: unknown type name ‘__rte_unused’
   24 | remove_core_from_monitor(__rte_unused int core)
      |                          ^~~~~~~~~~~~

Including 'rte_common.h' header which defines the macro for fix.

Fixes: f2fc83b40f ("replace unused attributes")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-04-17 23:22:15 +02:00
.ci ci: run tests even without hugepage 2020-03-24 11:14:25 +01:00
app replace unused attributes 2020-04-16 18:30:58 +02:00
buildtools eal: move common header files 2020-03-31 13:08:55 +02:00
config eal: move arch-specific header files 2020-03-31 13:08:55 +02:00
devtools devtools: check use of compiler attributes 2020-04-16 18:30:58 +02:00
doc doc: remove similar columns from NIC features matrix 2020-04-16 23:55:49 +02:00
drivers replace cold attributes 2020-04-16 18:30:58 +02:00
examples examples/vm_power_manager: fix build 2020-04-17 23:22:15 +02:00
kernel eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
lib eal/ppc: fix build 2020-04-17 17:45:20 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
mk build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
usertools usertools: fix telemetry client with python 3 2020-02-16 22:23:20 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml ci: fix telemetry dependency in Travis 2020-04-10 10:03:22 +02:00
ABI_VERSION version: 20.05-rc0 2020-02-27 12:02:19 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS doc: remove empty columns from NIC features matrix 2020-04-16 23:55:49 +02:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
meson.build eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.05-rc0 2020-02-27 12:02:19 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org