Re: [PATCH net-next 3/3] net: hns3: refine the VLAN tag handle for port based VLAN

2020-12-05 Thread tanhuazhong
On 2020/12/5 10:22, Jakub Kicinski wrote: On Thu, 3 Dec 2020 20:18:56 +0800 Huazhong Tan wrote: tranmist Please spell check the commit messages and comments. will fix spelling mistakes, thanks .

Re: [PATCH net-next 3/3] net: hns3: refine the VLAN tag handle for port based VLAN

2020-12-04 Thread Jakub Kicinski
On Thu, 3 Dec 2020 20:18:56 +0800 Huazhong Tan wrote: > tranmist Please spell check the commit messages and comments.

[PATCH net-next 3/3] net: hns3: refine the VLAN tag handle for port based VLAN

2020-12-03 Thread Huazhong Tan
From: Guojia Liao For DEVICE_VERSION_V2, the hardware only supports max two layer VLAN tags, including port based tag inserted by hardware, tag in tx buffer descriptor(get from skb->tci) and tag in packet. For tranmist packet: If port based VLAN disabled, and vf driver gets a VLAN tag from skb,