Received: by 10.223.164.202 with SMTP id h10csp3566546wrb; Tue, 28 Nov 2017 13:28:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMb5kvEWjMQn4Rqar6QCwV9M7I5mMChoJdSzZjIOKlejhLkjZUQLdujtjCwuU9fWStUtEUy0 X-Received: by 10.101.78.2 with SMTP id r2mr538548pgt.320.1511904513171; Tue, 28 Nov 2017 13:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511904513; cv=none; d=google.com; s=arc-20160816; b=sDRTOhOZQ0jUr0VPvZEwMapIgtR3MVABkBYYzAqxMa1FD6O3N4DIY6tl61UiDVgprq MwDjhx9KBKD3RmHWYPzG39MGahyh3XxtB2vz8fC6v9hK90N6K5nXk5XXZ1XVKF/O+YL8 eLHQlZmBy1F+ZTB9h3Zwqd/l2iiP2yUndyek+HaUY0Z2woiCC50m2t8Sz/iKMiqtphXQ KfKkAXOf+jr5oJjSznZSfO7Ou9axu0pK2s5cP6cNIJaiKCEkYS3OEUHlasZXHc5D2XWo eH8g2fpYWvt3c67KW1D09VAhgTQw8WGBGmeVU50SKmEfRlwoyNeL2Sb+nRorXJUWYKwG GQxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=D5stOkszL7Bnj4jyphFtPOjdOyo8VYCrv2wc5nKxZ2A=; b=vbbDDiAU5xKXjcN+PtJpWTS3KXJqY76YwwCV69vleJ+2RjplMUTVW3zM+B5YnFkdWg YQUVp0P1e86VREuLwaV0c6t312tWZVtkjLVfwHJvpJFCu3qWHT2ABHIUibrwzKpH7o7u APD6lnCRVH6j3jVgYHuCJiFBDGuOm0G8bqDzizpJ95B+KR3chlf0ZBpBKpdH4e2aWxld uu+5dLb+5Z6NyYrlzGW2R1r+Wfu5zqruBqLgDkliQK91QBB41Mnc6YiFADp5qGoqKmIG BON78wET9OudEG0B//x7xBoO77hYKKL9w6uPPiqft/VXhlb/EUvjMRr1wPzmP/AtHsDQ 4Tig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh1si81495plb.93.2017.11.28.13.28.13; Tue, 28 Nov 2017 13:28:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752294AbdK1V1b (ORCPT + 70 others); Tue, 28 Nov 2017 16:27:31 -0500 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:52869 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbdK1V13 (ORCPT ); Tue, 28 Nov 2017 16:27:29 -0500 X-Greylist: delayed 905 seconds by postgrey-1.27 at vger.kernel.org; Tue, 28 Nov 2017 16:27:29 EST Received: from sc9-mailhost3.vmware.com (10.113.161.73) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Tue, 28 Nov 2017 13:12:21 -0800 Received: from prmh-dev-net-dhcp153.eng.vmware.com (prmh-dev-net-dhcp156.eng.vmware.com [10.20.191.156]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 677F540301; Tue, 28 Nov 2017 13:12:24 -0800 (PST) From: Shrikrishna Khare To: , , CC: Shrikrishna Khare Subject: [PATCH net-next] vmxnet3: increase default rx ring sizes Date: Tue, 28 Nov 2017 13:12:04 -0800 Message-ID: <20171128211204.12234-1-skhare@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: skhare@vmware.com does not designate permitted sender hosts) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jin Heo Acked-by: Guolin Yang Acked-by: Boon Ang --- 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 From 1585596427824556634@xxx Fri Dec 01 15:36:29 +0000 2017 X-GM-THRID: 1585219445012718412 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread