Skip to content

Commit

Permalink
Merge pull request #5 from scanf/minor-rewording
Browse files Browse the repository at this point in the history
Minor typos and rewording from @scanf
  • Loading branch information
netoptimizer committed Feb 13, 2017
2 parents 99a7f43 + f64b981 commit cb06593
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Page per packet

.. memory model
On RX many NIC drivers splitup a memory page, to share it for multiple
On RX many NIC drivers split up a memory page, to share it for multiple
packets, in-order to conserve memory. Doing so complicates handling
and accounting of these memory pages, which affects performance.
Particularly the extra atomic refcnt handling needed for the page can
Expand Down
2 changes: 1 addition & 1 deletion kernel/Documentation/networking/XDP/end-user/coding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ packet-data. Thus, eBPF uses some "direct access" instruction for
accessing this data, but for safety this need to pass the in-kernel
validator.

Walking the packet data, requires writing the boundry checks in a
Walking the packet data, requires writing the boundary checks in a
specialized manor.

Like::
Expand Down
2 changes: 1 addition & 1 deletion kernel/Documentation/networking/XDP/end-user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
End-user documentation
======================

This part of the XDP documentation is targetted end-users, describing
This part of the XDP documentation is targeted at end-users, describing
how to use and setup XDP.

The XDP program running (inside the driver hook point) is an eBPF
Expand Down
2 changes: 1 addition & 1 deletion kernel/samples/bpf/xdp_ddos01_blacklist_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void stats_print_headers(void)
{
int debug_notice_interval = 3;
char msg[] =
"\nDebug outout avail via:\n"
"\nDebug output available via:\n"
" sudo cat /sys/kernel/debug/tracing/trace_pipe\n\n";
printf(msg, debug_notice_interval);
}
Expand Down

0 comments on commit cb06593

Please sign in to comment.