|
| MODULE_LICENSE ("Dual BSD/GPL") |
|
| MODULE_AUTHOR ("Christoph Raisch <[email protected]>") |
|
| MODULE_DESCRIPTION ("IBM eServer HCA InfiniBand Device Driver") |
|
| MODULE_VERSION (HCAD_VERSION) |
|
| module_param_named (open_aqp1, ehca_open_aqp1, bool, S_IRUGO) |
|
| module_param_named (debug_level, ehca_debug_level, int, S_IRUGO) |
|
| module_param_named (hw_level, ehca_hw_level, int, S_IRUGO) |
|
| module_param_named (nr_ports, ehca_nr_ports, int, S_IRUGO) |
|
| module_param_named (use_hp_mr, ehca_use_hp_mr, bool, S_IRUGO) |
|
| module_param_named (port_act_time, ehca_port_act_time, int, S_IRUGO) |
|
| module_param_named (poll_all_eqs, ehca_poll_all_eqs, bool, S_IRUGO) |
|
| module_param_named (static_rate, ehca_static_rate, int, S_IRUGO) |
|
| module_param_named (scaling_code, ehca_scaling_code, bool, S_IRUGO) |
|
| module_param_named (lock_hcalls, ehca_lock_hcalls, bint, S_IRUGO) |
|
| module_param_named (number_of_cqs, ehca_max_cq, int, S_IRUGO) |
|
| module_param_named (number_of_qps, ehca_max_qp, int, S_IRUGO) |
|
| MODULE_PARM_DESC (open_aqp1,"Open AQP1 on startup (default: no)") |
|
| MODULE_PARM_DESC (debug_level,"Amount of debug output (0: none (default), 1: traces, ""2: some dumps, 3: lots)") |
|
| MODULE_PARM_DESC (hw_level,"Hardware level (0: autosensing (default), ""0x10..0x14: eHCA, 0x20..0x23: eHCA2)") |
|
| MODULE_PARM_DESC (nr_ports,"number of connected ports (-1: autodetect (default), ""1: port one only, 2: two ports)") |
|
| MODULE_PARM_DESC (use_hp_mr,"Use high performance MRs (default: no)") |
|
| MODULE_PARM_DESC (port_act_time,"Time to wait for port activation (default: 30 sec)") |
|
| MODULE_PARM_DESC (poll_all_eqs,"Poll all event queues periodically (default: yes)") |
|
| MODULE_PARM_DESC (static_rate,"Set permanent static rate (default: no static rate)") |
|
| MODULE_PARM_DESC (scaling_code,"Enable scaling code (default: no)") |
|
| MODULE_PARM_DESC (lock_hcalls,"Serialize all hCalls made by the driver ""(default: autodetect)") |
|
| MODULE_PARM_DESC (number_of_cqs,"Max number of CQs which can be allocated ""(default: autodetect)") |
|
| MODULE_PARM_DESC (number_of_qps,"Max number of QPs which can be allocated ""(default: autodetect)") |
|
| DEFINE_RWLOCK (ehca_qp_idr_lock) |
|
| DEFINE_RWLOCK (ehca_cq_idr_lock) |
|
| DEFINE_IDR (ehca_qp_idr) |
|
| DEFINE_IDR (ehca_cq_idr) |
|
| DEFINE_SPINLOCK (shca_list_lock) |
|
int | ehca2ib_return_code (u64 ehca_rc) |
|
| EHCA_RESOURCE_ATTR (num_ports) |
|
| EHCA_RESOURCE_ATTR (hw_ver) |
|
| EHCA_RESOURCE_ATTR (max_eq) |
|
| EHCA_RESOURCE_ATTR (cur_eq) |
|
| EHCA_RESOURCE_ATTR (max_cq) |
|
| EHCA_RESOURCE_ATTR (cur_cq) |
|
| EHCA_RESOURCE_ATTR (max_qp) |
|
| EHCA_RESOURCE_ATTR (cur_qp) |
|
| EHCA_RESOURCE_ATTR (max_mr) |
|
| EHCA_RESOURCE_ATTR (cur_mr) |
|
| EHCA_RESOURCE_ATTR (max_mw) |
|
| EHCA_RESOURCE_ATTR (cur_mw) |
|
| EHCA_RESOURCE_ATTR (max_pd) |
|
| EHCA_RESOURCE_ATTR (max_ah) |
|
| MODULE_DEVICE_TABLE (of, ehca_device_table) |
|
void | ehca_poll_eqs (unsigned long data) |
|
| module_init (ehca_module_init) |
|
| module_exit (ehca_module_exit) |
|