[dpdk-dev] [PATCH v2] tools: fix active interface detection in dpdk-devbind.py

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jan 30 17:34:06 CET 2017


2017-01-10 17:14, Yoni Gilad:
> 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: cb4a1d14bf3e ("tools: bind crypto devices")
> 
> CC: stable at dpdk.org
> 
> Signed-off-by: Yoni Gilad <yonig at radcom.com>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Applied, thanks


More information about the dev mailing list