#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/ctype.h>
#include <linux/kthread.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/atomic.h>
#include <scsi/scsi_tcq.h>
#include <target/configfs_macros.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric_configfs.h>
#include <target/target_core_fabric.h>
#include <target/target_core_configfs.h>
#include "ib_srpt.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Vu Pham and Bart Van Assche") |
|
| MODULE_DESCRIPTION ("InfiniBand SCSI RDMA Protocol target ""v"DRV_VERSION" ("DRV_RELDATE")") |
|
| MODULE_LICENSE ("Dual BSD/GPL") |
|
| module_param (srp_max_req_size, int, 0444) |
|
| MODULE_PARM_DESC (srp_max_req_size,"Maximum size of SRP request messages in bytes.") |
|
| module_param (srpt_srq_size, int, 0444) |
|
| MODULE_PARM_DESC (srpt_srq_size,"Shared receive queue (SRQ) size.") |
|
| module_param_call (srpt_service_guid, NULL, srpt_get_u64_x,&srpt_service_guid, 0444) |
|
| MODULE_PARM_DESC (srpt_service_guid,"Using this value for ioc_guid, id_ext, and cm_listen_id"" instead of using the node_guid of the first HCA.") |
|
#define DRV_NAME "ib_srpt" |
#define DRV_RELDATE "2011-02-14" |
#define DRV_VERSION "2.0.0" |
- Enumerator:
SCSI_LUN_ADDR_METHOD_PERIPHERAL |
|
SCSI_LUN_ADDR_METHOD_FLAT |
|
SCSI_LUN_ADDR_METHOD_LUN |
|
SCSI_LUN_ADDR_METHOD_EXTENDED_LUN |
|
Definition at line 1644 of file ib_srpt.c.
MODULE_AUTHOR |
( |
"Vu Pham and Bart Van Assche" |
| ) |
|
module_exit |
( |
srpt_cleanup_module |
| ) |
|
module_init |
( |
srpt_init_module |
| ) |
|
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_param |
( |
srp_max_req_size |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
srpt_srq_size |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param_call |
( |
srpt_service_guid |
, |
|
|
NULL |
, |
|
|
srpt_get_u64_x |
, |
|
|
& |
srpt_service_guid, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
srp_max_req_size |
, |
|
|
"Maximum size of SRP request messages in bytes." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
srpt_srq_size |
, |
|
|
"Shared receive queue (SRQ) size." |
|
|
) |
| |
TF_TPG_ATTRIB_ATTR |
( |
srpt |
, |
|
|
srp_max_rdma_size |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
TF_TPG_ATTRIB_ATTR |
( |
srpt |
, |
|
|
srp_max_rsp_size |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
TF_TPG_ATTRIB_ATTR |
( |
srpt |
, |
|
|
srp_sq_size |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |