From: Stephen Hemminger Date: Tue, 31 Mar 2020 04:41:54 +0000 (-0700) Subject: net/bnxt: do not use PMD log type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9122478fe88d272223d1eb8f612b96ca05bf9c81;p=dpdk.git net/bnxt: do not use PMD log type Accidental use of PMD logtype rather than per-driver logtype. Fixes: 14255b351537 ("net/bnxt: fix queue start/stop operations") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Acked-by: Somnath Kotur --- diff --git a/drivers/net/bnxt/bnxt_ring.c b/drivers/net/bnxt/bnxt_ring.c index d6e4e8a281..1999cd7861 100644 --- a/drivers/net/bnxt/bnxt_ring.c +++ b/drivers/net/bnxt/bnxt_ring.c @@ -598,7 +598,7 @@ int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index) if (rxq->rx_started) { if (bnxt_init_one_rx_ring(rxq)) { - RTE_LOG(ERR, PMD, + PMD_DRV_LOG(ERR, "bnxt_init_one_rx_ring failed!\n"); bnxt_rx_queue_release_op(rxq); rc = -ENOMEM;