[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171128211204.12234-1-skhare@vmware.com>
Date: Tue, 28 Nov 2017 13:12:04 -0800
From: Shrikrishna Khare <skhare@...are.com>
To: <pv-drivers@...are.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Shrikrishna Khare <skhare@...are.com>
Subject: [PATCH net-next] vmxnet3: increase default rx ring sizes
We often notice rx packet drops due to small default rx ring sizes and
solve the problem by increasing the ring sizes. This patch increases the
default rx ring sizes thereby reducing the probability of rx packet
drops out of the box.
Signed-off-by: Shrikrishna Khare <skhare@...are.com>
Acked-by: Jin Heo <heoj@...are.com>
Acked-by: Guolin Yang <gyang@...are.com>
Acked-by: Boon Ang <bang@...are.com>
---
drivers/net/vmxnet3/vmxnet3_int.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
index 9c51b8be0038..5ba222920e80 100644
--- a/drivers/net/vmxnet3/vmxnet3_int.h
+++ b/drivers/net/vmxnet3/vmxnet3_int.h
@@ -69,10 +69,10 @@
/*
* Version numbers
*/
-#define VMXNET3_DRIVER_VERSION_STRING "1.4.a.0-k"
+#define VMXNET3_DRIVER_VERSION_STRING "1.4.11.0-k"
/* a 32-bit int, each byte encode a verion number in VMXNET3_DRIVER_VERSION */
-#define VMXNET3_DRIVER_VERSION_NUM 0x01040a00
+#define VMXNET3_DRIVER_VERSION_NUM 0x01040b00
#if defined(CONFIG_PCI_MSI)
/* RSS only makes sense if MSI-X is supported. */
@@ -416,8 +416,8 @@ struct vmxnet3_adapter {
/* must be a multiple of VMXNET3_RING_SIZE_ALIGN */
#define VMXNET3_DEF_TX_RING_SIZE 512
-#define VMXNET3_DEF_RX_RING_SIZE 256
-#define VMXNET3_DEF_RX_RING2_SIZE 128
+#define VMXNET3_DEF_RX_RING_SIZE 1024
+#define VMXNET3_DEF_RX_RING2_SIZE 256
#define VMXNET3_DEF_RXDATA_DESC_SIZE 128
--
2.11.0
Powered by blists - more mailing lists