igb_uio: prevent reset for bnx2x devices
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 6 Nov 2017 18:48:15 +0000 (18:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Nov 2017 23:58:11 +0000 (00:58 +0100)
commite3a64deae2d58307c8f7bea15e6661f5150853d5
tree0b3f9c087aceea19df7584b6586a1be0924d15b7
parentc52dd39411299ce83c5d8227b676b1229a9e9e11
igb_uio: prevent reset for bnx2x devices

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.

[1]
http://dpdk.org/ml/archives/dev/2017-November/080927.html

Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/igb_uio/compat.h
lib/librte_eal/linuxapp/igb_uio/igb_uio.c