Skip to content

Commit 186c6bb

Browse files
gobenjidavem330
authored andcommitted
net: fix typos in Documentation/networking/scaling.txt
The second hunk fixes rps_sock_flow_table but has to re-wrap the paragraph. Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b64b73d commit 186c6bb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Documentation/networking/scaling.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ applying a filter to each packet that assigns it to one of a small number
2727
of logical flows. Packets for each flow are steered to a separate receive
2828
queue, which in turn can be processed by separate CPUs. This mechanism is
2929
generally known as “Receive-side Scaling” (RSS). The goal of RSS and
30-
the other scaling techniques to increase performance uniformly.
30+
the other scaling techniques is to increase performance uniformly.
3131
Multi-queue distribution can also be used for traffic prioritization, but
3232
that is not the focus of these techniques.
3333

@@ -186,10 +186,10 @@ are steered using plain RPS. Multiple table entries may point to the
186186
same CPU. Indeed, with many flows and few CPUs, it is very likely that
187187
a single application thread handles flows with many different flow hashes.
188188

189-
rps_sock_table is a global flow table that contains the *desired* CPU for
190-
flows: the CPU that is currently processing the flow in userspace. Each
191-
table value is a CPU index that is updated during calls to recvmsg and
192-
sendmsg (specifically, inet_recvmsg(), inet_sendmsg(), inet_sendpage()
189+
rps_sock_flow_table is a global flow table that contains the *desired* CPU
190+
for flows: the CPU that is currently processing the flow in userspace.
191+
Each table value is a CPU index that is updated during calls to recvmsg
192+
and sendmsg (specifically, inet_recvmsg(), inet_sendmsg(), inet_sendpage()
193193
and tcp_splice_read()).
194194

195195
When the scheduler moves a thread to a new CPU while it has outstanding

0 commit comments

Comments
 (0)