aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 19:29:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 19:29:25 -0400
commit7a6362800cb7d1d618a697a650c7aaed3eb39320 (patch)
tree087f9bc6c13ef1fad4b392c5cf9325cd28fa8523 /Documentation
parent6445ced8670f37cfc2c5e24a9de9b413dbfc788d (diff)
parentceda86a108671294052cbf51660097b6534672f5 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1480 commits) bonding: enable netpoll without checking link status xfrm: Refcount destination entry on xfrm_lookup net: introduce rx_handler results and logic around that bonding: get rid of IFF_SLAVE_INACTIVE netdev->priv_flag bonding: wrap slave state work net: get rid of multiple bond-related netdevice->priv_flags bonding: register slave pointer for rx_handler be2net: Bump up the version number be2net: Copyright notice change. Update to Emulex instead of ServerEngines e1000e: fix kconfig for crc32 dependency netfilter ebtables: fix xt_AUDIT to work with ebtables xen network backend driver bonding: Improve syslog message at device creation time bonding: Call netif_carrier_off after register_netdevice bonding: Incorrect TX queue offset net_sched: fix ip_tos2prio xfrm: fix __xfrm_route_forward() be2net: Fix UDP packet detected status in RX compl Phonet: fix aligned-mode pipe socket buffer header reserve netxen: support for GbE port settings ... Fix up conflicts in drivers/staging/brcm80211/brcmsmac/wl_mac80211.c with the staging updates.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/feature-removal-schedule.txt26
-rw-r--r--Documentation/networking/batman-adv.txt16
-rw-r--r--Documentation/networking/bonding.txt26
-rw-r--r--Documentation/networking/ip-sysctl.txt11
-rw-r--r--Documentation/networking/phonet.txt67
5 files changed, 87 insertions, 59 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index b3f35e5f9c9..f487c6918d7 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -35,6 +35,17 @@ Who: Luis R. Rodriguez <lrodriguez@atheros.com>
35 35
36--------------------------- 36---------------------------
37 37
38What: AR9170USB
39When: 2.6.40
40
41Why: This driver is deprecated and the firmware is no longer
42 maintained. The replacement driver "carl9170" has been
43 around for a while, so the devices are still supported.
44
45Who: Christian Lamparter <chunkeey@googlemail.com>
46
47---------------------------
48
38What: IRQF_SAMPLE_RANDOM 49What: IRQF_SAMPLE_RANDOM
39Check: IRQF_SAMPLE_RANDOM 50Check: IRQF_SAMPLE_RANDOM
40When: July 2009 51When: July 2009
@@ -604,6 +615,13 @@ Who: Jean Delvare <khali@linux-fr.org>
604 615
605---------------------------- 616----------------------------
606 617
618What: xt_connlimit rev 0
619When: 2012
620Who: Jan Engelhardt <jengelh@medozas.de>
621Files: net/netfilter/xt_connlimit.c
622
623----------------------------
624
607What: noswapaccount kernel command line parameter 625What: noswapaccount kernel command line parameter
608When: 2.6.40 626When: 2.6.40
609Why: The original implementation of memsw feature enabled by 627Why: The original implementation of memsw feature enabled by
@@ -619,3 +637,11 @@ Why: The original implementation of memsw feature enabled by
619Who: Michal Hocko <mhocko@suse.cz> 637Who: Michal Hocko <mhocko@suse.cz>
620 638
621---------------------------- 639----------------------------
640
641What: ipt_addrtype match include file
642When: 2012
643Why: superseded by xt_addrtype
644Who: Florian Westphal <fw@strlen.de>
645Files: include/linux/netfilter_ipv4/ipt_addrtype.h
646
647----------------------------
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index 77f0cdd5b0d..18afcd8afd5 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -1,4 +1,4 @@
1[state: 21-11-2010] 1[state: 27-01-2011]
2 2
3BATMAN-ADV 3BATMAN-ADV
4---------- 4----------
@@ -67,15 +67,16 @@ All mesh wide settings can be found in batman's own interface
67folder: 67folder:
68 68
69# ls /sys/class/net/bat0/mesh/ 69# ls /sys/class/net/bat0/mesh/
70# aggregated_ogms bonding fragmentation orig_interval 70# aggregated_ogms gw_bandwidth hop_penalty
71# vis_mode 71# bonding gw_mode orig_interval
72# fragmentation gw_sel_class vis_mode
72 73
73 74
74There is a special folder for debugging informations: 75There is a special folder for debugging informations:
75 76
76# ls /sys/kernel/debug/batman_adv/bat0/ 77# ls /sys/kernel/debug/batman_adv/bat0/
77# originators socket transtable_global transtable_local 78# gateways socket transtable_global vis_data
78# vis_data 79# originators softif_neigh transtable_local
79 80
80 81
81Some of the files contain all sort of status information regard- 82Some of the files contain all sort of status information regard-
@@ -230,9 +231,8 @@ CONTACT
230Please send us comments, experiences, questions, anything :) 231Please send us comments, experiences, questions, anything :)
231 232
232IRC: #batman on irc.freenode.org 233IRC: #batman on irc.freenode.org
233Mailing-list: b.a.t.m.a.n@b.a.t.m.a.n@lists.open-mesh.org 234Mailing-list: b.a.t.m.a.n@open-mesh.org (optional subscription
234 (optional subscription at 235 at https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n)
235 https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n)
236 236
237You can also contact the Authors: 237You can also contact the Authors:
238 238
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt
index 25d2f4141d2..b36e741e94d 100644
--- a/Documentation/networking/bonding.txt
+++ b/Documentation/networking/bonding.txt
@@ -2558,18 +2558,15 @@ enslaved.
255816. Resources and Links 255816. Resources and Links
2559======================= 2559=======================
2560 2560
2561The latest version of the bonding driver can be found in the latest 2561 The latest version of the bonding driver can be found in the latest
2562version of the linux kernel, found on http://kernel.org 2562version of the linux kernel, found on http://kernel.org
2563 2563
2564The latest version of this document can be found in either the latest 2564 The latest version of this document can be found in the latest kernel
2565kernel source (named Documentation/networking/bonding.txt), or on the 2565source (named Documentation/networking/bonding.txt).
2566bonding sourceforge site:
2567 2566
2568http://www.sourceforge.net/projects/bonding 2567 Discussions regarding the usage of the bonding driver take place on the
2569 2568bonding-devel mailing list, hosted at sourceforge.net. If you have questions or
2570Discussions regarding the bonding driver take place primarily on the 2569problems, post them to the list. The list address is:
2571bonding-devel mailing list, hosted at sourceforge.net. If you have
2572questions or problems, post them to the list. The list address is:
2573 2570
2574bonding-devel@lists.sourceforge.net 2571bonding-devel@lists.sourceforge.net
2575 2572
@@ -2578,6 +2575,17 @@ be found at:
2578 2575
2579https://lists.sourceforge.net/lists/listinfo/bonding-devel 2576https://lists.sourceforge.net/lists/listinfo/bonding-devel
2580 2577
2578 Discussions regarding the developpement of the bonding driver take place
2579on the main Linux network mailing list, hosted at vger.kernel.org. The list
2580address is:
2581
2582netdev@vger.kernel.org
2583
2584 The administrative interface (to subscribe or unsubscribe) can
2585be found at:
2586
2587http://vger.kernel.org/vger-lists.html#netdev
2588
2581Donald Becker's Ethernet Drivers and diag programs may be found at : 2589Donald Becker's Ethernet Drivers and diag programs may be found at :
2582 - http://web.archive.org/web/*/http://www.scyld.com/network/ 2590 - http://web.archive.org/web/*/http://www.scyld.com/network/
2583 2591
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index ac3b4a726a1..d3d653a5f9b 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -280,6 +280,17 @@ tcp_max_orphans - INTEGER
280 more aggressively. Let me to remind again: each orphan eats 280 more aggressively. Let me to remind again: each orphan eats
281 up to ~64K of unswappable memory. 281 up to ~64K of unswappable memory.
282 282
283tcp_max_ssthresh - INTEGER
284 Limited Slow-Start for TCP with large congestion windows (cwnd) defined in
285 RFC3742. Limited slow-start is a mechanism to limit growth of the cwnd
286 on the region where cwnd is larger than tcp_max_ssthresh. TCP increases cwnd
287 by at most tcp_max_ssthresh segments, and by at least tcp_max_ssthresh/2
288 segments per RTT when the cwnd is above tcp_max_ssthresh.
289 If TCP connection increased cwnd to thousands (or tens of thousands) segments,
290 and thousands of packets were being dropped during slow-start, you can set
291 tcp_max_ssthresh to improve performance for new TCP connection.
292 Default: 0 (off)
293
283tcp_max_syn_backlog - INTEGER 294tcp_max_syn_backlog - INTEGER
284 Maximal number of remembered connection requests, which are 295 Maximal number of remembered connection requests, which are
285 still did not receive an acknowledgment from connecting client. 296 still did not receive an acknowledgment from connecting client.
diff --git a/Documentation/networking/phonet.txt b/Documentation/networking/phonet.txt
index 24ad2adba6e..81003581f47 100644
--- a/Documentation/networking/phonet.txt
+++ b/Documentation/networking/phonet.txt
@@ -154,9 +154,28 @@ connections, one per accept()'d socket.
154 write(cfd, msg, msglen); 154 write(cfd, msg, msglen);
155 } 155 }
156 156
157Connections are established between two endpoints by a "third party" 157Connections are traditionally established between two endpoints by a
158application. This means that both endpoints are passive; so connect() 158"third party" application. This means that both endpoints are passive.
159is not possible. 159
160
161As of Linux kernel version 2.6.39, it is also possible to connect
162two endpoints directly, using connect() on the active side. This is
163intended to support the newer Nokia Wireless Modem API, as found in
164e.g. the Nokia Slim Modem in the ST-Ericsson U8500 platform:
165
166 struct sockaddr_spn spn;
167 int fd;
168
169 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
170 memset(&spn, 0, sizeof(spn));
171 spn.spn_family = AF_PHONET;
172 spn.spn_obj = ...;
173 spn.spn_dev = ...;
174 spn.spn_resource = 0xD9;
175 connect(fd, (struct sockaddr *)&spn, sizeof(spn));
176 /* normal I/O here ... */
177 close(fd);
178
160 179
161WARNING: 180WARNING:
162When polling a connected pipe socket for writability, there is an 181When polling a connected pipe socket for writability, there is an
@@ -181,45 +200,9 @@ The pipe protocol provides two socket options at the SOL_PNPIPE level:
181 interface index of the network interface created by PNPIPE_ENCAP, 200 interface index of the network interface created by PNPIPE_ENCAP,
182 or zero if encapsulation is off. 201 or zero if encapsulation is off.
183 202
184 203 PNPIPE_HANDLE is a read-only integer value. It contains the underlying
185Phonet Pipe-controller Implementation 204 identifier ("pipe handle") of the pipe. This is only defined for
186------------------------------------- 205 socket descriptors that are already connected or being connected.
187
188Phonet Pipe-controller is enabled by selecting the CONFIG_PHONET_PIPECTRLR Kconfig
189option. It is useful when communicating with those Nokia Modems which do not
190implement Pipe controller in them e.g. Nokia Slim Modem used in ST-Ericsson
191U8500 platform.
192
193The implementation is based on the Data Connection Establishment Sequence
194depicted in 'Nokia Wireless Modem API - Wireless_modem_user_guide.pdf'
195document.
196
197It allows a phonet sequenced socket (host-pep) to initiate a Pipe connection
198between itself and a remote pipe-end point (e.g. modem).
199
200The implementation adds socket options at SOL_PNPIPE level:
201
202 PNPIPE_PIPE_HANDLE
203 It accepts an integer argument for setting value of pipe handle.
204
205 PNPIPE_ENABLE accepts one integer value (int). If set to zero, the pipe
206 is disabled. If the value is non-zero, the pipe is enabled. If the pipe
207 is not (yet) connected, ENOTCONN is error is returned.
208
209The implementation also adds socket 'connect'. On calling the 'connect', pipe
210will be created between the source socket and the destination, and the pipe
211state will be set to PIPE_DISABLED.
212
213After a pipe has been created and enabled successfully, the Pipe data can be
214exchanged between the host-pep and remote-pep (modem).
215
216User-space would typically follow below sequence with Pipe controller:-
217-socket
218-bind
219-setsockopt for PNPIPE_PIPE_HANDLE
220-connect
221-setsockopt for PNPIPE_ENCAP_IP
222-setsockopt for PNPIPE_ENABLE
223 206
224 207
225Authors 208Authors