]> git.droids-corp.org - dpdk.git/commitdiff
net/bnxt: reduce level of an Rx setup log
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Wed, 15 Jun 2022 14:56:58 +0000 (20:26 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 24 Jun 2022 21:23:58 +0000 (23:23 +0200)
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 <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c

index ef2ef8310174696eae70909f9cb8143b2fcfa26b..f4b641773d7883e426283dd052b2439313d7d9ad 100644 (file)
@@ -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);