Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1851253imm; Mon, 3 Sep 2018 11:05:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYGlTCywZL5wL5wIZNWF6DQnrtgOUICOdWKyLQfY5ASFLInnAITqO9CJ2bota9Bxj8KgBeQ X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr29313972plk.272.1535997924465; Mon, 03 Sep 2018 11:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535997924; cv=none; d=google.com; s=arc-20160816; b=XmamaNzYt58yHPsU+Ua2dJ23cDoO6ZQg2h9rcO2bacr8/YM9ulbPUaCxgt+FJQ9nyr Yj5tlU25J/7T+wF1ZjMWbez3psHW+YMWqSXwNTf/5p+wA5znpWyjx5iV5Eufyqf25XC/ tHaLPmRPOYtoIakdzIaPLScDzRCLVQb8oglobCBGo9QmCBHuQdj/1fY7fzoUsszIk56E bVcklGjd4UMdXDWMM/5qf8cvf3cAUXHzWU/KjPBPpnpCDilG46wQdrkjZK33lSfunR2J W3H0fkeJbF+pg4Da0E4zUbALOed4ejJeCrGZ9UnkHCWpdITfqQGat7VlQt2DMwDpPY/V 4w0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=qKYr8O6ZndeZ8QF5YqTgpTdYV2iOFBHSVMs0kcFJX4Q=; b=i2xuBjX3kkQDn7m1ybDYzKI+tLsOy3skTfc53ffZEGXq94rOnAwmLNe2SjT6GDJac2 oL1gDGs/9e4ZJh3miNcyME1V35Hjottsun2VeSivHQRuPoIcqOOcNkw5v3IGcC0cAapq KI0BgMoiQ0AEU0aE/FgGr9q5O+aPEAE/ogX5sl8afnz84ZNmvMZdHtGIhqpcXsFB2Nmo LyLnA5kgjDKKwpnyfWXrb3bxU07aVk8iaBPtn1LobdJ0+qnAK+DUB6H5e/1AcLZ8I14R Q58R1wUOYHprSfMuiRBZvY8w0rOa1hkeeebSsrr+I3pVzMo8NVJLEDygOe3L+H9+qBdD x33Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="X/DJrNib"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si19736391plu.65.2018.09.03.11.05.09; Mon, 03 Sep 2018 11:05:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="X/DJrNib"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbeICWY4 (ORCPT + 99 others); Mon, 3 Sep 2018 18:24:56 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:37550 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727271AbeICWYz (ORCPT ); Mon, 3 Sep 2018 18:24:55 -0400 Received: by mail-oi0-f65.google.com with SMTP id p84-v6so2270778oic.4; Mon, 03 Sep 2018 11:03:37 -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=qKYr8O6ZndeZ8QF5YqTgpTdYV2iOFBHSVMs0kcFJX4Q=; b=X/DJrNibMaD21hNKQRI0BjHbRpTp+iqtUQU9KfIwiS8SZnIVR6f47MAGB+++L1zdSa hmWdAjuKw1sywjnpwyWxD1EItrG1pHt2HZvlAipM0j6sAyOlR+J8uMr9FG5rr3y7oZf7 R3wufW9D+MVLj/VG0S5mFqJfBO6C/S+zRgoC8WmoFN3cFmpxY5AsWreTwBvCeRRFgew7 SHMjZBnSL07ouz8KBj7of92wZGtnvd0qZpAPUELVBmAbpjj6hKd6xu7Ac7+NUhr0N8fV gefEnsPWMtvAXZg7AT+QK6SebfNVbEwDPUyt4eu9UOV/+Jzeb13juDMZ2zZXLhHI9uJD 6QOg== 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=qKYr8O6ZndeZ8QF5YqTgpTdYV2iOFBHSVMs0kcFJX4Q=; b=Dn24FpTvW2oXM8cRuTLQ2+dKNReW4b+u1UFudEc+ehtQ+UWXKAnTpUhv8m6UnUbKzi Xeh9pcn7CNN6A7NU1YXW2wn7Ygr3K5JNiqXx8C8dma2UaI9OYhl2W3GaGDFj/2kCrhLb 8oa4KM0OH4C5LdNgA7V40zt5SSgG5akWc3APtRrA2djwHRis2IyYAQHUnCmvhGg2TZDJ yR6gdmJr+ySQaMzq8/PfuCHBbhv0+s57E9dvDP2SBycfIPoWfF66o2JSlVDTctwQW8Xw LG3TCyWkvELx0gljH/ygUGFEqLjW87ITPc+3wV0eI5QgBKFHuErUG9VwhmfM9fXiGK89 UCcw== X-Gm-Message-State: APzg51ASEwn0WyM0Im3qfAOFD+GQoxZ4sf2RxeS4CFsNkpQuwWDIDFRy Wj+ModiC4eWC6EUE5pEEXonq71t0Z28= X-Received: by 2002:aca:5cd4:: with SMTP id q203-v6mr19325196oib.217.1535997817362; Mon, 03 Sep 2018 11:03:37 -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 q124-v6sm15785737oif.8.2018.09.03.11.03.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 11:03:36 -0700 (PDT) From: Alexandru Gagniuc To: linux-pci@vger.kernel.org, bhelgaas@google.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 , Jakub Kicinski , 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 7/9] net/mlx4: Do not call pcie_print_link_status() Date: Mon, 3 Sep 2018 13:02:34 -0500 Message-Id: <20180903180242.14504-8-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180903180242.14504-1-mr.nuke.me@gmail.com> References: <20180903180242.14504-1-mr.nuke.me@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is now done by the PCI core to warn of sub-optimal bandwidth. Signed-off-by: Alexandru Gagniuc --- drivers/net/ethernet/mellanox/mlx4/main.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c index d2d59444f562..9902fa3a2c13 100644 --- a/drivers/net/ethernet/mellanox/mlx4/main.c +++ b/drivers/net/ethernet/mellanox/mlx4/main.c @@ -3525,13 +3525,6 @@ static int mlx4_load_one(struct pci_dev *pdev, int pci_dev_data, } } - /* check if the device is functioning at its maximum possible speed. - * No return code for this call, just warn the user in case of PCI - * express device capabilities are under-satisfied by the bus. - */ - if (!mlx4_is_slave(dev)) - pcie_print_link_status(dev->persist->pdev); - /* In master functions, the communication channel must be initialized * after obtaining its address from fw */ if (mlx4_is_master(dev)) { -- 2.17.1