RE: [PATCH v3] net/i40e: fix single VLAN cannot work normal

2022-09-06 Thread Zhang, Yuying
Hi, > -Original Message- > From: Liu, KevinX > Sent: Wednesday, September 7, 2022 12:15 AM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, KevinX > ; Jiale, SongX > Subject: [PATCH v3] net/i40e: fix single VLAN cannot work normal

[PATCH v3] net/i40e: fix single VLAN cannot work normal

2022-09-06 Thread Kevin Liu
After disable QinQ, single VLAN can not work normal. The reason is that QinQ is not disabled correctly. Before configuring QinQ, need to back up and clean MAC/VLAN filters of all ports. After configuring QinQ, restore MAC/VLAN filters of all ports. When disable QinQ, need to set valid_flags to 0x0