Remove device reset during application start, the reset for application
exit still there.
Reset in open removed because of following comments:
1- Device reset not completed when VF driver loaded, which cause VF PMD
initialization error.
Adding delay can solve the issue but will increase driver load time.
2- Reset will be issues all devices unconditionally, not very efficient
way.
Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device
file")
Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]>
---
Cc: Jianfeng Tan <[email protected]>
Cc: Jingjing Wu <[email protected]>
Cc: Shijith Thotton <[email protected]>
Cc: Gregory Etelson <[email protected]>
Cc: Harish Patil <[email protected]>
Cc: George Prekas <[email protected]>
Cc: Sergio Gonzalez Monroy <[email protected]>
---
lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
index f7ef82554..fd320d87d 100644
--- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
+++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
@@ -336,8 +336,6 @@ igbuio_pci_open(struct uio_info *info, struct inode *inode)
struct pci_dev *dev = udev->pdev;
int err;
- pci_reset_function(dev);
-
/* set bus master, which was cleared by the reset function */
pci_set_master(dev);
--
2.13.6