xref: /openbmc/linux/net/dccp/ccids/Kconfig (revision 1dd24dae)
1menu "DCCP CCIDs Configuration"
2
3config IP_DCCP_CCID2_DEBUG
4	bool "CCID-2 debugging messages"
5	---help---
6	  Enable CCID-2 specific debugging messages.
7
8	  The debugging output can additionally be toggled by setting the
9	  ccid2_debug parameter to 0 or 1.
10
11	  If in doubt, say N.
12
13config IP_DCCP_CCID3
14	bool "CCID-3 (TCP-Friendly)"
15	def_bool y if (IP_DCCP = y || IP_DCCP = m)
16	---help---
17	  CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
18	  rate-controlled congestion control mechanism.  TFRC is designed to
19	  be reasonably fair when competing for bandwidth with TCP-like flows,
20	  where a flow is "reasonably fair" if its sending rate is generally
21	  within a factor of two of the sending rate of a TCP flow under the
22	  same conditions.  However, TFRC has a much lower variation of
23	  throughput over time compared with TCP, which makes CCID-3 more
24	  suitable than CCID-2 for applications such streaming media where a
25	  relatively smooth sending rate is of importance.
26
27	  CCID-3 is further described in RFC 4342,
28	  http://www.ietf.org/rfc/rfc4342.txt
29
30	  The TFRC congestion control algorithms were initially described in
31	  RFC 5348.
32
33	  This text was extracted from RFC 4340 (sec. 10.2),
34	  http://www.ietf.org/rfc/rfc4340.txt
35
36	  If in doubt, say N.
37
38config IP_DCCP_CCID3_DEBUG
39	bool "CCID-3 debugging messages"
40	depends on IP_DCCP_CCID3
41	---help---
42	  Enable CCID-3 specific debugging messages.
43
44	  The debugging output can additionally be toggled by setting the
45	  ccid3_debug parameter to 0 or 1.
46
47	  If in doubt, say N.
48
49config IP_DCCP_TFRC_LIB
50	def_bool y if IP_DCCP_CCID3
51
52config IP_DCCP_TFRC_DEBUG
53	def_bool y if IP_DCCP_CCID3_DEBUG
54endmenu
55