Re: [net-next] net: dsa: felix: convert TAS link speed based on phylink speed

2020-09-24 Thread Andrew Lunn
> I modify the commit and resend this patch to "net tree", please reject this > one. Hi Xiaoliang Yang You dropped "PATCH" from the subject. Please also include a version number, so it is possible to identify which is the last version: [PATCH net v2] net: dsa: felix: convert TAS link speed base

RE: [net-next] net: dsa: felix: convert TAS link speed based on phylink speed

2020-09-23 Thread Xiaoliang Yang
On Tue, Sep 22, 2020 at 19:37, Vladimir Oltean wrote: > > Hi Xiaoliang, > > On Tue, Sep 22, 2020 at 06:43:02PM +0800, Xiaoliang Yang wrote: > > state->speed holds a value of 10, 100, 1000 or 2500, but > > QSYS_TAG_CONFIG_LINK_SPEED expects a value of 0, 1, 2, 3. So convert > > the speed to a pr

Re: [net-next] net: dsa: felix: convert TAS link speed based on phylink speed

2020-09-22 Thread Vladimir Oltean
Hi Xiaoliang, On Tue, Sep 22, 2020 at 06:43:02PM +0800, Xiaoliang Yang wrote: > state->speed holds a value of 10, 100, 1000 or 2500, but > QSYS_TAG_CONFIG_LINK_SPEED expects a value of 0, 1, 2, 3. So convert the > speed to a proper value. > > Fixes: de143c0e274b ("net: dsa: felix: Configure Time-

[net-next] net: dsa: felix: convert TAS link speed based on phylink speed

2020-09-22 Thread Xiaoliang Yang
state->speed holds a value of 10, 100, 1000 or 2500, but QSYS_TAG_CONFIG_LINK_SPEED expects a value of 0, 1, 2, 3. So convert the speed to a proper value. Fixes: de143c0e274b ("net: dsa: felix: Configure Time-Aware Scheduler via taprio offload") Signed-off-by: Xiaoliang Yang --- drivers/net/dsa