Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/tom/t4_ddp.c
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
#ifdef TCP_OFFLOAD | #ifdef TCP_OFFLOAD | ||||
#include "common/common.h" | #include "common/common.h" | ||||
#include "common/t4_msg.h" | #include "common/t4_msg.h" | ||||
#include "common/t4_regs.h" | #include "common/t4_regs.h" | ||||
#include "common/t4_tcb.h" | #include "common/t4_tcb.h" | ||||
#include "tom/t4_tom.h" | #include "tom/t4_tom.h" | ||||
VNET_DECLARE(int, tcp_do_autorcvbuf); | |||||
#define V_tcp_do_autorcvbuf VNET(tcp_do_autorcvbuf) | |||||
VNET_DECLARE(int, tcp_autorcvbuf_inc); | |||||
#define V_tcp_autorcvbuf_inc VNET(tcp_autorcvbuf_inc) | |||||
VNET_DECLARE(int, tcp_autorcvbuf_max); | |||||
#define V_tcp_autorcvbuf_max VNET(tcp_autorcvbuf_max) | |||||
/* | /* | ||||
* Use the 'backend3' field in AIO jobs to store the amount of data | * Use the 'backend3' field in AIO jobs to store the amount of data | ||||
* received by the AIO job so far. | * received by the AIO job so far. | ||||
*/ | */ | ||||
#define aio_received backend3 | #define aio_received backend3 | ||||
static void aio_ddp_requeue_task(void *context, int pending); | static void aio_ddp_requeue_task(void *context, int pending); | ||||
static void ddp_complete_all(struct toepcb *toep, int error); | static void ddp_complete_all(struct toepcb *toep, int error); | ||||
▲ Show 20 Lines • Show All 1,884 Lines • Show Last 20 Lines |