RE: [PATCH v3] net/mlx5: fix the error in VLAN actions creation

2023-07-03 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Friday, June 30, 2023 2:02 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Raslan Darawsheh > Cc: dev@dpdk.org; Gregory Etelson ; > sta...@dpdk.org > Subject: [PATCH v3] net/mlx5: fi

[PATCH v3] net/mlx5: fix the error in VLAN actions creation

2023-06-30 Thread Bing Zhao
When a failure occurs during the VLAN actions creating, the value of "rte_errno" is already set by the mlx5dr_action_create*. The value can be returned directly to reflect the actual reason. In the meanwhile, the "rte_flow_error" structure should also be set with clear message explicitly. Fixes: