From 06277055f1d4328ef712076417632e0d48ce18de Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Wed, 15 Jun 2022 20:26:58 +0530 Subject: [PATCH] net/bnxt: reduce level of an Rx setup log 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 ef2ef83101..f4b641773d 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);