[PATCH 04/15] net/dpaa2: fix to recv packets with additional parse errors
Hemant Agrawal
hemant.agrawal at oss.nxp.com
Wed Oct 15 17:35:56 CEST 2025
On 14-10-2025 12:10, Prashant Gupta wrote:
> [Some people who received this message don't often get email from prashant.gupta_3 at nxp.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Brick Yang <brick.yang at nxp.com>
>
> Also receive packets with HW parser length errors.
> Thus this option allow to let HW drop packets for any kind of parser
> errors.
You meant *not drop* ?
> Fixes: 4690a6114ff6 ("net/dpaa2: enable error queues optionally")
> Cc: stable at dpdk.org
>
> Signed-off-by: Brick Yang <brick.yang at nxp.com>
> ---
> drivers/net/dpaa2/dpaa2_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
> index 41678ce09b..0fd577c448 100644
> --- a/drivers/net/dpaa2/dpaa2_ethdev.c
> +++ b/drivers/net/dpaa2/dpaa2_ethdev.c
> @@ -1240,7 +1240,7 @@ dpaa2_dev_start(struct rte_eth_dev *dev)
> err_cfg.errors = DPNI_ERROR_L3CE | DPNI_ERROR_L4CE;
>
> /* if packet with parse error are not to be dropped */
> - err_cfg.errors |= DPNI_ERROR_PHE;
> + err_cfg.errors |= DPNI_ERROR_PHE | DPNI_ERROR_BLE;
>
> err_cfg.error_action = DPNI_ERROR_ACTION_CONTINUE;
> }
> --
> 2.43.0
>
More information about the dev
mailing list