dccp ccid-2: Stop polling
This updates CCID-2 to use the CCID dequeuing mechanism, converting from previous continuous-polling to a now event-driven mechanism. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b1fcf55eea
commit
1c0e0a0569
@@ -81,6 +81,11 @@ struct ccid2_hc_tx_sock {
|
||||
u64 tx_high_ack;
|
||||
};
|
||||
|
||||
static inline bool ccid2_cwnd_network_limited(struct ccid2_hc_tx_sock *hc)
|
||||
{
|
||||
return hc->tx_pipe >= hc->tx_cwnd;
|
||||
}
|
||||
|
||||
struct ccid2_hc_rx_sock {
|
||||
int rx_data;
|
||||
};
|
||||
|
Reference in New Issue
Block a user