On Wed, 3 Jun 2026 15:13:37 -0600
Mohammad Shuab Siddique <[email protected]> wrote:
> +void bnxt_process_async_msg(struct bnxt *bp, struct tx_cmpl *cmpl)
> +{
> + uint16_t type = cmpl->flags_type & TX_CMPL_TYPE_MASK;
> +
> + switch (type) {
> + case HWRM_CMPL_TYPE_HWRM_DONE:
> + break;
> + case HWRM_ASYNC_EVENT_CMPL_TYPE_HWRM_ASYNC_EVENT:
> + bnxt_handle_async_event(bp, (struct cmpl_base *)cmpl);
> + break;
> + default:
> + printf("Port:%d Unhandled async message %x\n",
> bp->eth_dev->data->port_id, type);
> + break;
> + }
> +}
NAK
printf is not allowed in DPDK code, use proper logging