#include <linux/module.h>
#include <linux/moduleparam.h>
#include <scsi/scsi_host.h>
#include <net/tcp.h>
#include <net/dst.h>
#include <linux/netdevice.h>
#include "t4_msg.h"
#include "cxgb4.h"
#include "cxgb4_uld.h"
#include "t4fw_api.h"
#include "l2t.h"
#include "cxgb4i.h"
#include "../libcxgbi.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Chelsio Communications, Inc.") |
|
| MODULE_DESCRIPTION (DRV_MODULE_DESC) |
|
| MODULE_VERSION (DRV_MODULE_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (dbg_level, uint, 0644) |
|
| MODULE_PARM_DESC (dbg_level,"Debug flag (default=0)") |
|
| module_param (cxgb4i_rcv_win, int, 0644) |
|
| MODULE_PARM_DESC (cxgb4i_rcv_win,"TCP reveive window in bytes") |
|
| module_param (cxgb4i_snd_win, int, 0644) |
|
| MODULE_PARM_DESC (cxgb4i_snd_win,"TCP send window in bytes") |
|
| module_param (cxgb4i_rx_credit_thres, int, 0644) |
|
| MODULE_PARM_DESC (cxgb4i_rx_credit_thres,"RX credits return threshold in bytes (default=10KB)") |
|
| module_param (cxgb4i_max_connect, uint, 0644) |
|
| MODULE_PARM_DESC (cxgb4i_max_connect,"Maximum number of connections") |
|
| module_param (cxgb4i_sport_base, ushort, 0644) |
|
| MODULE_PARM_DESC (cxgb4i_sport_base,"Starting port number (default 20000)") |
|
int | cxgb4i_ofld_init (struct cxgbi_device *cdev) |
|
| module_init (cxgb4i_init_module) |
|
| module_exit (cxgb4i_exit_module) |
|
#define DIV_ROUND_UP |
( |
|
n, |
|
|
|
d |
|
) |
| (((n) + (d) - 1) / (d)) |
#define DRV_MODULE_DESC "Chelsio T4 iSCSI Driver" |
#define DRV_MODULE_NAME "cxgb4i" |
#define DRV_MODULE_RELDATE "Aug. 2010" |
#define DRV_MODULE_VERSION "0.9.1" |
#define MAX_IMM_TX_PKT_LEN 128 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ":%s: " fmt, __func__ |
#define RCV_BUFSIZ_MASK 0x3FFU |
#define ULPMEM_IDATA_MAX_NPPODS 4 /* 256/PPOD_SIZE */ |
MODULE_AUTHOR |
( |
"Chelsio |
Communications, |
|
|
Inc." |
|
|
) |
| |
module_exit |
( |
cxgb4i_exit_module |
| ) |
|
module_init |
( |
cxgb4i_init_module |
| ) |
|
module_param |
( |
dbg_level |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
cxgb4i_rcv_win |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
cxgb4i_snd_win |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
cxgb4i_rx_credit_thres |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
cxgb4i_max_connect |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
cxgb4i_sport_base |
, |
|
|
ushort |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dbg_level |
, |
|
|
"Debug flag (default=0)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
cxgb4i_rcv_win |
, |
|
|
"TCP reveive window in bytes" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
cxgb4i_max_connect |
, |
|
|
"Maximum number of connections" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
cxgb4i_sport_base |
, |
|
|
"Starting port number (default 20000)" |
|
|
) |
| |