bnge/bng_re: Add a new HSI
Subsystems (5)
Vikas Gupta
maintainerPATCH v3 1/1 bnge/bng_re: Add a new HSI
The HSI is shared between the firmware and the driver and is automatically generated.
Add a new HSI for the BNGE driver. The current HSI refers to BNXT, which will become incompatible with ThorUltra devices as the BNGE driver adds more features. The BNGE driver will not use the HSI located in the bnxt folder.
Also, add an HSI for ThorUltra RoCE driver.
Changes in v3:
- Fix in bng_roce_hsi.h reported by Jakub (AI review)
https://lore.kernel.org/netdev/[email protected]/
- Add an entry in MAINTAINERS
--- MAINTAINERS | 1 + drivers/infiniband/hw/bng_re/Makefile | 2 +- drivers/infiniband/hw/bng_re/bng_fw.c | 2 +- drivers/infiniband/hw/bng_re/bng_res.c | 4 +- drivers/infiniband/hw/bng_re/bng_res.h | 2 +- drivers/infiniband/hw/bng_re/bng_roce_hsi.h | 6450 ++++++++ drivers/infiniband/hw/bng_re/bng_tlv.h | 2 +- drivers/net/ethernet/broadcom/bnge/bnge.h | 2 +- .../net/ethernet/broadcom/bnge/bnge_auxr.c | 2 +- .../net/ethernet/broadcom/bnge/bnge_hwrm.h | 2 +- .../ethernet/broadcom/bnge/bnge_hwrm_lib.c | 2 +- .../net/ethernet/broadcom/bnge/bnge_netdev.h | 2 +- .../net/ethernet/broadcom/bnge/bnge_rmem.c | 2 +- .../net/ethernet/broadcom/bnge/bnge_txrx.h | 2 +- include/linux/bnge/hsi.h | 12609 ++++++++++++++++ 15 files changed, 19073 insertions(+), 13 deletions(-) create mode 100644 drivers/infiniband/hw/bng_re/bng_roce_hsi.h create mode 100644 include/linux/bnge/hsi.h
MAINTAINERS +1 -0
@@ -5134,6 +5134,7 @@ M: Vikas Gupta <[email protected]> L: [email protected] S: Maintained F: drivers/net/ethernet/broadcom/bnge/ +F: include/linux/bnge/hsi.h BROADCOM BRCM80211 IEEE802.11 WIRELESS DRIVERS M: Arend van Spriel <[email protected]>
drivers/infiniband/hw/bng_re/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I $(srctree)/drivers/net/ethernet/broadcom/bnge -I $(srctree)/drivers/infiniband/hw/bnxt_re +ccflags-y := -I $(srctree)/drivers/net/ethernet/broadcom/bnge obj-$(CONFIG_INFINIBAND_BNG_RE) += bng_re.o
drivers/infiniband/hw/bng_re/bng_fw.c +1 -1
@@ -2,7 +2,7 @@// Copyright (c) 2025 Broadcom. #include <linux/pci.h> -#include "roce_hsi.h" +#include "bng_roce_hsi.h" #include "bng_res.h" #include "bng_fw.h" #include "bng_sp.h"
drivers/infiniband/hw/bng_re/bng_res.c +2 -2
@@ -5,9 +5,9 @@#include <linux/vmalloc.h> #include <rdma/ib_umem.h> -#include <linux/bnxt/hsi.h> +#include <linux/bnge/hsi.h> #include "bng_res.h" -#include "roce_hsi.h" +#include "bng_roce_hsi.h" /* Stats */ void bng_re_free_stats_ctx_mem(struct pci_dev *pdev,
drivers/infiniband/hw/bng_re/bng_res.h +1 -1
@@ -4,7 +4,7 @@#ifndef __BNG_RES_H__#define __BNG_RES_H__ -#include "roce_hsi.h" +#include "bng_roce_hsi.h" #define BNG_ROCE_FW_MAX_TIMEOUT 60
drivers/infiniband/hw/bng_re/bng_roce_hsi.h new file +6450 -0
2,960 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnge/bnge.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_auxr.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_hwrm.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_netdev.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_rmem.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnge/bnge_txrx.h +1 -1
Lines of this file are not shown. View the raw message.
include/linux/bnge/hsi.h new file +12609 -0
12,609 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.47.1
Part of the diff is not shown here. View the raw message.
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 9 lines · On Sun, 8 Feb 2026 22:59:25 +0530 you wrote:
The HSI is shared between the firmware and the driver and is automatically generated.
Add a new HSI for the BNGE driver. The current HSI refers to BNXT, which will become incompatible with ThorUltra devices as the BNGE driver adds more features. The BNGE driver will not use the HSI located in the bnxt folder.
Also, add an HSI for ThorUltra RoCE driver.[...]
Here is the summary with links:
- [net-next,v3] bnge/bng_re: Add a new HSI
https://git.kernel.org/netdev/net-next/c/42d1c54d6248
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html