From patchwork Sun Oct 11 10:22:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 270141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE83CC433E7 for ; Sun, 11 Oct 2020 10:23:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70BC0207F7 for ; Sun, 11 Oct 2020 10:23:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="E5GBwVWm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbgJKKXV (ORCPT ); Sun, 11 Oct 2020 06:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727035AbgJKKXU (ORCPT ); Sun, 11 Oct 2020 06:23:20 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D00EC0613CE for ; Sun, 11 Oct 2020 03:23:20 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id n9so11230680pgf.9 for ; Sun, 11 Oct 2020 03:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=x8ld91kNjU5AZa5kDhcv08MSfn2BwL0K/wJsDwnlBog=; b=E5GBwVWmu+01Y82oxGqZ9OHrNM78BnZJ6EUqu9bcCjQf7cMAtBxk0u2Vs0dc3u54sb 6i6wk59S9AzaUwHcNyN4rrWj4OTebjBOK7ReXXoN8tm92BZDXyjq6dEsyf/xqfyxlrW6 m2kSWpiQvbpRYHuCNLXRoSPLxdfwHQYTnOPQo= 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; bh=x8ld91kNjU5AZa5kDhcv08MSfn2BwL0K/wJsDwnlBog=; b=N2IEkRa/MpkiuvHCHp+0yJGDyc5+P5OtGQwLmfnSmyX0E24fZzQ/ZdR0/85uwlDWxx AUg3gjKd75wz/UswM9MqjsyZJakRfyEQvskqpTJAqlWCFCXY//bk4nX7/UcL3R157bFN /4+duHwHtqQpTO8eKeTyde/qoMpBaFRdTmX5TUav0OnhEw4hiRF+YeGAcz7q1BKkVtLL tme0sy5ZQbtYa6m5HXc9cSQCXBLRRQ7zloe7cCZM5Qfa8SY28bzsjw/9xf06b3FGABv9 Hp0InAWyX3FHPOykODjqkv75GCnkl1KXR/LU+TuRT7PNH2C4+U3ZgosQgmE0BTXgRcPC EIng== X-Gm-Message-State: AOAM533QeDnvNDzPgE/mVv0GZXws+0anXjyZqod/QGB2hQnBh2XPKulT QL+3fksBtigbfgNq79IYP9wR5g== X-Google-Smtp-Source: ABdhPJwPggQZ+gyct86BtwaXUhgxZiFcEf2bbdMU44kicMWQvGxuzmHl/IEGcMHfNTz2Rv/VGE+wzQ== X-Received: by 2002:a62:5f02:0:b029:13c:1611:6536 with SMTP id t2-20020a625f020000b029013c16116536mr18729135pfb.8.1602411799265; Sun, 11 Oct 2020 03:23:19 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id i1sm20155057pjh.52.2020.10.11.03.23.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Oct 2020 03:23:18 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net-next 0/9] bnxt_en: Updates for net-next. Date: Sun, 11 Oct 2020 06:22:52 -0400 Message-Id: <1602411781-6012-1-git-send-email-michael.chan@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series contains these main changes: 1. Change of default message level to enable more logging. 2. Some cleanups related to processing async events from firmware. 3. Allow online ethtool selftest on multi-function PFs. 4. Return stored firmware version information to devlink. Michael Chan (4): bnxt_en: Set driver default message level. bnxt_en: Simplify bnxt_async_event_process(). bnxt_en: Log event_data1 and event_data2 when handling RESET_NOTIFY event. bnxt_en: Log unknown link speed appropriately. Vasundhara Volam (5): bnxt_en: Return -EROFS to user space, if NVM writes are not permitted. bnxt_en: Enable online self tests for multi-host/NPAR mode. bnxt_en: Add bnxt_hwrm_nvm_get_dev_info() to query NVM info. bnxt_en: Refactor bnxt_dl_info_get(). bnxt_en: Add stored FW version info to devlink info_get cb. drivers/net/ethernet/broadcom/bnxt/bnxt.c | 37 +++-- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 153 ++++++++++++------ .../net/ethernet/broadcom/bnxt/bnxt_devlink.h | 6 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 24 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 2 + 6 files changed, 162 insertions(+), 61 deletions(-)