lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <VI1PR04MB5103EAF6A07FA49BCED868F3E1780@VI1PR04MB5103.eurprd04.prod.outlook.com>
Date:   Tue, 21 Jul 2020 06:01:24 +0000
From:   Hongbo Wang <hongbo.wang@....com>
To:     Florian Fainelli <f.fainelli@...il.com>,
        Xiaoliang Yang <xiaoliang.yang_1@....com>,
        "allan.nielsen@...rochip.com" <allan.nielsen@...rochip.com>,
        Po Liu <po.liu@....com>,
        Claudiu Manoil <claudiu.manoil@....com>,
        Alexandru Marginean <alexandru.marginean@....com>,
        Vladimir Oltean <vladimir.oltean@....com>,
        Leo Li <leoyang.li@....com>, Mingkai Hu <mingkai.hu@....com>,
        "andrew@...n.ch" <andrew@...n.ch>,
        "vivien.didelot@...il.com" <vivien.didelot@...il.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "jiri@...nulli.us" <jiri@...nulli.us>,
        "idosch@...sch.org" <idosch@...sch.org>,
        "kuba@...nel.org" <kuba@...nel.org>,
        "vinicius.gomes@...el.com" <vinicius.gomes@...el.com>,
        "nikolay@...ulusnetworks.com" <nikolay@...ulusnetworks.com>,
        "roopa@...ulusnetworks.com" <roopa@...ulusnetworks.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "horatiu.vultur@...rochip.com" <horatiu.vultur@...rochip.com>,
        "alexandre.belloni@...tlin.com" <alexandre.belloni@...tlin.com>,
        "UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>,
        "linux-devel@...ux.nxdi.nxp.com" <linux-devel@...ux.nxdi.nxp.com>
Subject: RE: [EXT] Re: [PATCH 1/2] net: dsa: Add flag for 802.1AD when adding
 VLAN for dsa switch and port

Thanks for your suggestion!
I will change the code.
thanks.

-----Original Message-----
From: Florian Fainelli <f.fainelli@...il.com> 
Sent: 2020年7月21日 12:57
To: Hongbo Wang <hongbo.wang@....com>; Xiaoliang Yang <xiaoliang.yang_1@....com>; allan.nielsen@...rochip.com; Po Liu <po.liu@....com>; Claudiu Manoil <claudiu.manoil@....com>; Alexandru Marginean <alexandru.marginean@....com>; Vladimir Oltean <vladimir.oltean@....com>; Leo Li <leoyang.li@....com>; Mingkai Hu <mingkai.hu@....com>; andrew@...n.ch; vivien.didelot@...il.com; davem@...emloft.net; jiri@...nulli.us; idosch@...sch.org; kuba@...nel.org; vinicius.gomes@...el.com; nikolay@...ulusnetworks.com; roopa@...ulusnetworks.com; netdev@...r.kernel.org; linux-kernel@...r.kernel.org; horatiu.vultur@...rochip.com; alexandre.belloni@...tlin.com; UNGLinuxDriver@...rochip.com; linux-devel@...ux.nxdi.nxp.com
Subject: [EXT] Re: [PATCH 1/2] net: dsa: Add flag for 802.1AD when adding VLAN for dsa switch and port

Caution: EXT Email

On 7/20/2020 3:41 AM, hongbo.wang@....com wrote:
> From: "hongbo.wang" <hongbo.wang@....com>
>
> the following command can be supported:
> ip link add link swp1 name swp1.100 type vlan protocol 802.1ad id 100

You should probably include the switch driver that is going to be benefiting from doing these changes in the patch series, provide a cover letter when sending more than one patch, and also combine both the add and delete parts.

Since you already have visibility into proto, it may not be necessary at all for now to define a BRIDGE_VLAN_INFO_8021AD bit in order to pass that flag down to DSA for programming the VLAN, just pass proto to
dsa_port_vid_add() or a boolean flag which indicates whether this is the customer or service tag that you are trying to program?
--
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ