public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v3.16] r8169: Increase no descriptors on max.
@ 2016-03-01  7:27 Corcodel Marian
  2016-03-01 18:31 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Corcodel Marian @ 2016-03-01  7:27 UTC (permalink / raw)
  To: netdev; +Cc: Francois Romieu, Corcodel Marian

  This patch increase rx/tx on maximum allowed 1024 4-duble-words
  descriptors.

Signed-off-by: Corcodel Marian <asd@marian1000.go.ro>
---
 drivers/net/ethernet/realtek/r8169.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index e215812..5fd3fca 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -84,8 +84,8 @@ static const int multicast_filter_limit = 32;
 
 #define R8169_REGS_SIZE		256
 #define R8169_NAPI_WEIGHT	64
-#define NUM_TX_DESC	64	/* Number of Tx descriptor registers */
-#define NUM_RX_DESC	256U	/* Number of Rx descriptor registers */
+#define NUM_TX_DESC	1024	/* Number of Tx descriptor registers */
+#define NUM_RX_DESC	1024U	/* Number of Rx descriptor registers */
 #define R8169_TX_RING_BYTES	(NUM_TX_DESC * sizeof(struct TxDesc))
 #define R8169_RX_RING_BYTES	(NUM_RX_DESC * sizeof(struct RxDesc))
 
-- 
2.1.4

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

end of thread, other threads:[~2016-03-01 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01  7:27 [PATCH net v3.16] r8169: Increase no descriptors on max Corcodel Marian
2016-03-01 18:31 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox