lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080615211030.M80450@visp.net.lb>
Date:	Mon, 16 Jun 2008 00:26:48 +0300
From:	"Denys Fedoryshchenko" <denys@...p.net.lb>
To:	netdev@...r.kernel.org
Cc:	romieu@...zoreil.com
Subject: r8169 rx descriptors

>From NetBSD sources
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/dev/ic/rtl8169.c?rev=1.14.2.7&content-type=text/plain&logsort=rev&f=h&only_with_tag=netbsd-3

 *      o RX and TX DMA rings can have up to 1024 descriptors
 *        (the 8139C+ allows a maximum of 64)



Why in Linux source:

#define NUM_TX_DESC     64      /* Number of Tx descriptor registers */
#define NUM_RX_DESC     256     /* Number of Rx descriptor registers */

Is it possible to do them changeable over ethtool -g ?
Maybe NetBSD developers signed NDA and have access to datasheets?

Also i seen in one patch from Realtek , something similar to
-#define RX_DMA_BURST    6       /* Maximum PCI burst, '6' is 1024 */
+#define RX_DMA_BURST    7       /* Maximum PCI burst, '6' is 1024 */

Why it is reverted or not applied?


In sources from Realtek website it is 
#define RX_DMA_BURST	7	/* Maximum PCI burst, '7' is unlimited */
#define TX_DMA_BURST	7	/* Maximum PCI burst, '7' is unlimited */

I will try to change burst settings on my router, and waiting comments about 

--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ