drivers/infiniband/hw/mthca/mthca_profile.h

Source file repositories/reference/linux-study-clean/drivers/infiniband/hw/mthca/mthca_profile.h

File Facts

System
Linux kernel
Corpus path
drivers/infiniband/hw/mthca/mthca_profile.h
Extension
.h
Size
2005 bytes
Lines
60
Domain
Driver Families
Bucket
drivers/infiniband
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct mthca_profile {
	int num_qp;
	int rdb_per_qp;
	int num_srq;
	int num_cq;
	int num_mcg;
	int num_mpt;
	int num_mtt;
	int num_udav;
	int num_uar;
	int uarc_size;
	int fmr_reserved_mtts;
};

s64 mthca_make_profile(struct mthca_dev *mdev,
		       struct mthca_profile *request,
		       struct mthca_dev_lim *dev_lim,
		       struct mthca_init_hca_param *init_hca);

#endif /* MTHCA_PROFILE_H */

Annotation

Implementation Notes