On Wed, Nov 19, 2025 9:04 PM, Thomas Monjalon wrote:
> After removing callback checks from ethdev fast path,
> some drivers crashed because tx_pkt_prepare was set to NULL.
> 
> Some drivers (hns3, ngbe, txgbe) need to use rte_eth_tx_pkt_prepare_dummy
> when configuring queues.
> Other drivers (ntnic, softnic) does not need to set tx_pkt_prepare
> as it was set by eth_dev_set_dummy_fops() called by rte_eth_dev_allocate().
> 
> Bugzilla ID: 1834
> Fixes: 066f3d9cc21c ("ethdev: remove callback checks from fast path")
> 
> Reported-by: Jiawen Wu <[email protected]>
> Signed-off-by: Thomas Monjalon <[email protected]>
> ---

Tested-by: Jiawen Wu <[email protected]>

Reply via email to