Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ void tcp_reset(struct sock *sk, struct sk_buff *skb);
void tcp_fin(struct sock *sk);
void tcp_check_space(struct sock *sk);
void tcp_sack_compress_send_ack(struct sock *sk);
void tcp_update_pacing_rate(struct sock *sk);

static inline void tcp_cleanup_skb(struct sk_buff *skb)
{
Expand Down Expand Up @@ -954,6 +955,7 @@ enum tcp_skb_cb_sacked_flags {
TCPCB_LOST = (1 << 2), /* SKB is lost */
TCPCB_TAGBITS = (TCPCB_SACKED_ACKED | TCPCB_SACKED_RETRANS |
TCPCB_LOST), /* All tag bits */
TCPCB_NACK_FORCED = (1 << 3), /* Trimming: NACK-signalled, retransmit past cwnd gate */
TCPCB_REPAIRED = (1 << 4), /* SKB repaired (no skb_mstamp_ns) */
TCPCB_EVER_RETRANS = (1 << 7), /* Ever retransmitted frame */
TCPCB_RETRANS = (TCPCB_SACKED_RETRANS | TCPCB_EVER_RETRANS |
Expand Down
9 changes: 9 additions & 0 deletions net/ipv4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,15 @@ config TCP_CONG_DCTCP
For further details see:
http://simula.stanford.edu/~alizade/Site/DCTCP_files/dctcp-final.pdf

config TCP_CONG_NACK
tristate "NACK-based congestion control (experimental)"
default m
help
Experimental congestion control intended for trimming experiments.
When a trimming NACK is received, this algorithm reduces the
congestion window by one MSS (one segment). Useful for quick
experiments with NACK-driven rate reduction.

config TCP_CONG_CDG
tristate "CAIA Delay-Gradient (CDG)"
default n
Expand Down
1 change: 1 addition & 0 deletions net/ipv4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ obj-$(CONFIG_TCP_CONG_BIC) += tcp_bic.o
obj-$(CONFIG_TCP_CONG_CDG) += tcp_cdg.o
obj-$(CONFIG_TCP_CONG_CUBIC) += tcp_cubic.o
obj-$(CONFIG_TCP_CONG_DCTCP) += tcp_dctcp.o
obj-$(CONFIG_TCP_CONG_NACK) += tcp_nack.o
obj-$(CONFIG_TCP_CONG_WESTWOOD) += tcp_westwood.o
obj-$(CONFIG_TCP_CONG_HSTCP) += tcp_highspeed.o
obj-$(CONFIG_TCP_CONG_HYBLA) += tcp_hybla.o
Expand Down
Loading