From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67420A0548; Wed, 15 Jun 2022 16:58:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF24442B8C; Wed, 15 Jun 2022 16:57:47 +0200 (CEST) Received: from relay.smtp-ext.broadcom.com (relay.smtp-ext.broadcom.com [192.19.166.231]) by mails.dpdk.org (Postfix) with ESMTP id 38DE340F19 for ; Wed, 15 Jun 2022 16:57:46 +0200 (CEST) Received: from dhcp-10-123-153-22.dhcp.broadcom.net (bgccx-dev-host-lnx2.bec.broadcom.net [10.123.153.22]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 6BB71C0000F3; Wed, 15 Jun 2022 07:57:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 6BB71C0000F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1655305065; bh=zR4SgCticLlt1ZDBwB9w4IzMQW1MUL/8fqQWZdaaMFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QZ8rD0H/M15wCYjgf99JAVyTC8CGlXr2nqn8Rbt7jfUck1W4X7EC8ajX1GijA/qj9 3EBXsaijsGk86D45B44sXha2rDqXNuafJPn2sU83ex8aVS15rUKxaKgFQ5Ceur+2cV bJRPFAbtGnTanTaRKkOCDVa9DixQJXh9ng11jvx0= From: Kalesh A P To: dev@dpdk.org Cc: ferruh.yigit@xilinx.com, ajit.khaparde@broadcom.com Subject: [dpdk-dev] [PATCH 3/8] net/bnxt: reduce the verbosity of a log Date: Wed, 15 Jun 2022 20:26:58 +0530 Message-Id: <20220615145703.6613-4-kalesh-anakkur.purayil@broadcom.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20220615145703.6613-1-kalesh-anakkur.purayil@broadcom.com> References: <20220615145703.6613-1-kalesh-anakkur.purayil@broadcom.com> 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 From: Kalesh AP Broadcom HW drops packets when there are no descriptors available. It does not matter what flag the application specifies in "rx_drop_en" when configuring the Rx ring. Reduce the verbosity of the log to print the status of the "rx_drop_en" when configuring the Rx ring. Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index ef2ef83..f4b6417 100644 --- a/drivers/net/bnxt/bnxt_rxq.c +++ b/drivers/net/bnxt/bnxt_rxq.c @@ -360,9 +360,8 @@ int bnxt_rx_queue_setup_op(struct rte_eth_dev *eth_dev, rxq->rx_free_thresh = RTE_MIN(rte_align32pow2(nb_desc) / 4, RTE_BNXT_MAX_RX_BURST); - if (rx_conf->rx_drop_en != BNXT_DEFAULT_RX_DROP_EN) - PMD_DRV_LOG(NOTICE, - "Per-queue config of drop-en is not supported.\n"); + PMD_DRV_LOG(DEBUG, + "App supplied RXQ drop_en status : %d\n", rx_conf->rx_drop_en); rxq->drop_en = BNXT_DEFAULT_RX_DROP_EN; PMD_DRV_LOG(DEBUG, "RX Buf MTU %d\n", eth_dev->data->mtu); -- 2.10.1