RE: [PATCH] net/iavf: add check for mbuf

2023-02-01 Thread Xing, Beilei
> -Original Message- > From: Ye, MingjinX > Sent: Tuesday, January 31, 2023 1:20 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Ye, MingjinX ; > sta...@dpdk.org; Wu, Jingjing ; Xing, Beilei > > Subject: [PATCH] net/iavf: add check for mbuf &g

[PATCH] net/iavf: add check for mbuf

2023-01-31 Thread Mingjin Ye
The scalar Tx path would send wrong mbuf that causes the kernel driver to fire the MDD event. This patch adds mbuf detection in tx_prepare to fix this issue, rte_errno will be set to EINVAL and returned if the verification fails. Fixes: 3fd32df381f8 ("net/iavf: check Tx packet with correct UP and

[PATCH] net/iavf: add check for mbuf

2023-01-30 Thread Mingjin Ye
The scalar Tx path would send wrong mbuf that causes the kernel driver to fire the MDD event. This patch adds mbuf detection in tx_prepare to fix this issue, rte_errno will be set to EINVAL and returned if the verification fails. Fixes: 3fd32df381f8 ("net/iavf: check Tx packet with correct UP and