RE: [EXT] Re: [PATCH] net: dsa: Add protocol support for 802.1AD when adding or deleting vlan for dsa switch and port

From: Hongbo Wang
Date: Wed Jul 22 2020 - 01:51:17 EST


Hi Florian,

Thanks for your reply!

I had posted my patch for switch port driver, the email title is "net: dsa: ocelot: Add support for QinQ Operation",

Best Regards!
hongbo

-----Original Message-----
From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Sent: 2020å7æ22æ 1:55
To: Hongbo Wang <hongbo.wang@xxxxxxx>; Xiaoliang Yang <xiaoliang.yang_1@xxxxxxx>; allan.nielsen@xxxxxxxxxxxxx; Po Liu <po.liu@xxxxxxx>; Claudiu Manoil <claudiu.manoil@xxxxxxx>; Alexandru Marginean <alexandru.marginean@xxxxxxx>; Vladimir Oltean <vladimir.oltean@xxxxxxx>; Leo Li <leoyang.li@xxxxxxx>; Mingkai Hu <mingkai.hu@xxxxxxx>; andrew@xxxxxxx; vivien.didelot@xxxxxxxxx; davem@xxxxxxxxxxxxx; jiri@xxxxxxxxxxx; idosch@xxxxxxxxxx; kuba@xxxxxxxxxx; vinicius.gomes@xxxxxxxxx; nikolay@xxxxxxxxxxxxxxxxxxx; roopa@xxxxxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; horatiu.vultur@xxxxxxxxxxxxx; alexandre.belloni@xxxxxxxxxxx; UNGLinuxDriver@xxxxxxxxxxxxx; linux-devel@xxxxxxxxxxxxxxxxxx
Subject: [EXT] Re: [PATCH] net: dsa: Add protocol support for 802.1AD when adding or deleting vlan for dsa switch and port

Caution: EXT Email

On 7/21/20 4:02 AM, hongbo.wang@xxxxxxx wrote:
> From: "hongbo.wang" <hongbo.wang@xxxxxxx>
>
> the following command will be supported:
> Add VLAN:
> ip link add link swp1 name swp1.100 type vlan protocol 802.1ad id
> 100 Delete VLAN:
> ip link del link swp1 name swp1.100
>
> when adding vlan, this patch only set protocol for user port, cpu port
> don't care it, so set parameter proto to 0 for cpu port.

My previous feedback has been partially addressed, can you also post the switch driver changes that are going to implement the driver side changes? Presumably you must act on the 802.1AD programming request in the switch driver somehow, right?
--
Florian