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

2022-03-02 Thread Ori Kam
Hi Jiawei, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Friday, November 12, 2021 2:43 PM > Subject: [PATCH v3] net/mlx5: fix the NIC egress flow mismatch in switchdev > mode > > When E-Switch mode was enabled, the NIC egress flows was implicitly > ap

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

2021-11-12 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