···501501502502static short mif_flags;503503504504-/* Get the inteface configuration from the kernel. */504504+/* Get the interface configuration from the kernel. */505505static int if_getconfig(char *ifname)506506{507507 struct ifreq ifr;
+1-1
Documentation/networking/ip-sysctl.txt
···183183 for triggering fast retransmit when the amount of outstanding data is184184 small and when no previously unsent data can be transmitted (such185185 that limited transmit could be used). Also controls the use of186186- Tail loss probe (TLP) that converts RTOs occuring due to tail186186+ Tail loss probe (TLP) that converts RTOs occurring due to tail187187 losses into fast recovery (draft-dukkipati-tcpm-tcp-loss-probe-01).188188 Possible values:189189 0 disables ER
+7-7
Documentation/networking/netlink_mmap.txt
···5454 copied to the ring on transmission, nullifying most of the performance gains.5555Dumps of kernel databases automatically support memory mapped I/O.56565757-Conversion of the transmit path involves changing message contruction to5757+Conversion of the transmit path involves changing message construction to5858use memory from the TX ring instead of (usually) a buffer declared on the5959stack and setting up the frame header approriately. Optionally poll() can6060be used to wait for free frames in the TX ring.···6565RX and TX rings6666----------------67676868-Each ring contains a number of continous memory blocks, containing frames of6969-fixed size dependant on the parameters used for ring setup.6868+Each ring contains a number of continuous memory blocks, containing frames of6969+fixed size dependent on the parameters used for ring setup.70707171Ring: [ block 0 ]7272 [ frame 0 ]···8080 [ frame 2 * n + 1 ]81818282The blocks are only visible to the kernel, from the point of view of user-space8383-the ring just contains the frames in a continous memory zone.8383+the ring just contains the frames in a continuous memory zone.84848585The ring parameters used for setting up the ring are defined as follows:8686···9191 unsigned int nm_frame_nr;9292};93939494-Frames are grouped into blocks, where each block is a continous region of memory9494+Frames are grouped into blocks, where each block is a continuous region of memory9595and holds nm_block_size / nm_frame_size frames. The total number of frames in9696the ring is nm_frame_nr. The following invariants hold:9797···113113114114- nm_frame_nr must equal the actual number of frames as specified above.115115116116-When the kernel can't allocate phsyically continous memory for a ring block,117117-it will fall back to use physically discontinous memory. This might affect116116+When the kernel can't allocate phsyically continuous memory for a ring block,117117+it will fall back to use physically discontinuous memory. This might affect118118performance negatively, in order to avoid this the nm_frame_size parameter119119should be chosen to be as small as possible for the required frame size and120120the number of blocks should be increased instead.