igb_uio: remove device reset in open
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: b58eedfc7d
("igb_uio: issue FLR during open and release of device file")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Harish Patil <harish.patil@cavium.com>
Tested-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
Tested-by: Jingjing Wu <jingjing.wu@intel.com>
This commit is contained in:
parent
cbdd342060
commit
f73b38e924
@ -336,8 +336,6 @@ igbuio_pci_open(struct uio_info *info, struct inode *inode)
|
|||||||
struct pci_dev *dev = udev->pdev;
|
struct pci_dev *dev = udev->pdev;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
pci_reset_function(dev);
|
|
||||||
|
|
||||||
/* set bus master, which was cleared by the reset function */
|
/* set bus master, which was cleared by the reset function */
|
||||||
pci_set_master(dev);
|
pci_set_master(dev);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user