[PATCH v4 07/17] raw/cnxk: replace PMD logtype with dynamic type
David Marchand
david.marchand at redhat.com
Thu Dec 21 10:49:29 CET 2023
On Mon, Dec 18, 2023 at 8:27 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> Driver should not be using PMD logtype, they should have their
> own logtype.
>
> Signed-off-by: Stephen Hemminger <stephen at 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
More information about the dev
mailing list