Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/cxgbei/icl_cxgbei.c
Show First 20 Lines • Show All 667 Lines • ▼ Show 20 Lines | icl_cxgbei_conn_handoff(struct icl_conn *ic, int fd) | ||||
else { | else { | ||||
/* | /* | ||||
* socket could not have been "unoffloaded" if here. | * socket could not have been "unoffloaded" if here. | ||||
*/ | */ | ||||
MPASS(tp->t_flags & TF_TOE); | MPASS(tp->t_flags & TF_TOE); | ||||
MPASS(tp->tod != NULL); | MPASS(tp->tod != NULL); | ||||
MPASS(tp->t_toe != NULL); | MPASS(tp->t_toe != NULL); | ||||
toep = tp->t_toe; | toep = tp->t_toe; | ||||
MPASS(toep->vi->pi->adapter == icc->sc); | MPASS(toep->vi->adapter == icc->sc); | ||||
icc->toep = toep; | icc->toep = toep; | ||||
icc->cwt = cxgbei_select_worker_thread(icc); | icc->cwt = cxgbei_select_worker_thread(icc); | ||||
/* | /* | ||||
* We maintain the _send_ DSL in this field just to have a | * We maintain the _send_ DSL in this field just to have a | ||||
* convenient way to assert that the kernel never sends | * convenient way to assert that the kernel never sends | ||||
* oversized PDUs. This field is otherwise unused in the driver | * oversized PDUs. This field is otherwise unused in the driver | ||||
* or the kernel. | * or the kernel. | ||||
▲ Show 20 Lines • Show All 414 Lines • Show Last 20 Lines |