Skip to content

Commit 3dd17ed

Browse files
standby24x7davem330
authored andcommitted
doc:networking: Fix typo in documentation/networking
Correct spelling typo Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 53edee2 commit 3dd17ed

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎Documentation/networking/ifenslave.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ int main(int argc, char *argv[])
501501

502502
static short mif_flags;
503503

504-
/* Get the inteface configuration from the kernel. */
504+
/* Get the interface configuration from the kernel. */
505505
static int if_getconfig(char *ifname)
506506
{
507507
struct ifreq ifr;

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ tcp_early_retrans - INTEGER
183183
for triggering fast retransmit when the amount of outstanding data is
184184
small and when no previously unsent data can be transmitted (such
185185
that limited transmit could be used). Also controls the use of
186-
Tail loss probe (TLP) that converts RTOs occuring due to tail
186+
Tail loss probe (TLP) that converts RTOs occurring due to tail
187187
losses into fast recovery (draft-dukkipati-tcpm-tcp-loss-probe-01).
188188
Possible values:
189189
0 disables ER

‎Documentation/networking/netlink_mmap.txt‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ it will use an allocated socket buffer as usual and the contents will be
5454
copied to the ring on transmission, nullifying most of the performance gains.
5555
Dumps of kernel databases automatically support memory mapped I/O.
5656

57-
Conversion of the transmit path involves changing message contruction to
57+
Conversion of the transmit path involves changing message construction to
5858
use memory from the TX ring instead of (usually) a buffer declared on the
5959
stack and setting up the frame header approriately. Optionally poll() can
6060
be used to wait for free frames in the TX ring.
@@ -65,8 +65,8 @@ Structured and definitions for using memory mapped I/O are contained in
6565
RX and TX rings
6666
----------------
6767

68-
Each ring contains a number of continous memory blocks, containing frames of
69-
fixed size dependant on the parameters used for ring setup.
68+
Each ring contains a number of continuous memory blocks, containing frames of
69+
fixed size dependent on the parameters used for ring setup.
7070

7171
Ring: [ block 0 ]
7272
[ frame 0 ]
@@ -80,7 +80,7 @@ Ring: [ block 0 ]
8080
[ frame 2 * n + 1 ]
8181

8282
The blocks are only visible to the kernel, from the point of view of user-space
83-
the ring just contains the frames in a continous memory zone.
83+
the ring just contains the frames in a continuous memory zone.
8484

8585
The ring parameters used for setting up the ring are defined as follows:
8686

@@ -91,7 +91,7 @@ struct nl_mmap_req {
9191
unsigned int nm_frame_nr;
9292
};
9393

94-
Frames are grouped into blocks, where each block is a continous region of memory
94+
Frames are grouped into blocks, where each block is a continuous region of memory
9595
and holds nm_block_size / nm_frame_size frames. The total number of frames in
9696
the ring is nm_frame_nr. The following invariants hold:
9797

@@ -113,8 +113,8 @@ Some parameters are constrained, specifically:
113113

114114
- nm_frame_nr must equal the actual number of frames as specified above.
115115

116-
When the kernel can't allocate phsyically continous memory for a ring block,
117-
it will fall back to use physically discontinous memory. This might affect
116+
When the kernel can't allocate phsyically continuous memory for a ring block,
117+
it will fall back to use physically discontinuous memory. This might affect
118118
performance negatively, in order to avoid this the nm_frame_size parameter
119119
should be chosen to be as small as possible for the required frame size and
120120
the number of blocks should be increased instead.

0 commit comments

Comments
 (0)