netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* r8169 rx descriptors
@ 2008-06-15 21:26 Denys Fedoryshchenko
  2008-06-15 22:04 ` Francois Romieu
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Fedoryshchenko @ 2008-06-15 21:26 UTC (permalink / raw)
  To: netdev; +Cc: romieu

>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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-16 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-15 21:26 r8169 rx descriptors Denys Fedoryshchenko
2008-06-15 22:04 ` Francois Romieu
2008-06-16 10:37   ` Denys Fedoryshchenko
2008-06-16 20:34     ` Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).