From patchwork Sun Apr 25 17:45:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 427767 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=-12.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, USER_AGENT_GIT autolearn=ham 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 0AD91C433ED for ; Sun, 25 Apr 2021 17:45:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEA8C6102A for ; Sun, 25 Apr 2021 17:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbhDYRq1 (ORCPT ); Sun, 25 Apr 2021 13:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbhDYRqZ (ORCPT ); Sun, 25 Apr 2021 13:46:25 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB8A2C061574 for ; Sun, 25 Apr 2021 10:45:45 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id y62so4801447pfg.4 for ; Sun, 25 Apr 2021 10:45:45 -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=7kpG8Vv8kZb7c+I+HUYKUml9kQJmu2+sMV602obY5Qc=; b=WrMhUogUWmyFIjcz00DMmqFTn0mBE2LmVJhe7oNncbY8vLHUUPiAZe4tRMxkpAmn/A LcwSLrOMj+FUmDHQMJgS0Er16IYb4nO24q5QstWp/zKglWwTC3UAJQIi90sOvDH5im8L Q+vYEqac0+x0a9yxNlpJNr8kf9Mi0c3utSfAU= 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=7kpG8Vv8kZb7c+I+HUYKUml9kQJmu2+sMV602obY5Qc=; b=hGsVpPVIjTS6SMtY+jkaN5DIziN2DD9SkIz2YYgEYz9xOt2GL12IwV4vdQsy/VcET7 KqsdFGz7fxXtc2Lm4WWHD5HD5+qVknJMjOSenhXpwb43ASoZjvpTgNKyuL+EAI44rWsP FoE3OWl+LOIWCaIN107P7u3K0C1b54j4/Q5HnQLbrEMDj0nWFY0CJ+aNdajC1L5AmR/d Iab3AaxpgyjgqfuSgYtRcoFgziz3XkrIpt3JPys0S2h7IelzWbhrTB3jAGibRTYcpBz0 e/iAKwjf9NQz8eg/4VVnxSTZT1vWusurb+2DEoDQVZqpEvBEvj9h360v8h5ZZ75QkGhi PtXg== X-Gm-Message-State: AOAM5337pXDdihnUuOZn2Rs8Jt0kCwABIMj5MZkg3S6GIaMabUrYJNCY YE641Ig57GE9jX2R2eDV8wgSXqYyKRwNDPu5 X-Google-Smtp-Source: ABdhPJxrxgCq1WazFlgxGTflXgcULL7iMR4sHc+/LNHGFpbwd02O8rGC+bWMaX1dM2XLXNgWtT+WaQ== X-Received: by 2002:a63:f451:: with SMTP id p17mr13225211pgk.150.1619372744923; Sun, 25 Apr 2021 10:45:44 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id t19sm14733553pjs.1.2021.04.25.10.45.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Apr 2021 10:45:44 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net-next v2 00/10] bnxt_en: Updates for net-next. Date: Sun, 25 Apr 2021 13:45:17 -0400 Message-Id: <1619372727-19187-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 includes these main enhancements: 1. Link related changes - add NRZ/PAM4 link signal mode to the link up message if known - rely on firmware to bring down the link during ifdown 2. SRIOV related changes - allow VF promiscuous mode if the VF is trusted - allow ndo operations to configure VF when the PF is ifdown - fix the scenario of the VF taking back control of it's MAC address - add Hyper-V VF device IDs 3. Support the option to transmit without FCS/CRC. 4. Implement .ndo_features_check() to disable offload when the UDP encap. packets are not supported. v2: Patch10: Reverse the check for supported UDP ports to be more straight forward. Edwin Peer (3): bnxt_en: report signal mode in link up messages bnxt_en: allow promiscuous mode for trusted VFs bnxt_en: allow VF config ops when PF is closed Michael Chan (7): bnxt_en: Add a new phy_flags field to the main driver structure. bnxt_en: Add support for fw managed link down feature. bnxt_en: Move bnxt_approve_mac(). bnxt_en: Call bnxt_approve_mac() after the PF gives up control of the VF MAC. bnxt_en: Add PCI IDs for Hyper-V VF devices. bnxt_en: Support IFF_SUPP_NOFCS feature to transmit without ethernet FCS. bnxt_en: Implement .ndo_features_check(). drivers/net/ethernet/broadcom/bnxt/bnxt.c | 142 +++++++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 23 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 8 +- .../net/ethernet/broadcom/bnxt/bnxt_sriov.c | 74 ++++----- .../net/ethernet/broadcom/bnxt/bnxt_sriov.h | 1 + 5 files changed, 166 insertions(+), 82 deletions(-)