[dpdk-stable] patch 'igb_uio: remove device reset in open' has been queued to stable release 17.08.1
Yuanhan Liu
yliu at fridaylinux.org
Tue Nov 21 14:17:48 CET 2017
Hi,
FYI, your patch has been queued to stable release 17.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/24/17. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From 2b61a9f0ab54a9699834ba8c174ea5199e4de815 Mon Sep 17 00:00:00 2001
From: Ferruh Yigit <ferruh.yigit at intel.com>
Date: Fri, 20 Oct 2017 17:55:11 +0100
Subject: [PATCH] igb_uio: remove device reset in open
[ upstream commit f73b38e9245d77d4d6b5861f8d203c0bf5120b15 ]
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")
Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
Tested-by: Harish Patil <harish.patil at cavium.com>
Tested-by: Shijith Thotton <shijith.thotton at caviumnetworks.com>
Tested-by: Jingjing Wu <jingjing.wu at intel.com>
---
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 07a19a3..db5280b 100644
--- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
+++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
@@ -179,8 +179,6 @@ igbuio_pci_open(struct uio_info *info, struct inode *inode)
struct rte_uio_pci_dev *udev = info->priv;
struct pci_dev *dev = udev->pdev;
- pci_reset_function(dev);
-
/* set bus master, which was cleared by the reset function */
pci_set_master(dev);
--
2.7.4
More information about the stable
mailing list