f5030c82d2
- Add _constraints file to force build dpdk with sse3 enabled x86 machine. - Enable compilation for ppc64le with the help of Rüdiger(ro@suse.de). - Enable example package for aarch64 using Rüdiger(ro@suse.de) changes. - Do not enable PMD_RING on ppc64le (missing rte_eth_from_rings). - Disable examples that need LPM which is disabled on non-x86. [+0036-examples-fix-build-dependencies.patch, +0037-examples-ethtool-fix-build.patch] OBS-URL: https://build.opensuse.org/request/show/417972 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=13
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From 71e6e8c51906102ba1f7da0a75f29f9c26b651f0 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Monjalon <thomas.monjalon@6wind.com>
|
|
Date: Fri, 5 Feb 2016 15:38:02 +0100
|
|
Subject: [PATCH] examples/ethtool: fix build
|
|
|
|
When building for ARM, the spinlock structure was not found.
|
|
It appears to be a mismatch with rwlock which is not used in this file.
|
|
|
|
Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application")
|
|
|
|
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
|
|
Acked-by: Remy Horton <remy.horton@intel.com>
|
|
---
|
|
examples/ethtool/ethtool-app/main.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/examples/ethtool/ethtool-app/main.c b/examples/ethtool/ethtool-app/main.c
|
|
index e21abcd..2c655d8 100644
|
|
--- a/examples/ethtool/ethtool-app/main.c
|
|
+++ b/examples/ethtool/ethtool-app/main.c
|
|
@@ -36,7 +36,7 @@
|
|
#include <stdlib.h>
|
|
|
|
#include <rte_common.h>
|
|
-#include <rte_rwlock.h>
|
|
+#include <rte_spinlock.h>
|
|
#include <rte_eal.h>
|
|
#include <rte_ethdev.h>
|
|
#include <rte_ether.h>
|
|
--
|
|
2.6.6
|
|
|