Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/tom/t4_listen.c
Context not available. | |||||
* this somewhat defeats the purpose of having a tod_offload_socket :-( | * this somewhat defeats the purpose of having a tod_offload_socket :-( | ||||
*/ | */ | ||||
if (__predict_false(!(synqe->flags & TPF_SYNQE_EXPANDED))) { | if (__predict_false(!(synqe->flags & TPF_SYNQE_EXPANDED))) { | ||||
tcp_timer_activate(intotcpcb(new_inp), TT_KEEP, 0); | struct tcpcb *tp; | ||||
jtl: Why store tp locally? There is a cost to adding it to the stack. | |||||
rrsAuthorUnsubmitted Not Done Inline Actionssame reason as above though again I changed it .. I don't like code rrs: same reason as above though again I changed it .. I don't like code
that is less clear.. but I… | |||||
tp = intotcpcb(new_inp); | |||||
tcp_timer_activate(tp, TT_KEEP, 0); | |||||
t4_offload_socket(TOEDEV(ifp), synqe, so); | t4_offload_socket(TOEDEV(ifp), synqe, so); | ||||
} | } | ||||
Context not available. |
Why store tp locally? There is a cost to adding it to the stack.