aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2018-01-11 17:23:00 +0800
committerJohn Crispin <john@phrozen.org>2018-02-13 10:01:49 +0100
commit3a0fa1e7b860c600256f102d07356964821e7d7e (patch)
tree9700f4a5ff50935a64a7372787041ecca9626733 /package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch
parent5f36f3193f793d9963d01da6796dcbb8d10edc99 (diff)
downloadupstream-3a0fa1e7b860c600256f102d07356964821e7d7e.tar.gz
upstream-3a0fa1e7b860c600256f102d07356964821e7d7e.tar.bz2
upstream-3a0fa1e7b860c600256f102d07356964821e7d7e.zip
layerscape: update restool to 2017-12-03
Updated restool to 2017-12-03 and removed patches since the new version had involved them. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch')
-rw-r--r--package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch b/package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch
deleted file mode 100644
index 3acb3b5d83..0000000000
--- a/package/network/utils/layerscape/restool/patches/0012-scripts-replace-nproc-with-cross-platform-implementa.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 0e5f9f0a7f0ef1947984cd82ade9dbc14ba2c80d Mon Sep 17 00:00:00 2001
-From: Ioana Ciornei <ioana.ciornei@nxp.com>
-Date: Wed, 25 Oct 2017 12:48:04 +0000
-Subject: [PATCH 12/12] scripts: replace 'nproc' with cross-platform
- implementation
-
-Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
----
- scripts/ls-main | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scripts/ls-main b/scripts/ls-main
-index 526c052..7d127f6 100755
---- a/scripts/ls-main
-+++ b/scripts/ls-main
-@@ -807,7 +807,7 @@ process_addni() {
- # if no --num-queues is specified then set it to number of cores
- num_queues_present=$(echo "$dpni_args" | grep -o "\-\-num-queues" || true)
- if [[ -z "$num_queues_present" ]]; then
-- dpni_args=$dpni_args" --num-queues="$(nproc)
-+ dpni_args=$dpni_args" --num-queues="$(grep -c ^processor /proc/cpuinfo)
- fi
-
- # Check if --no-link the endpoint have been provided otherwise display the usage
---
-2.14.1
-