Lines Matching refs:summary
40 struct rxrpc_ack_summary *summary, in rxrpc_congestion_management() argument
48 summary->flight_size = in rxrpc_congestion_management()
49 (call->tx_top - call->tx_hard_ack) - summary->nr_acks; in rxrpc_congestion_management()
52 summary->retrans_timeo = true; in rxrpc_congestion_management()
54 summary->flight_size / 2, 2); in rxrpc_congestion_management()
64 cumulative_acks += summary->nr_new_acks; in rxrpc_congestion_management()
65 cumulative_acks += summary->nr_rot_new_acks; in rxrpc_congestion_management()
69 summary->mode = call->cong_mode; in rxrpc_congestion_management()
70 summary->cwnd = call->cong_cwnd; in rxrpc_congestion_management()
71 summary->ssthresh = call->cong_ssthresh; in rxrpc_congestion_management()
72 summary->cumulative_acks = cumulative_acks; in rxrpc_congestion_management()
73 summary->dup_acks = call->cong_dup_acks; in rxrpc_congestion_management()
77 if (summary->nr_nacks > 0) in rxrpc_congestion_management()
79 if (summary->cumulative_acks > 0) in rxrpc_congestion_management()
88 if (summary->nr_nacks > 0) in rxrpc_congestion_management()
107 if (summary->nr_nacks == 0) in rxrpc_congestion_management()
110 if (summary->new_low_nack) { in rxrpc_congestion_management()
125 summary->flight_size / 2, 2); in rxrpc_congestion_management()
133 if (!summary->new_low_nack) { in rxrpc_congestion_management()
134 if (summary->nr_new_acks == 0) in rxrpc_congestion_management()
145 if (summary->nr_nacks == 0) in rxrpc_congestion_management()
171 trace_rxrpc_congest(call, summary, acked_serial, change); in rxrpc_congestion_management()
188 summary->nr_acks != call->tx_top - call->tx_hard_ack) { in rxrpc_congestion_management()
199 struct rxrpc_ack_summary *summary) in rxrpc_rotate_tx_window() argument
209 summary->new_low_nack = true; in rxrpc_rotate_tx_window()
231 summary->nr_rot_new_acks++; in rxrpc_rotate_tx_window()
305 struct rxrpc_ack_summary summary = { 0 }; in rxrpc_receiving_reply() local
321 if (!rxrpc_rotate_tx_window(call, top, &summary)) { in rxrpc_receiving_reply()
768 struct rxrpc_ack_summary *summary) in rxrpc_input_soft_acks() argument
780 summary->nr_acks++; in rxrpc_input_soft_acks()
783 summary->nr_new_acks++; in rxrpc_input_soft_acks()
788 if (!summary->nr_nacks && in rxrpc_input_soft_acks()
791 summary->new_low_nack = true; in rxrpc_input_soft_acks()
793 summary->nr_nacks++; in rxrpc_input_soft_acks()
796 summary->nr_new_nacks++; in rxrpc_input_soft_acks()
844 struct rxrpc_ack_summary summary = { 0 }; in rxrpc_input_ack() local
870 summary.ack_reason = (buf.ack.reason < RXRPC_ACK__INVALID ? in rxrpc_input_ack()
875 summary.ack_reason, nr_acks); in rxrpc_input_ack()
965 if (rxrpc_rotate_tx_window(call, hard_ack, &summary)) { in rxrpc_input_ack()
977 &summary); in rxrpc_input_ack()
982 summary.nr_acks == call->tx_top - hard_ack && in rxrpc_input_ack()
988 rxrpc_congestion_management(call, skb, &summary, acked_serial); in rxrpc_input_ack()
998 struct rxrpc_ack_summary summary = { 0 }; in rxrpc_input_ackall() local
1005 if (rxrpc_rotate_tx_window(call, call->tx_top, &summary)) in rxrpc_input_ackall()