[PATCH] net/ice: set pkt prepare to dummy instead of NULL

Xu, HailinX hailinx.xu at intel.com
Tue Nov 11 02:48:01 CET 2025


> -----Original Message-----
> From: skori at marvell.com <skori at marvell.com>
> Sent: Monday, November 10, 2025 8:25 PM
> To: Richardson, Bruce <bruce.richardson at intel.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>
> Cc: dev at dpdk.org; Sunil Kumar Kori <skori at marvell.com>
> Subject: [PATCH] net/ice: set pkt prepare to dummy instead of NULL
> 
> From: Sunil Kumar Kori <skori at marvell.com>
> 
> As per recent change by the following commit:
> 
> commit 066f3d9cc21c ("ethdev: remove callback checks from fast path")
> 
> framework unconditionally invokes dev->tx_pkt_prepare.
> Due to this, ICE driver gets crashed as tx_pkt_prepare was set to NULL during
> initialization.
> 
> Ensure dev->tx_pkt_prepare is not NULL when vector or simple TX paths are
> selected, by assigning rte_eth_tx_pkt_prepare_dummy.
> 
> This aligns with expectations with above mentioned commit.
> 
> Bugzilla ID: 1795
> 
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> ---
Tested-by: Xu, HailinX <hailinx.xu at intel.com>


More information about the dev mailing list