fbnic.h (69684376eed517817251ea6a768cfc315350d5c1) | fbnic.h (eb690ef8d1c2a1b60e8c11721ace1538f027459e) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) Meta Platforms, Inc. and affiliates. */ 3 4#ifndef _FBNIC_H_ 5#define _FBNIC_H_ 6 7#include <linux/interrupt.h> 8#include <linux/io.h> 9#include <linux/types.h> 10#include <linux/workqueue.h> 11 12#include "fbnic_csr.h" 13#include "fbnic_fw.h" 14#include "fbnic_mac.h" | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) Meta Platforms, Inc. and affiliates. */ 3 4#ifndef _FBNIC_H_ 5#define _FBNIC_H_ 6 7#include <linux/interrupt.h> 8#include <linux/io.h> 9#include <linux/types.h> 10#include <linux/workqueue.h> 11 12#include "fbnic_csr.h" 13#include "fbnic_fw.h" 14#include "fbnic_mac.h" |
15#include "fbnic_rpc.h" |
|
15 16struct fbnic_dev { 17 struct device *dev; 18 struct net_device *netdev; 19 20 u32 __iomem *uc_addr0; 21 u32 __iomem *uc_addr4; 22 const struct fbnic_mac *mac; --- 11 unchanged lines hidden (view full) --- 34 unsigned long last_heartbeat_request; 35 unsigned long last_heartbeat_response; 36 u8 fw_heartbeat_enabled; 37 38 u64 dsn; 39 u32 mps; 40 u32 readrq; 41 | 16 17struct fbnic_dev { 18 struct device *dev; 19 struct net_device *netdev; 20 21 u32 __iomem *uc_addr0; 22 u32 __iomem *uc_addr4; 23 const struct fbnic_mac *mac; --- 11 unchanged lines hidden (view full) --- 35 unsigned long last_heartbeat_request; 36 unsigned long last_heartbeat_response; 37 u8 fw_heartbeat_enabled; 38 39 u64 dsn; 40 u32 mps; 41 u32 readrq; 42 |
43 /* Local copy of the devices TCAM */ 44 struct fbnic_mac_addr mac_addr[FBNIC_RPC_TCAM_MACDA_NUM_ENTRIES]; 45 u8 mac_addr_boundary; 46 |
|
42 /* Number of TCQs/RCQs available on hardware */ 43 u16 max_num_queues; 44}; 45 46/* Reserve entry 0 in the MSI-X "others" array until we have filled all 47 * 32 of the possible interrupt slots. By doing this we can avoid any 48 * potential conflicts should we need to enable one of the debug interrupt 49 * causes later. --- 89 unchanged lines hidden --- | 47 /* Number of TCQs/RCQs available on hardware */ 48 u16 max_num_queues; 49}; 50 51/* Reserve entry 0 in the MSI-X "others" array until we have filled all 52 * 32 of the possible interrupt slots. By doing this we can avoid any 53 * potential conflicts should we need to enable one of the debug interrupt 54 * causes later. --- 89 unchanged lines hidden --- |