> -----Original Message-----
> From: Kaiwen Deng <kaiwenx.d...@intel.com>
> Sent: Wednesday, November 1, 2023 9:35 AM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Yang, Qiming <qiming.y...@intel.com>; Zhou, YidingX
> <yidingx.z...@intel.com>; Deng, KaiwenX <kaiwenx.d...@intel.com>; Wu,
> Jingjing <jingjing...@intel.com>; Xing, Beilei <beilei.x...@intel.com>; Zeng,
> ZhichaoX <zhichaox.z...@intel.com>
> Subject: [PATCH v2] net/iavf: fix coredump when exiting testpmd
please remove testpmd from the title if this issue is not specific to testpmd.
You can always add reproduce step with testpmd in commit log.
>
> Avf releasing mbuf using the vector path release API causes a coredump
> when the basic Tx path is selected.
> This commit changes to use the basic path release API when selecting the
> basic Tx path.
>
> Fixes: 22f1e7608ebc ("net/iavf: fix AVX2 Tx selection")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Kaiwen Deng <kaiwenx.d...@intel.com>
> ---
> drivers/net/iavf/iavf_rxtx.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index
> 610912f635..a16e03d88c 100644
> --- a/drivers/net/iavf/iavf_rxtx.c
> +++ b/drivers/net/iavf/iavf_rxtx.c
> @@ -4022,6 +4022,7 @@ iavf_set_tx_function(struct rte_eth_dev *dev)
> PMD_DRV_LOG(DEBUG,
> "AVX2 does not support outer
> checksum offload, using Basic Tx (port %d).",
> dev->data->port_id);
> + return;
> } else {
> dev->tx_pkt_burst =
> iavf_xmit_pkts_vec_avx2_offload;
> dev->tx_pkt_prepare = iavf_prep_pkts;
> --
> 2.34.1