From patchwork Fri Oct 20 21:27:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13431192 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE3BAD2E3 for ; Fri, 20 Oct 2023 21:28:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="DRv54cyJ" Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5CDDD68 for ; Fri, 20 Oct 2023 14:28:09 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5a9d8f4388bso864248a12.3 for ; Fri, 20 Oct 2023 14:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1697837289; x=1698442089; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=LhI7boljRLk5jcupk+mGwculDJPygURoJuaXe+MbaE4=; b=DRv54cyJa0dFDSUiNubftZRU2b2jgBoRHaYrHuHd/Y8whokvnAxbJMysyEiUdtZiZG m5CmYwXW4xx7B0S4XGptu0DdpbLiiz7SeLBJeB1FHZT19/1v7VGsULwBy5ek8AiASY87 J4/r71nL4eUw77CrEIJPROPW5UFLURUWhgKe0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697837289; x=1698442089; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LhI7boljRLk5jcupk+mGwculDJPygURoJuaXe+MbaE4=; b=ltLFkEgjmE/zHt6RreKW0SDbimbQ69IFb7L6/ZOo13ybfjNzCAYaJP1Vsppnda2lEI 95IBcu/KdJ40f4/mwVagh7LfSVkoHqHN5eCZ1sKz0WDBSshSGaB+b5fk3++EqqS8Q7l/ B+DuH63jvMaoKQ+ddS8dslfiA9Yu8P8G9M18sI62zKnyySV4p8ftRcfFXUM+V+XKrm22 N518YrF4qXilOQwZnFhqIsFPFil6t2nvH59r/xFDF0TkNHCLgFgjDwW5/VMoXfqqulVI aPsoq6qekOB+9tGHJ1nM/EdxGaaLYpIZ0XvL3AYTa7AQPL8l1C9KQ+8atybjYdqedRUp nURQ== X-Gm-Message-State: AOJu0Yw6RVRt/dsAHGjmIkLBbk7CkUyhVGgO4yHGfV5zo5EtTqWJa4Av AMEnYmG0ExCa6f7ozFCjACblSA== X-Google-Smtp-Source: AGHT+IEKw4X6nHa/NrxhQfzbTRlivYoSm3tN8g9XP9TrXvWDm8uf+cwOz5CG4iN9H6eVmTCFLwBpfw== X-Received: by 2002:a17:90b:8c:b0:27d:2ed1:6b87 with SMTP id bb12-20020a17090b008c00b0027d2ed16b87mr3157954pjb.40.1697837289176; Fri, 20 Oct 2023 14:28:09 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id j13-20020a17090a7e8d00b0026d4100e0e8sm1843348pjl.10.2023.10.20.14.28.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2023 14:28:08 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com, kalesh-anakkur.purayil@broadcom.com Subject: [PATCH net-next 0/8] bnxt_en: Update for net-next Date: Fri, 20 Oct 2023 14:27:49 -0700 Message-Id: <20231020212757.173551-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org The first 2 patches are fixes for the recently added hwmon changes. The next 6 patches are enhancements to support ethtool lanes and all the proper supported and advertised link modes. Before these patches, the driver was only supporting the link modes for copper media. Edwin Peer (5): bnxt_en: add infrastructure to lookup ethtool link mode bnxt_en: support lane configuration via ethtool bnxt_en: refactor speed independent ethtool modes bnxt_en: convert to linkmode_set_bit() API bnxt_en: extend media types to supported and autoneg modes Kalesh AP (2): bnxt_en: Do not call sleeping hwmon_notify_event() from NAPI bnxt_en: Fix invoking hwmon_notify_event Michael Chan (1): bnxt_en: Refactor NRZ/PAM4 link speed related logic drivers/net/ethernet/broadcom/bnxt/bnxt.c | 125 +++- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 3 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 650 +++++++++++++----- .../net/ethernet/broadcom/bnxt/bnxt_hwmon.c | 4 +- .../net/ethernet/broadcom/bnxt/bnxt_hwmon.h | 4 +- 5 files changed, 564 insertions(+), 222 deletions(-)