[PATCH 1/5] net/bnxt: fix NQ/CQ processing for interrupt handling
Stephen Hemminger
stephen at networkplumber.org
Wed Jun 3 23:43:41 CEST 2026
On Wed, 3 Jun 2026 15:13:37 -0600
Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com> 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
More information about the dev
mailing list