RE: [PATCH v4] net/i40e: fix single VLAN cannot work normally

2022-09-07 Thread Zhang, Yuying
Hi, > -Original Message- > From: Liu, KevinX > Sent: Wednesday, September 7, 2022 11:18 PM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, KevinX > > Subject: [PATCH v4] net/i40e: fix single VLAN cannot work normally > > Aft

[PATCH v4] net/i40e: fix single VLAN cannot work normally

2022-09-07 Thread Kevin Liu
After disabling QinQ, single VLAN can not work normally. 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 QinQ is disabled, need to set valid_flag