From patchwork Thu Sep 10 19:05:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucy Yan X-Patchwork-Id: 11768839 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 058B8618 for ; Thu, 10 Sep 2020 19:07:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D455620882 for ; Thu, 10 Sep 2020 19:07:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="WiRGqWfo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726474AbgIJTHT (ORCPT ); Thu, 10 Sep 2020 15:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727026AbgIJTFS (ORCPT ); Thu, 10 Sep 2020 15:05:18 -0400 Received: from mail-qk1-x749.google.com (mail-qk1-x749.google.com [IPv6:2607:f8b0:4864:20::749]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330FFC0613ED for ; Thu, 10 Sep 2020 12:05:18 -0700 (PDT) Received: by mail-qk1-x749.google.com with SMTP id v16so4228414qka.18 for ; Thu, 10 Sep 2020 12:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=YeYgC+wnXE5WPKMChfHCba+wXVDxaxMd+TOtN5nzHHE=; b=WiRGqWfov9kwUNINermxnB/QkSIn7D6S9ynHb2Eiorv6y6o9z/BlDahZQqsoNbGQpg FoD4bsTSCoNWWTBknJhkroB7vgWaepGwpAVDBVo8oe5CbE46YWCejcwAiwC1/lbC+XaP OG3bYfhUU1aBUNTRrRhRGmOfMFENRYQe8UeMZgnbmrZUHiTt+BkTgQjdTFVaztUpQ7II jjdLJestf2kzGG1A8BYbdABs0uMR+g0DLvvsYaxLrptVWnoFCvqLOjOeBkUataSAH6ti ZEp3WQxE/gUHmPrZGhKQW3j7IZJFcyS9c/YiLglrl0FloEs0tjFg3y8qP6mxeWhRF0p+ lW0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=YeYgC+wnXE5WPKMChfHCba+wXVDxaxMd+TOtN5nzHHE=; b=TGVUNlo1EApM6AFf+RpyiAPtPoDUb/3Ua/tmynDK7Hc3bCkR23EpRIifQHiKxTdVaX 8KtL8LTzVfjjznSzUiD02g0ukYMbTAd9Y5Cwq1mD/GfDVMN4fs9AmN18fPL8opEXIP1F WAvG1t/SY/yulsZikCIDoNQWlq9yPxKfLuzhpg0ELZkCLEBOlP3O2nEkW2+Qcyi36EUD 5jjSqteiofn2ClonE/jgnIMoR6C/pexjoxCZcDqwsGkQ8KbilVrYgY55Wg6Oz+BMt4VE Y+NR2KzJ6aX3D4zNjwoxRb7ZqpZM+MOT3Ym2T/45fLMIRoR55yTQC5v3AmOYNQhRh982 fm1w== X-Gm-Message-State: AOAM532L/5uI0uoJopdMYLA10mOhdbem5lolJq4ursNBJLpCA9b+Bu2h nTRbYM/FTUI6izwELX+w/q1aWAwmI0pQ X-Google-Smtp-Source: ABdhPJx/B5q6d8zO08WfVKwINiALJEH/HQ/qTEaXeiRZTxgl6xgQI4S3QhFJYeUzQlQv37OVfDwAYHQGL5IZ X-Received: from lucyyan-linux.svl.corp.google.com ([2620:15c:2c5:3:1ea0:b8ff:fe73:6d39]) (user=lucyyan job=sendgmr) by 2002:a0c:d848:: with SMTP id i8mr9890275qvj.31.1599764716606; Thu, 10 Sep 2020 12:05:16 -0700 (PDT) Date: Thu, 10 Sep 2020 12:05:09 -0700 Message-Id: <20200910190509.81755-1-lucyyan@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog Subject: [PATCH net] net: dec: de2104x: Increase receive ring size for Tulip From: Lucy Yan To: "David S . Miller" , Jakub Kicinski Cc: Heiner Kallweit , Arnd Bergmann , Moritz Fischer , Lucy Yan , Leon Romanovsky , "Michael S . Tsirkin" , Vaibhav Gupta , netdev@vger.kernel.org, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.245695] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.251387] de2104x 0000:17:00.0 eth0: rx work limit reached [ 102.267444] de2104x 0000:17:00.0 eth0: rx work limit reached Signed-off-by: Lucy Yan Reviewed-by: Moritz Fischer --- drivers/net/ethernet/dec/tulip/de2104x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index cb116b530f5e..2610efe4f873 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c @@ -85,7 +85,7 @@ MODULE_PARM_DESC (rx_copybreak, "de2104x Breakpoint at which Rx packets are copi #define DSL CONFIG_DE2104X_DSL #endif -#define DE_RX_RING_SIZE 64 +#define DE_RX_RING_SIZE 128 #define DE_TX_RING_SIZE 64 #define DE_RING_BYTES \ ((sizeof(struct de_desc) * DE_RX_RING_SIZE) + \