From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A62E8A04B5; Mon, 26 Oct 2020 05:00:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2009B54AE; Mon, 26 Oct 2020 04:57:13 +0100 (CET) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id F1FEA354D for ; Mon, 26 Oct 2020 04:56:43 +0100 (CET) Received: by mail-pl1-f194.google.com with SMTP id r10so4097925plx.3 for ; Sun, 25 Oct 2020 20:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=7zvwhHHXKGlrrCp1XgfHV0dH0MmcO8dvqzD+58fOM6k=; b=gUM5EbZ0x3kJctMYsBxe66o3GZ8m5DhklZ0xt3jML5NSbuFlpZ1vwgKMzRg+ob3XGF bl9SC/k8YIe2UvDkNbhxJ/jQ3vexfyAE+P3DbKxjpRA6deXnbG9BP6tYNzrh14g/alsT u+HH/YkY2D64nuOVgFULf/CmhHBhkm6+GJa1s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=7zvwhHHXKGlrrCp1XgfHV0dH0MmcO8dvqzD+58fOM6k=; b=GlTHd0N83ZwW716STQTJS2Lsz9Kq6LGszFg5h/F520ytFUFNEQ/GMIliYimLStiyh3 3Gl4vdRsQeu2/fsFCMfYP3q9QdNO81q1T2qrn3Z9yRVx8jT1/w9a7ApyHCazyaHQdvec nouOw6gqVF3PnfC5oyVT2pmqHWH7zB3At22+bQWzs+RkhksfGY6ZoLBK36p8c0uKQiIz Ym7UA4aBfjNtrb9rN72nCo4ioBgBB4QZwzRXK3e2KA6XlzMAP/SzX/VviGqm/amue7TC JpI20p2VWdCQ4o+4hvfElOqlBGObh/u/3cXgTnSTkaHOwRB5qbEx2HOvvhIDCkokRD/q 17nw== X-Gm-Message-State: AOAM532Tudz/PQaESFoIzbA3sxSnQSRP+HoTu1aSWa1tL1RAyN5ta9Ac DIdGYY3ByDVRnlkvlyAzvWyyN9/sboQGD8K55qWwFhUtgkDIcyDhF5jLFESsT6CihG2GaDshXMV auWVXJ5rJr8PiNfrgaLb0/lnuSw2FV5QC6B7y2Ysp3604wa4a/rjM4baabTTvScKP8w== X-Google-Smtp-Source: ABdhPJwB4FoITdCgkuLr2h3Y0nXZQi/cLvyjUVDGLOcifv5w04/aS9o/K47YexLLSPhyOFTyZ8OMlA== X-Received: by 2002:a17:90a:b28f:: with SMTP id c15mr14466109pjr.230.1603684601846; Sun, 25 Oct 2020 20:56:41 -0700 (PDT) Received: from localhost.localdomain ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id z185sm10207463pfz.32.2020.10.25.20.56.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Oct 2020 20:56:41 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: stable@dpdk.org, Qingmin Liu , Randy Schacher Date: Sun, 25 Oct 2020 20:56:13 -0700 Message-Id: <20201026035616.19264-13-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20201026035616.19264-1-ajit.khaparde@broadcom.com> References: <20201026035616.19264-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH v4 12/15] net/bnxt: increase the size of Rx CQ 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" LRO aka TPA and jumbo frame support uses aggregation ring for placing Rx buffers. These features can generate multiple Rx completions for a single Rx packet. Increase size of Rx Completion Queue to handle TPA and aggregation ring events. Fixes: daef48efe5e5 ("net/bnxt: support set MTU") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde Reviewed-by: Qingmin Liu Reviewed-by: Randy Schacher --- drivers/net/bnxt/bnxt_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ring.h b/drivers/net/bnxt/bnxt_ring.h index daf9804956..3d81f610c1 100644 --- a/drivers/net/bnxt/bnxt_ring.h +++ b/drivers/net/bnxt/bnxt_ring.h @@ -27,7 +27,7 @@ #define DEFAULT_RX_RING_SIZE 256 #define DEFAULT_TX_RING_SIZE 256 -#define AGG_RING_SIZE_FACTOR 2 +#define AGG_RING_SIZE_FACTOR 4 #define AGG_RING_MULTIPLIER 2 /* These assume 4k pages */ -- 2.21.1 (Apple Git-122.3)