Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1851321imm; Mon, 3 Sep 2018 11:05:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZytwYBDojHYoZD4+3VZmymd+mtmuwIpuoF64kMCGBtt2lu4avUV2Ua5FCTaYFs8mLn/ip2 X-Received: by 2002:a63:5055:: with SMTP id q21-v6mr27337135pgl.397.1535997928559; Mon, 03 Sep 2018 11:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535997928; cv=none; d=google.com; s=arc-20160816; b=gmOnDnlq9ZO0b9Q22yymE2ks3AMwdKtfAnfLVkU4upzhsewpy+t+BYLXDbdHbc/pdH GQCujBQKx7YSGo+NuwsTFOOY64+eWmC+AJ2ENeP+IH+UEXOBKa7tv71Sa2tDPUIshPGY iFKOburW36rWp2tVbrY/JMqe56ydMcdJT3pTtOIyOhWqd3RjCwKUdgTYKXPRK8WahBzd pAVVRdKdbIbiL33y0YMjUjDSp5BGJvhS5gmxwMUiPyus6ZOr6dA5avzi6LlBvXfTBwHZ Mj/o/P4Q6QtK1kORoCc5Q6oFWCBwM+d5DWxLEfoglTTCYkafJBzQgkC3UHlTkRwEKCon yNuw== 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=zriiPzad5Qk4dHUu080egLe114u9/QRfPO9Vvq1gkMQ=; b=cLzx+rGlPJMq7T0zuTsIB0Hp4ODLze4glkxIB1WPu4hMYOfHaPo9VgQ0b/YIcarxcT 0rU5mc2Uohj4HnG27fdIDOSMFmqTEa/LsImYS4ibhpj2Fefs1w85+4/XUxKeH3UapHlE aG3/6zDUrat9qIWJldl5vl7S8C8kdqgeZF7lqIeVGv7aLQuCpHyrgRXVSKD5zekUjMh1 nWAzjr/h2FZWzHXewFZxxfsafGzUaTalhDHzBRbtVxEKBQhrkj5BVhWHHUXn/pHjFm1H k0aztcSrYSod+aIMGuS/gqyEhowwgFRF6SXEjfLmlC0GMBoLuk+cCRavSqxSu9pPreu0 agFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n+XVCXoH; 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 u9-v6si18486195pgj.430.2018.09.03.11.05.13; Mon, 03 Sep 2018 11:05:28 -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=n+XVCXoH; 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 S1728366AbeICWZB (ORCPT + 99 others); Mon, 3 Sep 2018 18:25:01 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:41612 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727271AbeICWZA (ORCPT ); Mon, 3 Sep 2018 18:25:00 -0400 Received: by mail-oi0-f66.google.com with SMTP id k12-v6so2241489oiw.8; Mon, 03 Sep 2018 11:03:43 -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=zriiPzad5Qk4dHUu080egLe114u9/QRfPO9Vvq1gkMQ=; b=n+XVCXoHalOwH/vVji/0SgOKJtge/iQxScQxhJnsTmur5W8at4kkgD0VAtkDcHH/1V EvwgCJlSz9QMmr9NQ9YczVQQYXYwN3AjWYUVoVqsNL2ykeDW9WdR9S9oL4+GLEu9P9G5 BafmRluYoVG+7BI2iyRU5FqWO9ne3c79+DRtfrikg/zbY4pirnoo8l8FJ8KfbHIryIkB wfADYm5TbzQCbpdQFXObHWPPqkA/W/p6Jhcpxmd6WA0vsTetNF5D0InG2pzcmiY9Cmtb tt654w484Ff3njhjifzDABbCX66fkn29Tid/ZAM1edebHwfe9hKIk4txnOXsuNrdFJXL Mqew== 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=zriiPzad5Qk4dHUu080egLe114u9/QRfPO9Vvq1gkMQ=; b=ffQuHX7z799CLCGJCoJHBkeqYmkZpjiQpH6yHL0PfUkKRHNCx0A3bIZvGCaLLC+izs FjzM1hPvX6Qg3vNLtvCdZf0iBxj588l8oBumKP8On6j95hgzfjwWRIwKZ/2nMjT/xX8a x44ST53cDG6mOm/Tf6bgyrK4zgtQFp4kD5+HHlFFxtt7sjc1vwULpVrtEX5gRqytUJEw QLo0hgLjDnCgUQpBn3hXzQ83rCbJj2jTqH51wozvE3qZD3zxHBX28uYI09LvzwBwynM9 yLkyYAMdGqEg4y1ISh/adMe3AC1Bo0XXNNuZL6T7IuJ4GlJkEV8yQTxXx2Kkp+AlNDIf RurA== X-Gm-Message-State: APzg51BOkdVep24uGtbR2EP4c8DWw1icQcKgvVQl+QNN1RJI85df9TxV sVWja5PxBXptCdhYJ7c6aSDPt2IG/3g= X-Received: by 2002:aca:3254:: with SMTP id y81-v6mr19459950oiy.317.1535997822925; Mon, 03 Sep 2018 11:03:42 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 11:03:42 -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 8/9] net/mlx5: Do not call pcie_print_link_status() Date: Mon, 3 Sep 2018 13:02:35 -0500 Message-Id: <20180903180242.14504-9-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/mlx5/core/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index cf3e4a659052..888af98694f8 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c @@ -1056,10 +1056,6 @@ static int mlx5_load_one(struct mlx5_core_dev *dev, struct mlx5_priv *priv, dev_info(&pdev->dev, "firmware version: %d.%d.%d\n", fw_rev_maj(dev), fw_rev_min(dev), fw_rev_sub(dev)); - /* Only PFs hold the relevant PCIe information for this query */ - if (mlx5_core_is_pf(dev)) - pcie_print_link_status(dev->pdev); - /* on load removing any previous indication of internal error, device is * up */ -- 2.17.1