usertools: refactor binding status
authorGuduri Prathyusha <gprathyusha@caviumnetworks.com>
Wed, 22 Mar 2017 14:11:27 +0000 (19:41 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 25 Apr 2017 09:33:09 +0000 (11:33 +0200)
commitc7dd412bef51891faec4060d5b7570bbea669b5f
tree7ac6af45454a8ff02d6e806f0f9ab5d56e4ef231
parentea9f00f7289a3bef975442165d410ddf299626a3
usertools: refactor binding status

Identified and parameterized the common code in show_status() function as
show_device_status().This will enable to avoid code duplication when
additional devices added to the script.

Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
usertools/dpdk-devbind.py