aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-03-02 16:15:51 +0100
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-03-03 14:43:36 +0100
commit0c3ed7dcda2b9a08702cd5e30d8e48f412ad62fd (patch)
treedc06f6a9d25a767536c9c5e281ccd11aa3143f1c /tools
parentd4326699b9ff4788aed0c889a5c26a840e75a352 (diff)
Imported Upstream version 16.11.1
Change-Id: Ib15a339c8050bb0594ce8333133e923771d2fc57 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/dpdk-devbind.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dpdk-devbind.py b/tools/dpdk-devbind.py
index f1d374d6..fef59c41 100755
--- a/tools/dpdk-devbind.py
+++ b/tools/dpdk-devbind.py
@@ -328,6 +328,9 @@ def get_crypto_details():
# based on the basic info, get extended text details
for d in devices.keys():
+ if devices[d]["Class"][0:2] != CRYPTO_BASE_CLASS:
+ continue
+
# get additional info and add it to existing data
devices[d] = devices[d].copy()
devices[d].update(get_pci_device_details(d).items())