> From: Thomas Monjalon [mailto:[email protected]] > Sent: Wednesday, 19 November 2025 14.04 > > 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]> > ---
Searching for "tx_pkt_prepare = NULL;" finds a few more, but they are all in driver cleanup functions, so... Reviewed-by: Morten Brørup <[email protected]>

