RE: [PATCH] net/mlx5: fix the E-Switch mirror flow rule validation

2023-10-31 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, October 11, 2023 9:43 AM > To: Suanming Mou ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix the E-Switch mirror flow rule validat

RE: [PATCH] net/mlx5: fix the E-Switch mirror flow rule validation

2023-10-29 Thread Ori Kam
Hi Jiawei, > -Original Message- > From: Jiawei Wang > Sent: Wednesday, October 11, 2023 9:43 AM > > The port action and jump to flow table action are not supported > in the mirror flows (RTE_FLOW_ACTION_TYPE_SAMPLE with sample ratio=1) > in E-Switch domain (transfer attribute set) witho

[PATCH] net/mlx5: fix the E-Switch mirror flow rule validation

2023-10-10 Thread Jiawei Wang
The port action and jump to flow table action are not supported in the mirror flows (RTE_FLOW_ACTION_TYPE_SAMPLE with sample ratio=1) in E-Switch domain (transfer attribute set) without presented encap action. The encap action is supported for uplink port only. So, if flow with mirroring contains