Re: [PATCH net-next v2 12/17] net: dsa: add dsa_is_normal_port helper

From: Vivien Didelot
Date: Mon Mar 13 2017 - 10:55:57 EST


Hi Florian,

Florian Fainelli <f.fainelli@xxxxxxxxx> writes:

> Le 03/11/17 Ã 13:12, Vivien Didelot a Ãcrit :
>> Introduce a dsa_is_normal_port helper to check if a given port is a
>> normal user port as opposed to a CPU port or DSA link.
>
> net/dsa/dsa2.c uses the "user" terminology should we use something like
> that here?

I used the one suggested by Andrew, but I wouldn't mind using "user"
here if it makes more sense.

Thanks,

Vivien