Re: [PATCH net-next 1/4] net: dsa: Pass a port to get_tag_protocol()

2017-11-11 Thread Andrew Lunn
On Fri, Nov 10, 2017 at 03:22:52PM -0800, Florian Fainelli wrote: > A number of drivers want to check whether the configured CPU port is a > possible configuration for enabling tagging, pass down the CPU port > number so they verify that. > > -static bool b53_can_enable_brcm_tags(struct dsa_switch

Re: [PATCH net-next 1/4] net: dsa: Pass a port to get_tag_protocol()

2017-11-10 Thread Vivien Didelot
Florian Fainelli writes: > A number of drivers want to check whether the configured CPU port is a > possible configuration for enabling tagging, pass down the CPU port > number so they verify that. > > Signed-off-by: Florian Fainelli Reviewed-by: Vivien Didelot Thanks, Vivien

[PATCH net-next 1/4] net: dsa: Pass a port to get_tag_protocol()

2017-11-10 Thread Florian Fainelli
A number of drivers want to check whether the configured CPU port is a possible configuration for enabling tagging, pass down the CPU port number so they verify that. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 32 +--- drivers/net/dsa