Lines Matching full:ack

83 		/* We analyse the number of packets that get ACK'd per RTT  in rxrpc_congestion_management()
176 /* Send some previously unsent DATA if we have some to advance the ACK in rxrpc_congestion_management()
215 * Apply a hard ACK by advancing the Tx window.
259 * or a final ACK packet.
429 /* Send an immediate ACK if we fill in a hole */ in rxrpc_input_data_one()
692 * Process the extra information that may be appended to an ACK packet
727 * Determine how many nacks from the previous ACK have now been satisfied.
736 rxrpc_seq_t old_seq = sp->ack.first_ack; in rxrpc_input_check_prev_ack()
739 if (after_eq(seq, old_seq + sp->ack.nr_acks)) { in rxrpc_input_check_prev_ack()
740 summary->nr_new_acks += sp->ack.nr_nacks; in rxrpc_input_check_prev_ack()
741 summary->nr_new_acks += seq - (old_seq + sp->ack.nr_acks); in rxrpc_input_check_prev_ack()
744 summary->nr_retained_nacks = sp->ack.nr_nacks; in rxrpc_input_check_prev_ack()
746 for (i = 0; i < sp->ack.nr_acks; i++) { in rxrpc_input_check_prev_ack()
759 return old_seq + sp->ack.nr_acks; in rxrpc_input_check_prev_ack()
765 * Each ACK in the array corresponds to one packet and can be either an ACK or
767 * packets that lie beyond the end of the ACK list are scheduled for resend by
769 * the time the ACK was sent.
779 rxrpc_seq_t lowest_nak = seq + sp->ack.nr_acks; in rxrpc_input_soft_acks()
782 for (i = 0; i < sp->ack.nr_acks; i++) { in rxrpc_input_soft_acks()
790 /* Overlap with previous ACK */ in rxrpc_input_soft_acks()
794 sp->ack.nr_nacks++; in rxrpc_input_soft_acks()
819 * Return true if the ACK is valid - ie. it doesn't appear to have regressed
820 * with respect to the ack state conveyed by preceding ACKs.
843 * Process an ACK packet.
845 * ack.firstPacket is the sequence number of the first soft-ACK'd/NAK'd packet
846 * in the ACK array. Anything before that is hard-ACK'd and may be discarded.
848 * A hard-ACK means that a packet has been processed and may be discarded; a
849 * soft-ACK means that the packet may be discarded and retransmission
850 * requested. A phase is complete when all packets are hard-ACK'd.
866 acked_serial = sp->ack.acked_serial; in rxrpc_input_ack()
867 first_soft_ack = sp->ack.first_ack; in rxrpc_input_ack()
868 prev_pkt = sp->ack.prev_ack; in rxrpc_input_ack()
869 nr_acks = sp->ack.nr_acks; in rxrpc_input_ack()
871 summary.ack_reason = (sp->ack.reason < RXRPC_ACK__INVALID ? in rxrpc_input_ack()
872 sp->ack.reason : RXRPC_ACK__INVALID); in rxrpc_input_ack()
896 /* If we get an EXCEEDS_WINDOW ACK from the server, it probably in rxrpc_input_ack()
909 /* If we get an OUT_OF_SEQUENCE ACK from the server, that can also in rxrpc_input_ack()