drivers/scsi/be2iscsi/be_mgmt.h
Source file repositories/reference/linux-study-clean/drivers/scsi/be2iscsi/be_mgmt.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/be2iscsi/be_mgmt.h- Extension
.h- Size
- 6828 bytes
- Lines
- 243
- Domain
- Driver Families
- Bucket
- drivers/scsi
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
scsi/scsi_bsg_iscsi.hbe_iscsi.hbe_main.h
Detected Declarations
struct invldt_cmd_tblstruct invldt_cmds_params_instruct invldt_cmds_params_outstruct mgmt_hba_attributesstruct mgmt_controller_attributesstruct be_mgmt_controller_attributesstruct be_mgmt_controller_attributes_respstruct be_bsg_vendor_cmdstruct beiscsi_endpoint
Annotated Snippet
struct invldt_cmd_tbl {
unsigned short icd;
unsigned short cid;
} __packed;
struct invldt_cmds_params_in {
struct be_cmd_req_hdr hdr;
unsigned int ref_handle;
unsigned int icd_count;
struct invldt_cmd_tbl table[BE_INVLDT_CMD_TBL_SZ];
unsigned short cleanup_type;
unsigned short unused;
} __packed;
struct invldt_cmds_params_out {
struct be_cmd_resp_hdr hdr;
unsigned int ref_handle;
unsigned int icd_count;
unsigned int icd_status[BE_INVLDT_CMD_TBL_SZ];
} __packed;
union be_invldt_cmds_params {
struct invldt_cmds_params_in request;
struct invldt_cmds_params_out response;
} __packed;
struct mgmt_hba_attributes {
u8 flashrom_version_string[BEISCSI_VER_STRLEN];
u8 manufacturer_name[BEISCSI_VER_STRLEN];
u32 supported_modes;
u8 seeprom_version_lo;
u8 seeprom_version_hi;
u8 rsvd0[2];
u32 fw_cmd_data_struct_version;
u32 ep_fw_data_struct_version;
u8 ncsi_version_string[12];
u32 default_extended_timeout;
u8 controller_model_number[BEISCSI_VER_STRLEN];
u8 controller_description[64];
u8 controller_serial_number[BEISCSI_VER_STRLEN];
u8 ip_version_string[BEISCSI_VER_STRLEN];
u8 firmware_version_string[BEISCSI_VER_STRLEN];
u8 bios_version_string[BEISCSI_VER_STRLEN];
u8 redboot_version_string[BEISCSI_VER_STRLEN];
u8 driver_version_string[BEISCSI_VER_STRLEN];
u8 fw_on_flash_version_string[BEISCSI_VER_STRLEN];
u32 functionalities_supported;
u16 max_cdblength;
u8 asic_revision;
u8 generational_guid[16];
u8 hba_port_count;
u16 default_link_down_timeout;
u8 iscsi_ver_min_max;
u8 multifunction_device;
u8 cache_valid;
u8 hba_status;
u8 max_domains_supported;
u8 phy_port;
u32 firmware_post_status;
u32 hba_mtu[8];
u8 iscsi_features;
u8 asic_generation;
u8 future_u8[2];
u32 future_u32[3];
} __packed;
struct mgmt_controller_attributes {
struct mgmt_hba_attributes hba_attribs;
u16 pci_vendor_id;
u16 pci_device_id;
u16 pci_sub_vendor_id;
u16 pci_sub_system_id;
u8 pci_bus_number;
u8 pci_device_number;
u8 pci_function_number;
u8 interface_type;
u64 unique_identifier;
u8 netfilters;
u8 rsvd0[3];
u32 future_u32[4];
} __packed;
struct be_mgmt_controller_attributes {
struct be_cmd_req_hdr hdr;
struct mgmt_controller_attributes params;
} __packed;
struct be_mgmt_controller_attributes_resp {
struct be_cmd_resp_hdr hdr;
struct mgmt_controller_attributes params;
Annotation
- Immediate include surface: `scsi/scsi_bsg_iscsi.h`, `be_iscsi.h`, `be_main.h`.
- Detected declarations: `struct invldt_cmd_tbl`, `struct invldt_cmds_params_in`, `struct invldt_cmds_params_out`, `struct mgmt_hba_attributes`, `struct mgmt_controller_attributes`, `struct be_mgmt_controller_attributes`, `struct be_mgmt_controller_attributes_resp`, `struct be_bsg_vendor_cmd`, `struct beiscsi_endpoint`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.