Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | |||||
#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" | ||||
static MALLOC_DEFINE(M_CXGBEI, "cxgbei", "cxgbei(4)"); | static MALLOC_DEFINE(M_CXGBEI, "cxgbei", "cxgbei(4)"); | ||||
SYSCTL_NODE(_kern_icl, OID_AUTO, cxgbei, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | SYSCTL_NODE(_kern_icl, OID_AUTO, cxgbei, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Chelsio iSCSI offload"); | "Chelsio iSCSI offload"); | ||||
static int coalesce = 1; | |||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, coalesce, CTLFLAG_RWTUN, | |||||
&coalesce, 0, "Try to coalesce PDUs before sending"); | |||||
static int partial_receive_len = 128 * 1024; | |||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, partial_receive_len, CTLFLAG_RWTUN, | |||||
&partial_receive_len, 0, "Minimum read size for partially received " | |||||
"data segment"); | |||||
static int sendspace = 1048576; | static int sendspace = 1048576; | ||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, sendspace, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, sendspace, CTLFLAG_RWTUN, | ||||
&sendspace, 0, "Default send socket buffer size"); | &sendspace, 0, "Default send socket buffer size"); | ||||
static int recvspace = 1048576; | static int recvspace = 1048576; | ||||
SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, recvspace, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_icl_cxgbei, OID_AUTO, recvspace, CTLFLAG_RWTUN, | ||||
&recvspace, 0, "Default receive socket buffer size"); | &recvspace, 0, "Default receive socket buffer size"); | ||||
static uma_zone_t prsv_zone; | static uma_zone_t prsv_zone; | ||||
▲ Show 20 Lines • Show All 1,136 Lines • Show Last 20 Lines |