include/linux/net/intel/iidc_rdma.h
Source file repositories/reference/linux-study-clean/include/linux/net/intel/iidc_rdma.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/net/intel/iidc_rdma.h- Extension
.h- Size
- 1919 bytes
- Lines
- 69
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/auxiliary_bus.hlinux/device.hlinux/if_ether.hlinux/kernel.hlinux/netdevice.hnet/dscp.h
Detected Declarations
struct iidc_rdma_eventstruct iidc_rdma_core_dev_infostruct iidc_rdma_core_auxiliary_devstruct iidc_rdma_core_auxiliary_drvenum iidc_rdma_event_typeenum iidc_rdma_reset_typeenum iidc_rdma_protocol
Annotated Snippet
struct iidc_rdma_event {
DECLARE_BITMAP(type, IIDC_RDMA_EVENT_NBITS);
u32 reg;
};
enum iidc_rdma_reset_type {
IIDC_FUNC_RESET,
IIDC_DEV_RESET,
};
enum iidc_rdma_protocol {
IIDC_RDMA_PROTOCOL_IWARP = BIT(0),
IIDC_RDMA_PROTOCOL_ROCEV2 = BIT(1),
};
/* Structure to be populated by core LAN PCI driver */
struct iidc_rdma_core_dev_info {
struct pci_dev *pdev; /* PCI device of corresponding to main function */
struct auxiliary_device *adev;
/* Current active RDMA protocol */
enum iidc_rdma_protocol rdma_protocol;
void *iidc_priv; /* elements unique to each driver */
};
/* Structure representing auxiliary driver tailored information about the core
* PCI dev, each auxiliary driver using the IIDC interface will have an
* instance of this struct dedicated to it.
*/
struct iidc_rdma_core_auxiliary_dev {
struct auxiliary_device adev;
struct iidc_rdma_core_dev_info *cdev_info;
};
/* structure representing the auxiliary driver. This struct is to be
* allocated and populated by the auxiliary driver's owner. The core PCI
* driver will access these ops by performing a container_of on the
* auxiliary_device->dev.driver.
*/
struct iidc_rdma_core_auxiliary_drv {
struct auxiliary_driver adrv;
void (*event_handler)(struct iidc_rdma_core_dev_info *cdev,
struct iidc_rdma_event *event);
};
#endif /* _IIDC_RDMA_H_*/
Annotation
- Immediate include surface: `linux/auxiliary_bus.h`, `linux/device.h`, `linux/if_ether.h`, `linux/kernel.h`, `linux/netdevice.h`, `net/dscp.h`.
- Detected declarations: `struct iidc_rdma_event`, `struct iidc_rdma_core_dev_info`, `struct iidc_rdma_core_auxiliary_dev`, `struct iidc_rdma_core_auxiliary_drv`, `enum iidc_rdma_event_type`, `enum iidc_rdma_reset_type`, `enum iidc_rdma_protocol`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.