From patchwork Mon Feb 19 02:44:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rushil Gupta X-Patchwork-Id: 136868 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 884F243B45; Mon, 19 Feb 2024 03:44:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B888040608; Mon, 19 Feb 2024 03:44:57 +0100 (CET) Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by mails.dpdk.org (Postfix) with ESMTP id 527D240278 for ; Mon, 19 Feb 2024 03:44:55 +0100 (CET) Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dcc05887ee9so3531657276.1 for ; Sun, 18 Feb 2024 18:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708310695; x=1708915495; darn=dpdk.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=vKYVOORHY9gDJjGQOORQWrPbDQ5XsIwolhfCFMkSSsU=; b=SNy7HkZyLHbG2af08S6Z0NaxvQEHUzRUrE0Zafoq51UeFL8sKyqPw3JFAjFyxcZ4nT 7sfpPWsntC3JY9ibntqt+G8KClfLfkplGl2Kz8OkJCDsNNv0wF1CAYhHOB1PwdHA1XWs 8O9X+hQzAQwtnHNgZcu2HbYbdpje4sE2o61lE3ue89Lt8stjtvPM8FSYUp2Tu09PyONS wQ90nUzN1OYjml1oPksK1z5KqfSMcNR7YRTwP6U3k80MV0LTRg9CxoR1my2FdSICKTfU 0X+ubpJACbZaigOgmuxaxb27kdlm2clELT57jOegmLACr+7pB5uvitCoN+VRAeTpoesY 9W4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708310695; x=1708915495; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vKYVOORHY9gDJjGQOORQWrPbDQ5XsIwolhfCFMkSSsU=; b=fwqUrUl8x4EUOR0cbuz7VTAiy5p7cFWYyzCkXccccGZmnIXFwAcJ1fK6MFNaeTInZv fw2wL9OMB17QIXaXvWibVGmPz/Nx8eliyeK7U4P4xa5mmzlpVuJiDc500bTsRfqAYtIt VHWZawa00vtXVHIutleCE6GbCe0WUjXO4Bgcj0ExAyt6t30sxJ+a6DXbBkEFreLsfFh4 C90Gv0tsS94WQ5Tlh/Ki3OLKO8ulxow9NRTsaBpJj+uO9xaq8XOVgv8YIojmNrlcPrv7 HEyErG3x9lRYtI3OOKH3tEbVw8IgyIYCB2bHrRpbxLED1TH60a2uF5bhZMYaXM9uieJ4 zh5A== X-Gm-Message-State: AOJu0YxnuWc5nf914FWl3rq85yun2X40+dgWs39R+WHGpISQD0lwGIkH O6HoRLds1IoEZPk4tpKdHQBT3/xAQT95L6pLyFV0yzChYqVLmBEy2T16xx57VVfZK4wq2HDTuPX BNSEtSA== X-Google-Smtp-Source: AGHT+IFC24jjRcEh1wK4CJ3N9EcNxrtNKtMvvY1BvjzhDC5NKQ7vA3B3mDtkM2cV5P+lzPi9eIOeOsRTwusy X-Received: from rushilg.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:f27]) (user=rushilg job=sendgmr) by 2002:a05:6902:1547:b0:dc7:3189:4e75 with SMTP id r7-20020a056902154700b00dc731894e75mr432900ybu.3.1708310694744; Sun, 18 Feb 2024 18:44:54 -0800 (PST) Date: Mon, 19 Feb 2024 02:44:35 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Message-ID: <20240219024436.1010010-1-rushilg@google.com> Subject: [PATCH] net/gve: Change ERR to DEBUG to prevent flooding of logs for Tx-Dqo. From: Rushil Gupta To: junfeng.guo@intel.com, jeroendb@google.com, joshwash@google.com, ferruh.yigit@amd.com Cc: dev@dpdk.org, stable@dpdk.org, Rushil Gupta X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This was causing failure for testpmd runs (for queues >=15) presumably due to flooding of logs due to descriptor ring being overwritten. Fixes: a01854 ("net/gve: fix dqo bug for chained descriptors") Cc: stable@dpdk.org Signed-off-by: Rushil Gupta Reviewed-by: Joshua Washington --- drivers/net/gve/gve_tx_dqo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/gve/gve_tx_dqo.c b/drivers/net/gve/gve_tx_dqo.c index 1a8eb96ea9..30a1455b20 100644 --- a/drivers/net/gve/gve_tx_dqo.c +++ b/drivers/net/gve/gve_tx_dqo.c @@ -116,7 +116,7 @@ gve_tx_burst_dqo(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) first_sw_id = sw_id; do { if (sw_ring[sw_id] != NULL) - PMD_DRV_LOG(ERR, "Overwriting an entry in sw_ring"); + PMD_DRV_LOG(DEBUG, "Overwriting an entry in sw_ring"); txd = &txr[tx_id]; sw_ring[sw_id] = tx_pkt;