[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32ab0f75420322fea7e2671f3164a133@advem.lv>
Date: Fri, 10 Nov 2017 14:02:11 +0200
From: Roman Yeryomin <roman@...em.lv>
To: Andrew Lunn <andrew@...n.ch>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
Florian Fainelli <f.fainelli@...il.com>,
netdev@...r.kernel.org,
Antti Seppälä
<a.seppala@...il.com>,
Colin Leitner <colin.leitner@...glemail.com>,
Gabor Juhos <juhosg@...nwrt.org>
Subject: Re: [PATCH 4/4] RFC: net: dsa: realtek-smi: Add Realtek SMI driver
On 2017-11-09 19:24, Andrew Lunn wrote:
>> The registers writing code is where? switchdev driver?
>> All I care about is that all the switch specific code should be in one
>> place.
>
> The switch specific code is in the switch specific driver.
>
> Take a look under drivers/net/dsa for the switches which are currently
> supported by DSA.
>
OK, so looks like DSA is actually what I need. I just didn't see a clear
implementation path for e.g. ACL functions.
Correct me if I'm wrong, to add support for ar8327 ACL or port rate
control I should expand struct dsa_switch_ops, add appropriate
infrastructure in netfilter/tc subsystem and actually implement in
drivers/net/dsa/qca8k.c ?
Regards,
Roman
Powered by blists - more mailing lists