From patchwork Fri Dec 1 22:39:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13476549 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="GSfbCXMc" Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745BAAD for ; Fri, 1 Dec 2023 14:39:48 -0800 (PST) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-423ed5fb48eso16918401cf.3 for ; Fri, 01 Dec 2023 14:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1701470387; x=1702075187; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=nDFZNTDLdmQjy4fsDYkkR8ka/NxYHsA5wf8MQ+8+SgQ=; b=GSfbCXMcNQKoAbnhrwVT5IQBkY4GIbWDI4Q3P/m7KcPR4DdYL8d5VLf842p9rd85hk NnD2gvy0XpM+92KBPq80a+p3Bc+ts39BexPR/qg97ivotm41RO0Ek0s7Jey6Z5Qu7lcY OMR/jl1yb8DCD3IZUvfSVJmA5mSXa1I/r05ag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701470387; x=1702075187; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nDFZNTDLdmQjy4fsDYkkR8ka/NxYHsA5wf8MQ+8+SgQ=; b=IRS25KQ3Whbeo2WhA1D98qcKzoQQTlrX4GIIxQMHjWxzRlbOPCRgybLHPH2/+lHcX2 XLYQxKwpJX90UzHLTKtM5K8rKHdJlTv8TZ7p62yAoboCJoM3bv3sWx/Bptj3TGEUzrcb LhQU6T8yg9yU/AH/7LpzybeJ1OcH1H8BxR3wqBIUI0uwZoDKE10pOSnsnTBoH41kPWuw tYPa187AinI0lSjs/WAFNaGj6PB00E3CSnh/w09XRhKB6P22LKKy84ceQRd91bsXwn5k d3TiE+x7OH7cEVXr/ZhQCj+3kn5fsITKQ+uJFsRicAYE/AM1+gQuK/2Zy+NM30nmPYiv tdmg== X-Gm-Message-State: AOJu0YzmXK852hAgH3piYPmD2G/w/WdoWW5YUGf512l8lizFefkw8iDX GZR47a7X7HoFLHuXtFlevaFPnQ== X-Google-Smtp-Source: AGHT+IEeSa9Yl5glFF3XTOFLe9qTTpABbCX/Lx1T17KpTTlABCn7ry79NM6SkTaaqpUY906+3jkMzQ== X-Received: by 2002:a05:622a:1885:b0:423:b115:537b with SMTP id v5-20020a05622a188500b00423b115537bmr382230qtc.35.1701470387387; Fri, 01 Dec 2023 14:39:47 -0800 (PST) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id i14-20020ac8488e000000b004199c98f87dsm1878715qtq.74.2023.12.01.14.39.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Dec 2023 14:39:46 -0800 (PST) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com Subject: [PATCH net-next 00/15] bnxt_en: Support new 5760X P7 devices Date: Fri, 1 Dec 2023 14:39:09 -0800 Message-Id: <20231201223924.26955-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 This series completes the basic support for the new 5760X P7 devices with new PCI IDs added in the last patch. Thie first patch fixes a backing store issue introduced in the last patchset last week. The 2nd patch is the new firmware interface required to support the new chips. The next few patches are doorbell changes, refactoring, and new hardware interface structures. New changes to support packet reception including TPA are added in patch 10. The next 4 patches are ethernet link related changes to support the new chip. Ajit Khaparde (1): bnxt_en: Refactor RSS capability fields Hongguang Gao (1): bnxt_en: Consolidate DB offset calculation Michael Chan (13): bnxt_en: Fix backing store V2 logic bnxt_en: Update firmware interface to 1.10.3.15 bnxt_en: Define basic P7 macros bnxt_en: Implement the new toggle bit doorbell mechanism on P7 chips bnxt_en: Add new P7 hardware interface definitions bnxt_en: Refactor RX VLAN acceleration logic. bnxt_en: Refactor and refine bnxt_tpa_start() and bnxt_tpa_end(). bnxt_en: Add support for new RX and TPA_START completion types for P7 bnxt_en: Refactor ethtool speeds logic bnxt_en: Support new firmware link parameters bnxt_en: Support force speed using the new HWRM fields bnxt_en: Report the new ethtool link modes in the new firmware interface bnxt_en: Add 5760X (P7) PCI IDs drivers/net/ethernet/broadcom/bnxt/bnxt.c | 383 ++++++++++--- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 189 ++++++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 315 +++++++++-- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 521 +++++++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 10 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 4 + 6 files changed, 1132 insertions(+), 290 deletions(-)