git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
Documentation
/
networking
/
packet_mmap.txt
diff --git
a/Documentation/networking/packet_mmap.txt
b/Documentation/networking/packet_mmap.txt
index
091b2d2
..
aaf99d5
100644
(file)
--- a/
Documentation/networking/packet_mmap.txt
+++ b/
Documentation/networking/packet_mmap.txt
@@
-1,11
+1,3
@@
-
-DaveM:
-
-If you agree with it I will send two small patches to modify
-kernel's configure help.
-
- Ulisses
-
--------------------------------------------------------------------------------
+ ABSTRACT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+ ABSTRACT
--------------------------------------------------------------------------------
@@
-48,7
+40,7
@@
network interface card supports some sort of interrupt load mitigation or
+ How to use CONFIG_PACKET_MMAP
--------------------------------------------------------------------------------
+ How to use CONFIG_PACKET_MMAP
--------------------------------------------------------------------------------
-From the user standpoint, you should use the higher level libpcap library, wich
+From the user standpoint, you should use the higher level libpcap library, w
h
ich
is a de facto standard, portable across nearly all operating systems
including Win32.
is a de facto standard, portable across nearly all operating systems
including Win32.
@@
-225,8
+217,8
@@
called pg_vec, its size limits the number of blocks that can be allocated.
kmalloc allocates any number of bytes of phisically contiguous memory from
a pool of pre-determined sizes. This pool of memory is mantained by the slab
kmalloc allocates any number of bytes of phisically contiguous memory from
a pool of pre-determined sizes. This pool of memory is mantained by the slab
-allocator wich is at the end the responsible for doing the allocation and
-hence wich imposes the maximum memory that kmalloc can allocate.
+allocator w
h
ich is at the end the responsible for doing the allocation and
+hence w
h
ich imposes the maximum memory that kmalloc can allocate.
In a 2.4/2.6 kernel and the i386 architecture, the limit is 131072 bytes. The
predetermined sizes that kmalloc uses can be checked in the "size-<bytes>"
In a 2.4/2.6 kernel and the i386 architecture, the limit is 131072 bytes. The
predetermined sizes that kmalloc uses can be checked in the "size-<bytes>"
@@
-262,7
+254,7
@@
and, the number of frames be
<block number> * <block size> / <frame size>
<block number> * <block size> / <frame size>
-Sup
osse the following parameters, w
ich apply for 2.6 kernel and an
+Sup
pose the following parameters, wh
ich apply for 2.6 kernel and an
i386 architecture:
<size-max> = 131072 bytes
i386 architecture:
<size-max> = 131072 bytes
@@
-368,7
+360,7
@@
TP_STATUS_LOSING : indicates there were packet drops from last time
statistics where checked with getsockopt() and
the PACKET_STATISTICS option.
statistics where checked with getsockopt() and
the PACKET_STATISTICS option.
-TP_STATUS_CSUMNOTREADY: currently it's used for outgoing IP packets wich
+TP_STATUS_CSUMNOTREADY: currently it's used for outgoing IP packets w
h
ich
it's checksum will be done in hardware. So while
reading the packet we should not try to check the
checksum.
it's checksum will be done in hardware. So while
reading the packet we should not try to check the
checksum.
@@
-405,8
+397,3
@@
then poll for frames.
Jesse Brandeburg, for fixing my grammathical/spelling errors
Jesse Brandeburg, for fixing my grammathical/spelling errors
->>> EOF
--
-To unsubscribe from this list: send the line "unsubscribe linux-net" in
-the body of a message to majordomo@vger.kernel.org
-More majordomo info at http://vger.kernel.org/majordomo-info.html
\ No newline at end of file