[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170315.153444.911901357692024194.davem@davemloft.net>
Date: Wed, 15 Mar 2017 15:34:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vivien.didelot@...oirfairelinux.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com, f.fainelli@...il.com, andrew@...n.ch,
jcobham@...stertangent.com
Subject: Re: [PATCH net-next v2 0/3] net: dsa: check out-of-range ageing
time
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Date: Wed, 15 Mar 2017 15:53:47 -0400
> The ageing time limits supported by DSA drivers vary depending on the
> switch model. If a driver returns -ERANGE for out-of-range values, the
> switchdev commit phase will fail with the following stacktrace:
...
> This patchset fixes this by adding ageing_time_min and ageing_time_max
> fields to the dsa_switch structure, which can optionally be set by a DSA
> driver.
>
> If provided, the DSA core will check for out-of-range values in the
> SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME prepare phase and return -ERANGE
> accordingly.
>
> Finally set these limits in the mv88e6xxx driver.
Series applied, thanks Vivien.
Powered by blists - more mailing lists