[dpdk-dev] [PATCH] igb_uio: prevent reset for a list of devices

Thomas Monjalon thomas at monjalon.net
Sat Nov 4 00:03:32 CET 2017


03/11/2017 23:38, Ferruh Yigit:
> Some devices are having problem on device reset that happens during DPDK
> application exit [1].
> 
> Create a static list of devices and exclude them from device reset.
[...]
> This is alternative approach to
> http://dpdk.org/dev/patchwork/patch/31144/

It is better to change the behaviour only for the misbehaving device,
as it is done with this alternative.

However as far as I understand, the change is removing a long delay due
to the reset, but re-enable a security hole due to the lack of reset.
So I think we must have a compilation option anyway, in order to let
the packager (or distribution) make this difficult decision.
The compilation option could be something like
	RTE_BNX2X_PREFER_SECURITY_HOLE_THAN_LONG_RESTART
Feel free to find a better name :)



More information about the dev mailing list