From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 9B43B237 for ; Tue, 21 Nov 2017 14:27:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4FC8C20696; Tue, 21 Nov 2017 08:27:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:27:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kyhXYDa91Z6X4Wozl pqRYA4U8ulojbLZ7kNDMfFThOk=; b=o3WhjyOmgdkbeRd609XrUYAKScDHbLFPj OpsLNZ6uze9WBCXhOmV26B3Mcj0VoOc0vk+TNc1BBUpRzH42k1gQ5dTQAGsVcmKl AHSrI4mzscY+Qhi4eqtJ8kSKNNpe2aRaDA0p9NFIkuu+M4WpXOA7BLHWDRaJ7EGD 1WrIHpsi/ug7hc1Y5Bq9l6N+R73cTfRsqE5Df+paaoSLRqix1mgGqXhKik48Rtdv wHR4C2Nx7kgoTZWa+2APmIIjYKG5i+L4D6FOEc8Af4MU2o7Rc/caWajAbhLV8aJK TsXkkvjvBBDTcPOArTugYCqSDhZ3ssKDa7kC9dcLUDECUDWIF1UQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=kyhXYDa91Z6X4WozlpqRYA4U8ulojbLZ7kNDMfFThOk=; b=oonM5qYq s5K6jkn5CJir+sQ9xqn+lfbrSQzFgNFqlobq03I8McyneACZTIu/VUQ+AdKt6Hyo S2siX69eiYEoAmxaavnEE7kQ7UJm2L2aGOvKtZrSME1VUXyMtlCoJwlMn8FPio+R mGY4MwPMfs/gsxXTl3v4cdZnWtfGkkEoyDlDCHjzraKNUVir5pJJBbvqlN54IxK7 KOjd0dnPsomGWCYgbSqSAhAC92WmXDs9P1xn8Yx/Xi9nMw3nIrQj0oVhk8194alp t9Xb+Bsmc+myRElS8j3maW37ZkfxHnUNYE5+4FX0Z2zwaZViPTeO6FLX5GW+Vzof hKTZuYawHgHyPA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 0F5BD247A9; Tue, 21 Nov 2017 08:27:18 -0500 (EST) From: Yuanhan Liu To: Ferruh Yigit Cc: Harish Patil , Shijith Thotton , Jingjing Wu , dpdk stable Date: Tue, 21 Nov 2017 21:17:48 +0800 Message-Id: <1511270333-31002-126-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'igb_uio: remove device reset in open' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:27:22 -0000 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 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 Tested-by: Harish Patil Tested-by: Shijith Thotton Tested-by: Jingjing Wu --- 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