numam-dpdk/usertools
Yoni Gilad 617d90527f usertools: fix active interface detection when binding
When adding crypto devices, the "Active" and "Ssh_if" attributes of
existing network devices were reset. This causes the following issues:

- Network interfaces aren't marked as "*Active*" in the --status output.
- Active network interfaces can be unbound without the --force option,
  causing loss of network connection.

The reset was caused by the call to devices[d].update in
get_crypto_details.

This patch prevents the update on non-crypto devices.

Fixes: cb4a1d14bf ("tools: bind crypto devices")
Cc: stable@dpdk.org

Signed-off-by: Yoni Gilad <yonig@radcom.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-01-30 17:30:21 +01:00
..
cpu_layout.py tools: move to usertools 2017-01-04 21:17:32 +01:00
dpdk-devbind.py usertools: fix active interface detection when binding 2017-01-30 17:30:21 +01:00
dpdk-pmdinfo.py tools: move to usertools 2017-01-04 21:17:32 +01:00
dpdk-setup.sh tools: move to usertools 2017-01-04 21:17:32 +01:00