Commit 42d1c54d authored by Vikas Gupta's avatar Vikas Gupta Committed by Paolo Abeni
Browse files

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/20260207051422.4181717-1-kuba@kernel.org/


- Add an entry in MAINTAINERS

Signed-off-by: default avatarVikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: default avatarSiva Reddy Kallam <siva.kallam@broadcom.com>
Reviewed-by: default avatarBhargava Chenna Marreddy <bhargava.marreddy@broadcom.com>
Link: https://patch.msgid.link/20260208172925.1861255-1-vikas.gupta@broadcom.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 1abee69a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5134,6 +5134,7 @@ M: Vikas Gupta <vikas.gupta@broadcom.com>
L:	netdev@vger.kernel.org
S:	Maintained
F:	drivers/net/ethernet/broadcom/bnge/
F:	include/linux/bnge/hsi.h
BROADCOM BRCM80211 IEEE802.11 WIRELESS DRIVERS
M:	Arend van Spriel <arend.vanspriel@broadcom.com>
+1 −1
Original line number Diff line number Diff line
# 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

+1 −1
Original line number Diff line number Diff line
@@ -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"
+2 −2
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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

Loading