From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from sc9-mailhost2.vmware.com (10.113.161.72) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Thu, 19 Apr 2018 11:19:22 -0700 Received: from vmware.eng.vmware.com (unknown [10.33.75.69]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 9D067B18C3; Thu, 19 Apr 2018 11:19:31 -0700 (PDT) From: Shraddha Joshi To: CC: , Shraddha Joshi Date: Thu, 19 Apr 2018 11:19:01 -0700 Message-ID: <20180419181901.6584-1-jshraddha@vmware.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: None (EX13-EDG-OU-002.vmware.com: jshraddha@vmware.com does not designate permitted sender hosts) Subject: [dpdk-dev] [PATCH] net/vmxnet3: increase rx data ring descriptor size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 18:19:33 -0000 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