Skip to content

Commit 42d1c54

Browse files
vikasbrcmPaolo Abeni
authored andcommitted
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: Vikas Gupta <vikas.gupta@broadcom.com> Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com> Reviewed-by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com> Link: https://patch.msgid.link/20260208172925.1861255-1-vikas.gupta@broadcom.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 1abee69 commit 42d1c54

15 files changed

Lines changed: 19073 additions & 13 deletions

File tree

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5134,6 +5134,7 @@ M: Vikas Gupta <vikas.gupta@broadcom.com>
51345134
L: netdev@vger.kernel.org
51355135
S: Maintained
51365136
F: drivers/net/ethernet/broadcom/bnge/
5137+
F: include/linux/bnge/hsi.h
51375138

51385139
BROADCOM BRCM80211 IEEE802.11 WIRELESS DRIVERS
51395140
M: Arend van Spriel <arend.vanspriel@broadcom.com>

drivers/infiniband/hw/bng_re/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
ccflags-y := -I $(srctree)/drivers/net/ethernet/broadcom/bnge -I $(srctree)/drivers/infiniband/hw/bnxt_re
2+
ccflags-y := -I $(srctree)/drivers/net/ethernet/broadcom/bnge
33

44
obj-$(CONFIG_INFINIBAND_BNG_RE) += bng_re.o
55

drivers/infiniband/hw/bng_re/bng_fw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Copyright (c) 2025 Broadcom.
33
#include <linux/pci.h>
44

5-
#include "roce_hsi.h"
5+
#include "bng_roce_hsi.h"
66
#include "bng_res.h"
77
#include "bng_fw.h"
88
#include "bng_sp.h"

drivers/infiniband/hw/bng_re/bng_res.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#include <linux/vmalloc.h>
66
#include <rdma/ib_umem.h>
77

8-
#include <linux/bnxt/hsi.h>
8+
#include <linux/bnge/hsi.h>
99
#include "bng_res.h"
10-
#include "roce_hsi.h"
10+
#include "bng_roce_hsi.h"
1111

1212
/* Stats */
1313
void bng_re_free_stats_ctx_mem(struct pci_dev *pdev,

drivers/infiniband/hw/bng_re/bng_res.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#ifndef __BNG_RES_H__
55
#define __BNG_RES_H__
66

7-
#include "roce_hsi.h"
7+
#include "bng_roce_hsi.h"
88

99
#define BNG_ROCE_FW_MAX_TIMEOUT 60
1010

0 commit comments

Comments
 (0)