mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
bnxt: move bnxt_hsi.h to include/linux/bnxt/hsi.h
This moves bnxt_hsi.h contents to a common location so it can be properly referenced by bnxt_en, bnxt_re, and bnge. Signed-off-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20250714170202.39688-1-gospo@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
55e8757c69
commit
c34632dbb2
24 changed files with 24 additions and 24 deletions
|
@ -39,8 +39,8 @@
|
|||
#ifndef __BNXT_RE_HSI_H__
|
||||
#define __BNXT_RE_HSI_H__
|
||||
|
||||
/* include bnxt_hsi.h from bnxt_en driver */
|
||||
#include "bnxt_hsi.h"
|
||||
/* include linux/bnxt/hsi.h */
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
/* tx_doorbell (size:32b/4B) */
|
||||
struct tx_doorbell {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define DRV_SUMMARY "Broadcom 800G Ethernet Linux Driver"
|
||||
|
||||
#include <linux/etherdevice.h>
|
||||
#include "../bnxt/bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnge_rmem.h"
|
||||
#include "bnge_resc.h"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef _BNGE_HWRM_H_
|
||||
#define _BNGE_HWRM_H_
|
||||
|
||||
#include "../bnxt/bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
enum bnge_hwrm_ctx_flags {
|
||||
BNGE_HWRM_INTERNAL_CTX_OWNED = BIT(0),
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
#include <linux/kernel.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnge.h"
|
||||
#include "../bnxt/bnxt_hsi.h"
|
||||
#include "bnge_hwrm.h"
|
||||
#include "bnge_hwrm_lib.h"
|
||||
#include "bnge_rmem.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef _BNGE_NETDEV_H_
|
||||
#define _BNGE_NETDEV_H_
|
||||
|
||||
#include "../bnxt/bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
struct tx_bd {
|
||||
__le32 tx_bd_len_flags_type;
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
#include <linux/dma-mapping.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/crash_dump.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnge.h"
|
||||
#include "../bnxt/bnxt_hsi.h"
|
||||
#include "bnge_hwrm_lib.h"
|
||||
#include "bnge_rmem.h"
|
||||
|
||||
|
|
|
@ -58,8 +58,8 @@
|
|||
#include <net/netdev_queues.h>
|
||||
#include <net/netdev_rx_queue.h>
|
||||
#include <linux/pci-tph.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_ulp.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/pci.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_coredump.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <linux/pci.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <rdma/ib_verbs.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_dcb.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <linux/debugfs.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/pci.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include <linux/dim.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_debugfs.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <linux/vmalloc.h>
|
||||
#include <net/devlink.h>
|
||||
#include <net/netdev_lock.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_vfr.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <linux/dim.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
|
||||
void bnxt_dim_work(struct work_struct *work)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <linux/timecounter.h>
|
||||
#include <net/netdev_queues.h>
|
||||
#include <net/netlink.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_ulp.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#include <linux/hwmon.h>
|
||||
#include <linux/hwmon-sysfs.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_hwmon.h"
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#include <linux/netdevice.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef BNXT_HWRM_H
|
||||
#define BNXT_HWRM_H
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
enum bnxt_hwrm_ctx_flags {
|
||||
/* Update the HWRM_API_FLAGS right below for any new non-internal bit added here */
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <linux/timekeeping.h>
|
||||
#include <linux/ptp_classify.h>
|
||||
#include <linux/clocksource.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_ptp.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <linux/interrupt.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <net/dcbnl.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_ulp.h"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#include <net/tc_act/tc_pedit.h>
|
||||
#include <net/tc_act/tc_tunnel_key.h>
|
||||
#include <net/vxlan.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_sriov.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <linux/bitmap.h>
|
||||
#include <linux/auxiliary_bus.h>
|
||||
#include <net/netdev_lock.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_ulp.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#include <linux/rtnetlink.h>
|
||||
#include <linux/jhash.h>
|
||||
#include <net/pkt_cls.h>
|
||||
#include <linux/bnxt/hsi.h>
|
||||
|
||||
#include "bnxt_hsi.h"
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_hwrm.h"
|
||||
#include "bnxt_vfr.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <linux/filter.h>
|
||||
#include <net/netdev_lock.h>
|
||||
#include <net/page_pool/helpers.h>
|
||||
#include "bnxt_hsi.h"
|
||||
#include <linux/bnxt/hsi.h>
|
||||
#include "bnxt.h"
|
||||
#include "bnxt_xdp.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue