On Mon, Dec 18, 2023 at 8:27 PM Stephen Hemminger
<step...@networkplumber.org> wrote:
>
> Driver should not be using PMD logtype, they should have their
> own logtype.
>
> Signed-off-by: Stephen Hemminger <step...@networkplumber.org>

[snip]
                                  \
> diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy.c 
> b/drivers/raw/cnxk_bphy/cnxk_bphy.c
> index 15dbc4c1a637..831f0d001adc 100644
> --- a/drivers/raw/cnxk_bphy/cnxk_bphy.c
> +++ b/drivers/raw/cnxk_bphy/cnxk_bphy.c
> @@ -251,7 +251,7 @@ cnxk_bphy_irq_enqueue_bufs(struct rte_rawdev *dev,
>
>         /* get rid of last response if any */
>         if (qp->rsp) {
> -               RTE_LOG(WARNING, PMD, "Previous response got overwritten\n");
> +               CNXK_BPHY_LOG(ERR, "Previous response got overwritten");

This level change is unrelated to $SUBJECT.


>                 rte_free(qp->rsp);
>         }
>         qp->rsp = rsp;


-- 
David Marchand

Reply via email to