Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
Show All 12 Lines | |||||
#include <cam/cam_compat.h> | #include <cam/cam_compat.h> | ||||
#include <cam/scsi/scsi_message.h> | #include <cam/scsi/scsi_message.h> | ||||
#include "common/common.h" | #include "common/common.h" | ||||
#include "common/t4_tcb.h" | #include "common/t4_tcb.h" | ||||
#include "tom/t4_tom.h" | #include "tom/t4_tom.h" | ||||
#include "cxgbei.h" | #include "cxgbei.h" | ||||
SYSCTL_NODE(_kern_icl, OID_AUTO, cxgbei, CTLFLAG_RD, 0, "Chelsio iSCSI offload"); | SYSCTL_NODE(_kern_icl, OID_AUTO, cxgbei, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Chelsio iSCSI offload"); | |||||
static int coalesce = 1; | static int coalesce = 1; | ||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, coalesce, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, coalesce, CTLFLAG_RWTUN, | ||||
&coalesce, 0, "Try to coalesce PDUs before sending"); | &coalesce, 0, "Try to coalesce PDUs before sending"); | ||||
static int partial_receive_len = 128 * 1024; | static int partial_receive_len = 128 * 1024; | ||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, partial_receive_len, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, partial_receive_len, CTLFLAG_RWTUN, | ||||
&partial_receive_len, 0, "Minimum read size for partially received " | &partial_receive_len, 0, "Minimum read size for partially received " | ||||
"data segment"); | "data segment"); | ||||
static int sendspace = 1048576; | static int sendspace = 1048576; | ||||
Show All 12 Lines |