diff options
Diffstat (limited to 'Documentation/sysctl/net.txt')
-rw-r--r-- | Documentation/sysctl/net.txt | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt index 04892b821157..666594b43cff 100644 --- a/Documentation/sysctl/net.txt +++ b/Documentation/sysctl/net.txt | |||
@@ -120,10 +120,14 @@ seconds. | |||
120 | warnings | 120 | warnings |
121 | -------- | 121 | -------- |
122 | 122 | ||
123 | This controls console messages from the networking stack that can occur because | 123 | This sysctl is now unused. |
124 | of problems on the network like duplicate address or bad checksums. Normally, | 124 | |
125 | this should be enabled, but if the problem persists the messages can be | 125 | This was used to control console messages from the networking stack that |
126 | disabled. | 126 | occur because of problems on the network like duplicate address or bad |
127 | checksums. | ||
128 | |||
129 | These messages are now emitted at KERN_DEBUG and can generally be enabled | ||
130 | and controlled by the dynamic_debug facility. | ||
127 | 131 | ||
128 | netdev_budget | 132 | netdev_budget |
129 | ------------- | 133 | ------------- |
@@ -138,6 +142,28 @@ netdev_max_backlog | |||
138 | Maximum number of packets, queued on the INPUT side, when the interface | 142 | Maximum number of packets, queued on the INPUT side, when the interface |
139 | receives packets faster than kernel can process them. | 143 | receives packets faster than kernel can process them. |
140 | 144 | ||
145 | netdev_rss_key | ||
146 | -------------- | ||
147 | |||
148 | RSS (Receive Side Scaling) enabled drivers use a 40 bytes host key that is | ||
149 | randomly generated. | ||
150 | Some user space might need to gather its content even if drivers do not | ||
151 | provide ethtool -x support yet. | ||
152 | |||
153 | myhost:~# cat /proc/sys/net/core/netdev_rss_key | ||
154 | 84:50:f4:00:a8:15:d1:a7:e9:7f:1d:60:35:c7:47:25:42:97:74:ca:56:bb:b6:a1:d8: ... (52 bytes total) | ||
155 | |||
156 | File contains nul bytes if no driver ever called netdev_rss_key_fill() function. | ||
157 | Note: | ||
158 | /proc/sys/net/core/netdev_rss_key contains 52 bytes of key, | ||
159 | but most drivers only use 40 bytes of it. | ||
160 | |||
161 | myhost:~# ethtool -x eth0 | ||
162 | RX flow hash indirection table for eth0 with 8 RX ring(s): | ||
163 | 0: 0 1 2 3 4 5 6 7 | ||
164 | RSS hash key: | ||
165 | 84:50:f4:00:a8:15:d1:a7:e9:7f:1d:60:35:c7:47:25:42:97:74:ca:56:bb:b6:a1:d8:43:e3:c9:0c:fd:17:55:c2:3a:4d:69:ed:f1:42:89 | ||
166 | |||
141 | netdev_tstamp_prequeue | 167 | netdev_tstamp_prequeue |
142 | ---------------------- | 168 | ---------------------- |
143 | 169 | ||