drivers/net/ethernet/netronome/nfp/nfp_abi.h
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/netronome/nfp/nfp_abi.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/netronome/nfp/nfp_abi.h- Extension
.h- Size
- 3128 bytes
- Lines
- 113
- Domain
- Driver Families
- Bucket
- drivers/net
- 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
linux/types.h
Detected Declarations
struct nfp_shared_bufstruct nfp_shared_buf_pool_idstruct nfp_shared_buf_pool_info_getstruct nfp_shared_buf_pool_info_setenum nfp_mbox_cmd
Annotated Snippet
struct nfp_shared_buf {
__le32 id;
__le32 size;
__le16 ingress_pools_count;
__le16 egress_pools_count;
__le16 ingress_tc_count;
__le16 egress_tc_count;
__le32 pool_size_unit;
};
/**
* struct nfp_shared_buf_pool_id - shared buffer pool identification
* @shared_buf: shared buffer id
* @pool: pool index
*/
struct nfp_shared_buf_pool_id {
__le32 shared_buf;
__le32 pool;
};
/**
* struct nfp_shared_buf_pool_info_get - struct devlink_sb_pool_info mirror
* @pool_type: one of enum devlink_sb_pool_type
* @size: pool size in units of SB's @pool_size_unit
* @threshold_type: one of enum devlink_sb_threshold_type
*/
struct nfp_shared_buf_pool_info_get {
__le32 pool_type;
__le32 size;
__le32 threshold_type;
};
/**
* struct nfp_shared_buf_pool_info_set - packed args of sb_pool_set
* @id: pool identification info
* @size: pool size in units of SB's @pool_size_unit
* @threshold_type: one of enum devlink_sb_threshold_type
*/
struct nfp_shared_buf_pool_info_set {
struct nfp_shared_buf_pool_id id;
__le32 size;
__le32 threshold_type;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct nfp_shared_buf`, `struct nfp_shared_buf_pool_id`, `struct nfp_shared_buf_pool_info_get`, `struct nfp_shared_buf_pool_info_set`, `enum nfp_mbox_cmd`.
- Atlas domain: Driver Families / drivers/net.
- 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.