netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] r8169: Replace TX_DMA_BURST
@ 2015-08-17 17:42 Corcodel Marian
  2015-08-17 18:20 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Corcodel Marian @ 2015-08-17 17:42 UTC (permalink / raw)
  To: netdev; +Cc: Corcodel Marian

Replace TX_DMA_BURST with 3 wich corespond on 128
 descriptors  send on Tx burst DMA .Packet size consist in unit of 128
 descriptors.  Ensure to  keep this units grouped


Signed-off-by: Corcodel Marian <corcodel.marian@gmail.com>

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index fecb7c9..1994ccb 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -85,7 +85,7 @@
 static const int multicast_filter_limit = 32;
 
 #define MAX_READ_REQUEST_SHIFT	12
-#define TX_DMA_BURST	7	/* Maximum PCI burst, '7' is unlimited */
+#define TX_DMA_BURST	3	/* Maximum PCI burst, '7' is unlimited */
 #define InterFrameGap	0x03	/* 3 means InterFrameGap = the shortest one */
 
 #define R8169_REGS_SIZE		256
-- 
2.1.4

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

end of thread, other threads:[~2015-08-17 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 17:42 [PATCH net-next] r8169: Replace TX_DMA_BURST Corcodel Marian
2015-08-17 18:20 ` Sergei Shtylyov

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