From patchwork Mon Aug 6 23:25:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alex G." X-Patchwork-Id: 10558113 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 05B9B157B for ; Mon, 6 Aug 2018 23:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8714293CC for ; Mon, 6 Aug 2018 23:26:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCA9B29530; Mon, 6 Aug 2018 23:26:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96123293CC for ; Mon, 6 Aug 2018 23:26:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388099AbeHGBiM (ORCPT ); Mon, 6 Aug 2018 21:38:12 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43531 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387557AbeHGBiM (ORCPT ); Mon, 6 Aug 2018 21:38:12 -0400 Received: by mail-oi0-f66.google.com with SMTP id b15-v6so25246120oib.10; Mon, 06 Aug 2018 16:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6ffzopQXccTuXo2gTw9Fy1V9dviCucvVy+ObNtSf4IU=; b=iKmZIRGfXgDKB9oSLC7FEPEbdY/XzOBNWfksKcwspfJ5G7Rj0ZPEA24fwh7F08JdTw by4uoy2qnaqKaFsREEH4xw1aTdL4NRfNmjo3iA7nFqPjJoW441mfZu6d8ULQYeBNuOAl gt6dox8ESElqOEVmJGiw99dBhML/EdXhDoDKNVfXfxcV2TgCdqtmnhIpsT91jFKWJMeF m2ENA73PjomI14CCBJOULlPqd/BksSSbZ/1xLVua9M+VIrDFkJ5JTW0WCK6KIKIeDfXT QlUk8GbpW0SkEZLL+CqdC45lN5lTFMZKuVfNN697pbE8aSPYhvs0b5wNSvYQfVv3Y0p0 yzpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6ffzopQXccTuXo2gTw9Fy1V9dviCucvVy+ObNtSf4IU=; b=OI6oFEQNKIoukT4EHQU5f9OKsZxEqLHCxzvQ2NtCJs3TYh/Tujkbvc3V90Lu5gc9+E 3a/3VAXLzqYXcfIBAiHsheSsFGS0aRDh/Dfa0DIU6vro2s5fNzLtOxA5MlfZUAB7yufG w2QmA+N2PncL1OrP2EO77TGMZJ/Eg492k7d5rtLQwx1+O+JlXxvwBreEUsWPgBREHF53 0bKjjlu1jyQakxWmK+BkSUJsTKytcSDZXkiC+Jc0+dVqvjFUqMmNkFl0s1BeOfr2Gz7H oSOFbqlfaSV0Qx1eCVS/K+qIdrkOmDnyjWmGUAMxwOJzGUqJ8cvo9MtbiXWzRdph/2zK QBsg== X-Gm-Message-State: AOUpUlG2UJXfRxKuwzHKG45RoJpkDBqIl9YkbSEyyZwlNmYZ4m9lRmjE 7PF1vISzwiEhMEtyINcpfkTroxPsfAk= X-Google-Smtp-Source: AA+uWPyoIcpOy7uJom0I5L4MC7SyIt5AiuJTfORTCTbNw+SVMpFR6Ewwb3eRMyGLDbNmJ1wbBOxeJQ== X-Received: by 2002:aca:cf87:: with SMTP id f129-v6mr17472388oig.258.1533598007425; Mon, 06 Aug 2018 16:26:47 -0700 (PDT) Received: from nuclearis2-1.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id w13-v6sm10613328oiw.51.2018.08.06.16.26.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Aug 2018 16:26:47 -0700 (PDT) From: Alexandru Gagniuc To: linux-pci@vger.kernel.org, bhelgaas@google.com, jakub.kicinski@netronome.com Cc: keith.busch@intel.com, alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, Alexandru Gagniuc , Ariel Elior , everest-linux-l2@cavium.com, "David S. Miller" , Michael Chan , Ganesh Goudar , Jeff Kirsher , Tariq Toukan , Saeed Mahameed , Leon Romanovsky , Dirk van der Merwe , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-rdma@vger.kernel.org, oss-drivers@netronome.com Subject: [PATCH v6 5/9] fm10k: Do not call pcie_print_link_status() Date: Mon, 6 Aug 2018 18:25:39 -0500 Message-Id: <20180806232600.25694-5-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180806232600.25694-1-mr.nuke.me@gmail.com> References: <20180806232600.25694-1-mr.nuke.me@gmail.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is now done by the PCI core to warn of sub-optimal bandwidth. Signed-off-by: Alexandru Gagniuc Acked-by: Jeff Kirsher --- drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c index 15071e4adb98..079fd3c884ea 100644 --- a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c +++ b/drivers/net/ethernet/intel/fm10k/fm10k_pci.c @@ -2224,9 +2224,6 @@ static int fm10k_probe(struct pci_dev *pdev, const struct pci_device_id *ent) /* kick off service timer now, even when interface is down */ mod_timer(&interface->service_timer, (HZ * 2) + jiffies); - /* print warning for non-optimal configurations */ - pcie_print_link_status(interface->pdev); - /* report MAC address for logging */ dev_info(&pdev->dev, "%pM\n", netdev->dev_addr);