RE: [PATCH v4] net/mlx5: fix the NIC egress flow mismatch in switchdev mode

2022-03-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, March 2, 2022 5:31 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; Yongseok Koh > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH v4] net/ml

[PATCH v4] net/mlx5: fix the NIC egress flow mismatch in switchdev mode

2022-03-02 Thread Jiawei Wang
When E-Switch mode was enabled, the NIC egress flows was implicitly appended with source vport to match on. If the metadata register C0 was used to maintain the source vport, it was initialized to zero on packet steering engine entry, the flow could be hit only if source vport was zero, the registe