From: Shraddha Joshi Subject: [PATCH] net/vmxnet3: increase rx data ring descriptor size Date: Thu, 19 Apr 2018 11:19:01 -0700 Message-ID: <20180419181901.6584-1-jshraddha@vmware.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , Shraddha Joshi To: Return-path: Received: from EX13-EDG-OU-002.vmware.com (ex13-edg-ou-002.vmware.com [208.91.0.190]) by dpdk.org (Postfix) with ESMTP id B0BD4AA99 for ; Thu, 19 Apr 2018 20:19:32 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Vmxnet3 driver supports receive data ring viz. a set of small sized buffers that are always mapped by the emulation. If a packet fits into the receive data ring buffer, the emulation delivers the packet via the receive data ring. Increasing the receive data ring descriptor size from 128 to 256 showed performance gains as high as 5% for packets smaller than 256. Signed-off-by: Shraddha Joshi Acked-by: Jin Heo Acked-by: Guolin Yang Acked-by: Boon Ang --- drivers/net/vmxnet3/vmxnet3_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ring.h b/drivers/net/vmxnet3/vmxnet3_ring.h index 552180e84..50992349d 100644 --- a/drivers/net/vmxnet3/vmxnet3_ring.h +++ b/drivers/net/vmxnet3/vmxnet3_ring.h @@ -14,7 +14,7 @@ #define VMXNET3_DEF_RX_RING_SIZE 128 /* Default rx data ring desc size */ -#define VMXNET3_DEF_RXDATA_DESC_SIZE 128 +#define VMXNET3_DEF_RXDATA_DESC_SIZE 256 #define VMXNET3_SUCCESS 0 #define VMXNET3_FAIL -1 -- 2.11.0