RE: [PATCH] net/mlx5: fix the validation of the sample encap action

2023-11-12 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Tuesday, November 7, 2023 5:08 PM > To: Suanming Mou ; Slava Ovsiienko > ; Matan Azrad ; Ori Kam > > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix the val

[PATCH] net/mlx5: fix the validation of the sample encap action

2023-11-07 Thread Jiawei Wang
The flow sample/mirror action includes sub-actions for the duplicated packet. In SW steering case, dv_flow_en=1, there is a FW limitation that forces configuring also encap action when port action for the wire port is configured in the duplicated packet's sub-actions. The driver did a wrong valida