usertools/devbind: fix kernel module reporting
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 24 Jan 2018 10:26:12 +0000 (10:26 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Feb 2018 01:18:45 +0000 (02:18 +0100)
commitc76a10ec1531b3e5d182b8e9bbd27c48365f91aa
treeb2f44c0a6d211a9df341e23221172f73b48c0d59
parent02e157e4a84e437bc4bfd542bab7f51772493fe7
usertools/devbind: fix kernel module reporting

lspci reports kernel modules in "Module" string, but devbind
expects it to be "Module_str". Fix it up similar to how we fix
up "Driver" to be "Driver_str".

Fixes: c3ce205d5729 ("usertools: optimize lspci invocation")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
usertools/dpdk-devbind.py