Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: doc: fix many typos in scaling.txt

Fix some trivial typos.

Signed-off-by: Shan Wei <shanwei88@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Shan Wei and committed by
David S. Miller
08f4fc9d 72861ae7

+4 -4
+4 -4
Documentation/networking/scaling.txt
··· 208 208 CPU's backlog when a packet in this flow was last enqueued. Each backlog 209 209 queue has a head counter that is incremented on dequeue. A tail counter 210 210 is computed as head counter + queue length. In other words, the counter 211 - in rps_dev_flow_table[i] records the last element in flow i that has 211 + in rps_dev_flow[i] records the last element in flow i that has 212 212 been enqueued onto the currently designated CPU for flow i (of course, 213 213 entry i is actually selected by hash and multiple flows may hash to the 214 214 same entry i). ··· 224 224 225 225 - The current CPU's queue head counter >= the recorded tail counter 226 226 value in rps_dev_flow[i] 227 - - The current CPU is unset (equal to NR_CPUS) 227 + - The current CPU is unset (equal to RPS_NO_CPU) 228 228 - The current CPU is offline 229 229 230 230 After this check, the packet is sent to the (possibly updated) current ··· 235 235 236 236 ==== RFS Configuration 237 237 238 - RFS is only available if the kconfig symbol CONFIG_RFS is enabled (on 238 + RFS is only available if the kconfig symbol CONFIG_RPS is enabled (on 239 239 by default for SMP). The functionality remains disabled until explicitly 240 240 configured. The number of entries in the global flow table is set through: 241 241 ··· 258 258 would normally be configured to the same value as rps_sock_flow_entries. 259 259 For a multi-queue device, the rps_flow_cnt for each queue might be 260 260 configured as rps_sock_flow_entries / N, where N is the number of 261 - queues. So for instance, if rps_flow_entries is set to 32768 and there 261 + queues. So for instance, if rps_sock_flow_entries is set to 32768 and there 262 262 are 16 configured receive queues, rps_flow_cnt for each queue might be 263 263 configured as 2048. 264 264