diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-ptp | 6 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/can/c_can.txt | 49 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/cpsw.txt | 109 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/davinci-mdio.txt | 33 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt | 75 | ||||
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 8 | ||||
-rw-r--r-- | Documentation/filesystems/nfs/nfsroot.txt | 10 | ||||
-rw-r--r-- | Documentation/infiniband/ipoib.txt | 3 | ||||
-rw-r--r-- | Documentation/networking/batman-adv.txt | 7 | ||||
-rw-r--r-- | Documentation/networking/bonding.txt | 30 | ||||
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 37 | ||||
-rw-r--r-- | Documentation/networking/stmmac.txt | 5 |
12 files changed, 340 insertions, 32 deletions
diff --git a/Documentation/ABI/testing/sysfs-ptp b/Documentation/ABI/testing/sysfs-ptp index d40d2b550502..05aeedf17794 100644 --- a/Documentation/ABI/testing/sysfs-ptp +++ b/Documentation/ABI/testing/sysfs-ptp | |||
@@ -19,7 +19,11 @@ Date: September 2010 | |||
19 | Contact: Richard Cochran <richardcochran@gmail.com> | 19 | Contact: Richard Cochran <richardcochran@gmail.com> |
20 | Description: | 20 | Description: |
21 | This file contains the name of the PTP hardware clock | 21 | This file contains the name of the PTP hardware clock |
22 | as a human readable string. | 22 | as a human readable string. The purpose of this |
23 | attribute is to provide the user with a "friendly | ||
24 | name" and to help distinguish PHY based devices from | ||
25 | MAC based ones. The string does not necessarily have | ||
26 | to be any kind of unique id. | ||
23 | 27 | ||
24 | What: /sys/class/ptp/ptpN/max_adjustment | 28 | What: /sys/class/ptp/ptpN/max_adjustment |
25 | Date: September 2010 | 29 | Date: September 2010 |
diff --git a/Documentation/devicetree/bindings/net/can/c_can.txt b/Documentation/devicetree/bindings/net/can/c_can.txt new file mode 100644 index 000000000000..8f1ae81228e3 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/c_can.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | Bosch C_CAN/D_CAN controller Device Tree Bindings | ||
2 | ------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "bosch,c_can" for C_CAN controllers and | ||
6 | "bosch,d_can" for D_CAN controllers. | ||
7 | - reg : physical base address and size of the C_CAN/D_CAN | ||
8 | registers map | ||
9 | - interrupts : property with a value describing the interrupt | ||
10 | number | ||
11 | |||
12 | Optional properties: | ||
13 | - ti,hwmods : Must be "d_can<n>" or "c_can<n>", n being the | ||
14 | instance number | ||
15 | |||
16 | Note: "ti,hwmods" field is used to fetch the base address and irq | ||
17 | resources from TI, omap hwmod data base during device registration. | ||
18 | Future plan is to migrate hwmod data base contents into device tree | ||
19 | blob so that, all the required data will be used from device tree dts | ||
20 | file. | ||
21 | |||
22 | Example: | ||
23 | |||
24 | Step1: SoC common .dtsi file | ||
25 | |||
26 | dcan1: d_can@481d0000 { | ||
27 | compatible = "bosch,d_can"; | ||
28 | reg = <0x481d0000 0x2000>; | ||
29 | interrupts = <55>; | ||
30 | interrupt-parent = <&intc>; | ||
31 | status = "disabled"; | ||
32 | }; | ||
33 | |||
34 | (or) | ||
35 | |||
36 | dcan1: d_can@481d0000 { | ||
37 | compatible = "bosch,d_can"; | ||
38 | ti,hwmods = "d_can1"; | ||
39 | reg = <0x481d0000 0x2000>; | ||
40 | interrupts = <55>; | ||
41 | interrupt-parent = <&intc>; | ||
42 | status = "disabled"; | ||
43 | }; | ||
44 | |||
45 | Step 2: board specific .dts file | ||
46 | |||
47 | &dcan1 { | ||
48 | status = "okay"; | ||
49 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt new file mode 100644 index 000000000000..dcaabe9fe869 --- /dev/null +++ b/Documentation/devicetree/bindings/net/cpsw.txt | |||
@@ -0,0 +1,109 @@ | |||
1 | TI SoC Ethernet Switch Controller Device Tree Bindings | ||
2 | ------------------------------------------------------ | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "ti,cpsw" | ||
6 | - reg : physical base address and size of the cpsw | ||
7 | registers map | ||
8 | - interrupts : property with a value describing the interrupt | ||
9 | number | ||
10 | - interrupt-parent : The parent interrupt controller | ||
11 | - cpdma_channels : Specifies number of channels in CPDMA | ||
12 | - host_port_no : Specifies host port shift | ||
13 | - cpdma_reg_ofs : Specifies CPDMA submodule register offset | ||
14 | - cpdma_sram_ofs : Specifies CPDMA SRAM offset | ||
15 | - ale_reg_ofs : Specifies ALE submodule register offset | ||
16 | - ale_entries : Specifies No of entries ALE can hold | ||
17 | - host_port_reg_ofs : Specifies host port register offset | ||
18 | - hw_stats_reg_ofs : Specifies hardware statistics register offset | ||
19 | - bd_ram_ofs : Specifies internal desciptor RAM offset | ||
20 | - bd_ram_size : Specifies internal descriptor RAM size | ||
21 | - rx_descs : Specifies number of Rx descriptors | ||
22 | - mac_control : Specifies Default MAC control register content | ||
23 | for the specific platform | ||
24 | - slaves : Specifies number for slaves | ||
25 | - slave_reg_ofs : Specifies slave register offset | ||
26 | - sliver_reg_ofs : Specifies slave sliver register offset | ||
27 | - phy_id : Specifies slave phy id | ||
28 | - mac-address : Specifies slave MAC address | ||
29 | |||
30 | Optional properties: | ||
31 | - ti,hwmods : Must be "cpgmac0" | ||
32 | - no_bd_ram : Must be 0 or 1 | ||
33 | |||
34 | Note: "ti,hwmods" field is used to fetch the base address and irq | ||
35 | resources from TI, omap hwmod data base during device registration. | ||
36 | Future plan is to migrate hwmod data base contents into device tree | ||
37 | blob so that, all the required data will be used from device tree dts | ||
38 | file. | ||
39 | |||
40 | Examples: | ||
41 | |||
42 | mac: ethernet@4A100000 { | ||
43 | compatible = "ti,cpsw"; | ||
44 | reg = <0x4A100000 0x1000>; | ||
45 | interrupts = <55 0x4>; | ||
46 | interrupt-parent = <&intc>; | ||
47 | cpdma_channels = <8>; | ||
48 | host_port_no = <0>; | ||
49 | cpdma_reg_ofs = <0x800>; | ||
50 | cpdma_sram_ofs = <0xa00>; | ||
51 | ale_reg_ofs = <0xd00>; | ||
52 | ale_entries = <1024>; | ||
53 | host_port_reg_ofs = <0x108>; | ||
54 | hw_stats_reg_ofs = <0x900>; | ||
55 | bd_ram_ofs = <0x2000>; | ||
56 | bd_ram_size = <0x2000>; | ||
57 | no_bd_ram = <0>; | ||
58 | rx_descs = <64>; | ||
59 | mac_control = <0x20>; | ||
60 | slaves = <2>; | ||
61 | cpsw_emac0: slave@0 { | ||
62 | slave_reg_ofs = <0x208>; | ||
63 | sliver_reg_ofs = <0xd80>; | ||
64 | phy_id = "davinci_mdio.16:00"; | ||
65 | /* Filled in by U-Boot */ | ||
66 | mac-address = [ 00 00 00 00 00 00 ]; | ||
67 | }; | ||
68 | cpsw_emac1: slave@1 { | ||
69 | slave_reg_ofs = <0x308>; | ||
70 | sliver_reg_ofs = <0xdc0>; | ||
71 | phy_id = "davinci_mdio.16:01"; | ||
72 | /* Filled in by U-Boot */ | ||
73 | mac-address = [ 00 00 00 00 00 00 ]; | ||
74 | }; | ||
75 | }; | ||
76 | |||
77 | (or) | ||
78 | mac: ethernet@4A100000 { | ||
79 | compatible = "ti,cpsw"; | ||
80 | ti,hwmods = "cpgmac0"; | ||
81 | cpdma_channels = <8>; | ||
82 | host_port_no = <0>; | ||
83 | cpdma_reg_ofs = <0x800>; | ||
84 | cpdma_sram_ofs = <0xa00>; | ||
85 | ale_reg_ofs = <0xd00>; | ||
86 | ale_entries = <1024>; | ||
87 | host_port_reg_ofs = <0x108>; | ||
88 | hw_stats_reg_ofs = <0x900>; | ||
89 | bd_ram_ofs = <0x2000>; | ||
90 | bd_ram_size = <0x2000>; | ||
91 | no_bd_ram = <0>; | ||
92 | rx_descs = <64>; | ||
93 | mac_control = <0x20>; | ||
94 | slaves = <2>; | ||
95 | cpsw_emac0: slave@0 { | ||
96 | slave_reg_ofs = <0x208>; | ||
97 | sliver_reg_ofs = <0xd80>; | ||
98 | phy_id = "davinci_mdio.16:00"; | ||
99 | /* Filled in by U-Boot */ | ||
100 | mac-address = [ 00 00 00 00 00 00 ]; | ||
101 | }; | ||
102 | cpsw_emac1: slave@1 { | ||
103 | slave_reg_ofs = <0x308>; | ||
104 | sliver_reg_ofs = <0xdc0>; | ||
105 | phy_id = "davinci_mdio.16:01"; | ||
106 | /* Filled in by U-Boot */ | ||
107 | mac-address = [ 00 00 00 00 00 00 ]; | ||
108 | }; | ||
109 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/davinci-mdio.txt b/Documentation/devicetree/bindings/net/davinci-mdio.txt new file mode 100644 index 000000000000..72efaaf764f7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/davinci-mdio.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | TI SoC Davinci MDIO Controller Device Tree Bindings | ||
2 | --------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "ti,davinci_mdio" | ||
6 | - reg : physical base address and size of the davinci mdio | ||
7 | registers map | ||
8 | - bus_freq : Mdio Bus frequency | ||
9 | |||
10 | Optional properties: | ||
11 | - ti,hwmods : Must be "davinci_mdio" | ||
12 | |||
13 | Note: "ti,hwmods" field is used to fetch the base address and irq | ||
14 | resources from TI, omap hwmod data base during device registration. | ||
15 | Future plan is to migrate hwmod data base contents into device tree | ||
16 | blob so that, all the required data will be used from device tree dts | ||
17 | file. | ||
18 | |||
19 | Examples: | ||
20 | |||
21 | mdio: davinci_mdio@4A101000 { | ||
22 | compatible = "ti,cpsw"; | ||
23 | reg = <0x4A101000 0x1000>; | ||
24 | bus_freq = <1000000>; | ||
25 | }; | ||
26 | |||
27 | (or) | ||
28 | |||
29 | mdio: davinci_mdio@4A101000 { | ||
30 | compatible = "ti,cpsw"; | ||
31 | ti,hwmods = "davinci_mdio"; | ||
32 | bus_freq = <1000000>; | ||
33 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt b/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt new file mode 100644 index 000000000000..8516929c7251 --- /dev/null +++ b/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt | |||
@@ -0,0 +1,75 @@ | |||
1 | Properties for an MDIO bus multiplexer controlled by a memory-mapped device | ||
2 | |||
3 | This is a special case of a MDIO bus multiplexer. A memory-mapped device, | ||
4 | like an FPGA, is used to control which child bus is connected. The mdio-mux | ||
5 | node must be a child of the memory-mapped device. The driver currently only | ||
6 | supports devices with eight-bit registers. | ||
7 | |||
8 | Required properties in addition to the generic multiplexer properties: | ||
9 | |||
10 | - compatible : string, must contain "mdio-mux-mmioreg" | ||
11 | |||
12 | - reg : integer, contains the offset of the register that controls the bus | ||
13 | multiplexer. The size field in the 'reg' property is the size of | ||
14 | register, and must therefore be 1. | ||
15 | |||
16 | - mux-mask : integer, contains an eight-bit mask that specifies which | ||
17 | bits in the register control the actual bus multiplexer. The | ||
18 | 'reg' property of each child mdio-mux node must be constrained by | ||
19 | this mask. | ||
20 | |||
21 | Example: | ||
22 | |||
23 | The FPGA node defines a memory-mapped FPGA with a register space of 0x30 bytes. | ||
24 | For the "EMI2" MDIO bus, register 9 (BRDCFG1) controls the mux on that bus. | ||
25 | A bitmask of 0x6 means that bits 1 and 2 (bit 0 is lsb) are the bits on | ||
26 | BRDCFG1 that control the actual mux. | ||
27 | |||
28 | /* The FPGA node */ | ||
29 | fpga: board-control@3,0 { | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <1>; | ||
32 | compatible = "fsl,p5020ds-fpga", "fsl,fpga-ngpixis"; | ||
33 | reg = <3 0 0x30>; | ||
34 | ranges = <0 3 0 0x30>; | ||
35 | |||
36 | mdio-mux-emi2 { | ||
37 | compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
38 | mdio-parent-bus = <&xmdio0>; | ||
39 | #address-cells = <1>; | ||
40 | #size-cells = <0>; | ||
41 | reg = <9 1>; // BRDCFG1 | ||
42 | mux-mask = <0x6>; // EMI2 | ||
43 | |||
44 | emi2_slot1: mdio@0 { // Slot 1 XAUI (FM2) | ||
45 | reg = <0>; | ||
46 | #address-cells = <1>; | ||
47 | #size-cells = <0>; | ||
48 | |||
49 | phy_xgmii_slot1: ethernet-phy@0 { | ||
50 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
51 | reg = <4>; | ||
52 | }; | ||
53 | }; | ||
54 | |||
55 | emi2_slot2: mdio@2 { // Slot 2 XAUI (FM1) | ||
56 | reg = <2>; | ||
57 | #address-cells = <1>; | ||
58 | #size-cells = <0>; | ||
59 | |||
60 | phy_xgmii_slot2: ethernet-phy@4 { | ||
61 | compatible = "ethernet-phy-ieee802.3-c45"; | ||
62 | reg = <0>; | ||
63 | }; | ||
64 | }; | ||
65 | }; | ||
66 | }; | ||
67 | |||
68 | /* The parent MDIO bus. */ | ||
69 | xmdio0: mdio@f1000 { | ||
70 | #address-cells = <1>; | ||
71 | #size-cells = <0>; | ||
72 | compatible = "fsl,fman-xmdio"; | ||
73 | reg = <0xf1000 0x1000>; | ||
74 | interrupts = <100 1 0 0>; | ||
75 | }; | ||
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index f4d8c7105fcd..e45fa5c0aa20 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -353,14 +353,6 @@ Why: Internal alias support has been present in module-init-tools for some | |||
353 | 353 | ||
354 | Who: Wey-Yi Guy <wey-yi.w.guy@intel.com> | 354 | Who: Wey-Yi Guy <wey-yi.w.guy@intel.com> |
355 | 355 | ||
356 | --------------------------- | ||
357 | |||
358 | What: xt_NOTRACK | ||
359 | Files: net/netfilter/xt_NOTRACK.c | ||
360 | When: April 2011 | ||
361 | Why: Superseded by xt_CT | ||
362 | Who: Netfilter developer team <netfilter-devel@vger.kernel.org> | ||
363 | |||
364 | ---------------------------- | 356 | ---------------------------- |
365 | 357 | ||
366 | What: IRQF_DISABLED | 358 | What: IRQF_DISABLED |
diff --git a/Documentation/filesystems/nfs/nfsroot.txt b/Documentation/filesystems/nfs/nfsroot.txt index ffdd9d866ad7..2d66ed688125 100644 --- a/Documentation/filesystems/nfs/nfsroot.txt +++ b/Documentation/filesystems/nfs/nfsroot.txt | |||
@@ -78,7 +78,8 @@ nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>] | |||
78 | flags = hard, nointr, noposix, cto, ac | 78 | flags = hard, nointr, noposix, cto, ac |
79 | 79 | ||
80 | 80 | ||
81 | ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf> | 81 | ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>: |
82 | <dns0-ip>:<dns1-ip> | ||
82 | 83 | ||
83 | This parameter tells the kernel how to configure IP addresses of devices | 84 | This parameter tells the kernel how to configure IP addresses of devices |
84 | and also how to set up the IP routing table. It was originally called | 85 | and also how to set up the IP routing table. It was originally called |
@@ -158,6 +159,13 @@ ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf> | |||
158 | 159 | ||
159 | Default: any | 160 | Default: any |
160 | 161 | ||
162 | <dns0-ip> IP address of first nameserver. | ||
163 | Value gets exported by /proc/net/pnp which is often linked | ||
164 | on embedded systems by /etc/resolv.conf. | ||
165 | |||
166 | <dns1-ip> IP address of secound nameserver. | ||
167 | Same as above. | ||
168 | |||
161 | 169 | ||
162 | nfsrootdebug | 170 | nfsrootdebug |
163 | 171 | ||
diff --git a/Documentation/infiniband/ipoib.txt b/Documentation/infiniband/ipoib.txt index 64eeb55d0c09..f2cfe265e836 100644 --- a/Documentation/infiniband/ipoib.txt +++ b/Documentation/infiniband/ipoib.txt | |||
@@ -24,6 +24,9 @@ Partitions and P_Keys | |||
24 | The P_Key for any interface is given by the "pkey" file, and the | 24 | The P_Key for any interface is given by the "pkey" file, and the |
25 | main interface for a subinterface is in "parent." | 25 | main interface for a subinterface is in "parent." |
26 | 26 | ||
27 | Child interface create/delete can also be done using IPoIB's | ||
28 | rtnl_link_ops, where childs created using either way behave the same. | ||
29 | |||
27 | Datagram vs Connected modes | 30 | Datagram vs Connected modes |
28 | 31 | ||
29 | The IPoIB driver supports two modes of operation: datagram and | 32 | The IPoIB driver supports two modes of operation: datagram and |
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index 8f3ae4a6147e..a173d2a879f5 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -75,9 +75,10 @@ folder: | |||
75 | 75 | ||
76 | There is a special folder for debugging information: | 76 | There is a special folder for debugging information: |
77 | 77 | ||
78 | # ls /sys/kernel/debug/batman_adv/bat0/ | 78 | # ls /sys/kernel/debug/batman_adv/bat0/ |
79 | # bla_claim_table log socket transtable_local | 79 | # bla_backbone_table log transtable_global |
80 | # gateways originators transtable_global vis_data | 80 | # bla_claim_table originators transtable_local |
81 | # gateways socket vis_data | ||
81 | 82 | ||
82 | Some of the files contain all sort of status information regard- | 83 | Some of the files contain all sort of status information regard- |
83 | ing the mesh network. For example, you can view the table of | 84 | ing the mesh network. For example, you can view the table of |
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 6b1c7110534e..10a015c384b8 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt | |||
@@ -752,12 +752,22 @@ xmit_hash_policy | |||
752 | protocol information to generate the hash. | 752 | protocol information to generate the hash. |
753 | 753 | ||
754 | Uses XOR of hardware MAC addresses and IP addresses to | 754 | Uses XOR of hardware MAC addresses and IP addresses to |
755 | generate the hash. The formula is | 755 | generate the hash. The IPv4 formula is |
756 | 756 | ||
757 | (((source IP XOR dest IP) AND 0xffff) XOR | 757 | (((source IP XOR dest IP) AND 0xffff) XOR |
758 | ( source MAC XOR destination MAC )) | 758 | ( source MAC XOR destination MAC )) |
759 | modulo slave count | 759 | modulo slave count |
760 | 760 | ||
761 | The IPv6 formula is | ||
762 | |||
763 | hash = (source ip quad 2 XOR dest IP quad 2) XOR | ||
764 | (source ip quad 3 XOR dest IP quad 3) XOR | ||
765 | (source ip quad 4 XOR dest IP quad 4) | ||
766 | |||
767 | (((hash >> 24) XOR (hash >> 16) XOR (hash >> 8) XOR hash) | ||
768 | XOR (source MAC XOR destination MAC)) | ||
769 | modulo slave count | ||
770 | |||
761 | This algorithm will place all traffic to a particular | 771 | This algorithm will place all traffic to a particular |
762 | network peer on the same slave. For non-IP traffic, | 772 | network peer on the same slave. For non-IP traffic, |
763 | the formula is the same as for the layer2 transmit | 773 | the formula is the same as for the layer2 transmit |
@@ -778,19 +788,29 @@ xmit_hash_policy | |||
778 | slaves, although a single connection will not span | 788 | slaves, although a single connection will not span |
779 | multiple slaves. | 789 | multiple slaves. |
780 | 790 | ||
781 | The formula for unfragmented TCP and UDP packets is | 791 | The formula for unfragmented IPv4 TCP and UDP packets is |
782 | 792 | ||
783 | ((source port XOR dest port) XOR | 793 | ((source port XOR dest port) XOR |
784 | ((source IP XOR dest IP) AND 0xffff) | 794 | ((source IP XOR dest IP) AND 0xffff) |
785 | modulo slave count | 795 | modulo slave count |
786 | 796 | ||
787 | For fragmented TCP or UDP packets and all other IP | 797 | The formula for unfragmented IPv6 TCP and UDP packets is |
788 | protocol traffic, the source and destination port | 798 | |
799 | hash = (source port XOR dest port) XOR | ||
800 | ((source ip quad 2 XOR dest IP quad 2) XOR | ||
801 | (source ip quad 3 XOR dest IP quad 3) XOR | ||
802 | (source ip quad 4 XOR dest IP quad 4)) | ||
803 | |||
804 | ((hash >> 24) XOR (hash >> 16) XOR (hash >> 8) XOR hash) | ||
805 | modulo slave count | ||
806 | |||
807 | For fragmented TCP or UDP packets and all other IPv4 and | ||
808 | IPv6 protocol traffic, the source and destination port | ||
789 | information is omitted. For non-IP traffic, the | 809 | information is omitted. For non-IP traffic, the |
790 | formula is the same as for the layer2 transmit hash | 810 | formula is the same as for the layer2 transmit hash |
791 | policy. | 811 | policy. |
792 | 812 | ||
793 | This policy is intended to mimic the behavior of | 813 | The IPv4 policy is intended to mimic the behavior of |
794 | certain switches, notably Cisco switches with PFC2 as | 814 | certain switches, notably Cisco switches with PFC2 as |
795 | well as some Foundry and IBM products. | 815 | well as some Foundry and IBM products. |
796 | 816 | ||
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index ca447b35b833..c7fc10724948 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -439,7 +439,9 @@ tcp_stdurg - BOOLEAN | |||
439 | tcp_synack_retries - INTEGER | 439 | tcp_synack_retries - INTEGER |
440 | Number of times SYNACKs for a passive TCP connection attempt will | 440 | Number of times SYNACKs for a passive TCP connection attempt will |
441 | be retransmitted. Should not be higher than 255. Default value | 441 | be retransmitted. Should not be higher than 255. Default value |
442 | is 5, which corresponds to ~180seconds. | 442 | is 5, which corresponds to 31seconds till the last retransmission |
443 | with the current initial RTO of 1second. With this the final timeout | ||
444 | for a passive TCP connection will happen after 63seconds. | ||
443 | 445 | ||
444 | tcp_syncookies - BOOLEAN | 446 | tcp_syncookies - BOOLEAN |
445 | Only valid when the kernel was compiled with CONFIG_SYNCOOKIES | 447 | Only valid when the kernel was compiled with CONFIG_SYNCOOKIES |
@@ -465,20 +467,37 @@ tcp_syncookies - BOOLEAN | |||
465 | tcp_fastopen - INTEGER | 467 | tcp_fastopen - INTEGER |
466 | Enable TCP Fast Open feature (draft-ietf-tcpm-fastopen) to send data | 468 | Enable TCP Fast Open feature (draft-ietf-tcpm-fastopen) to send data |
467 | in the opening SYN packet. To use this feature, the client application | 469 | in the opening SYN packet. To use this feature, the client application |
468 | must not use connect(). Instead, it should use sendmsg() or sendto() | 470 | must use sendmsg() or sendto() with MSG_FASTOPEN flag rather than |
469 | with MSG_FASTOPEN flag which performs a TCP handshake automatically. | 471 | connect() to perform a TCP handshake automatically. |
470 | 472 | ||
471 | The values (bitmap) are: | 473 | The values (bitmap) are |
472 | 1: Enables sending data in the opening SYN on the client | 474 | 1: Enables sending data in the opening SYN on the client. |
473 | 5: Enables sending data in the opening SYN on the client regardless | 475 | 2: Enables TCP Fast Open on the server side, i.e., allowing data in |
474 | of cookie availability. | 476 | a SYN packet to be accepted and passed to the application before |
477 | 3-way hand shake finishes. | ||
478 | 4: Send data in the opening SYN regardless of cookie availability and | ||
479 | without a cookie option. | ||
480 | 0x100: Accept SYN data w/o validating the cookie. | ||
481 | 0x200: Accept data-in-SYN w/o any cookie option present. | ||
482 | 0x400/0x800: Enable Fast Open on all listeners regardless of the | ||
483 | TCP_FASTOPEN socket option. The two different flags designate two | ||
484 | different ways of setting max_qlen without the TCP_FASTOPEN socket | ||
485 | option. | ||
475 | 486 | ||
476 | Default: 0 | 487 | Default: 0 |
477 | 488 | ||
489 | Note that the client & server side Fast Open flags (1 and 2 | ||
490 | respectively) must be also enabled before the rest of flags can take | ||
491 | effect. | ||
492 | |||
493 | See include/net/tcp.h and the code for more details. | ||
494 | |||
478 | tcp_syn_retries - INTEGER | 495 | tcp_syn_retries - INTEGER |
479 | Number of times initial SYNs for an active TCP connection attempt | 496 | Number of times initial SYNs for an active TCP connection attempt |
480 | will be retransmitted. Should not be higher than 255. Default value | 497 | will be retransmitted. Should not be higher than 255. Default value |
481 | is 5, which corresponds to ~180seconds. | 498 | is 6, which corresponds to 63seconds till the last restransmission |
499 | with the current initial RTO of 1second. With this the final timeout | ||
500 | for an active TCP connection attempt will happen after 127seconds. | ||
482 | 501 | ||
483 | tcp_timestamps - BOOLEAN | 502 | tcp_timestamps - BOOLEAN |
484 | Enable timestamps as defined in RFC1323. | 503 | Enable timestamps as defined in RFC1323. |
diff --git a/Documentation/networking/stmmac.txt b/Documentation/networking/stmmac.txt index c676b9cedbd0..ef9ee71b4d7f 100644 --- a/Documentation/networking/stmmac.txt +++ b/Documentation/networking/stmmac.txt | |||
@@ -173,7 +173,6 @@ Where: | |||
173 | For MDIO bus The we have: | 173 | For MDIO bus The we have: |
174 | 174 | ||
175 | struct stmmac_mdio_bus_data { | 175 | struct stmmac_mdio_bus_data { |
176 | int bus_id; | ||
177 | int (*phy_reset)(void *priv); | 176 | int (*phy_reset)(void *priv); |
178 | unsigned int phy_mask; | 177 | unsigned int phy_mask; |
179 | int *irqs; | 178 | int *irqs; |
@@ -181,7 +180,6 @@ For MDIO bus The we have: | |||
181 | }; | 180 | }; |
182 | 181 | ||
183 | Where: | 182 | Where: |
184 | o bus_id: bus identifier; | ||
185 | o phy_reset: hook to reset the phy device attached to the bus. | 183 | o phy_reset: hook to reset the phy device attached to the bus. |
186 | o phy_mask: phy mask passed when register the MDIO bus within the driver. | 184 | o phy_mask: phy mask passed when register the MDIO bus within the driver. |
187 | o irqs: list of IRQs, one per PHY. | 185 | o irqs: list of IRQs, one per PHY. |
@@ -230,9 +228,6 @@ there are two MAC cores: one MAC is for MDIO Bus/PHY emulation | |||
230 | with fixed_link support. | 228 | with fixed_link support. |
231 | 229 | ||
232 | static struct stmmac_mdio_bus_data stmmac1_mdio_bus = { | 230 | static struct stmmac_mdio_bus_data stmmac1_mdio_bus = { |
233 | .bus_id = 1, | ||
234 | | | ||
235 | |-> phy device on the bus_id 1 | ||
236 | .phy_reset = phy_reset; | 231 | .phy_reset = phy_reset; |
237 | | | 232 | | |
238 | |-> function to provide the phy_reset on this board | 233 | |-> function to provide the phy_reset on this board |