Re: [patch net] switchdev: bridge: Pass ageing time as clock_t instead of jiffies

2015-12-22 Thread David Miller
From: Jiri Pirko Date: Mon, 21 Dec 2015 09:56:01 +0100 > From: Ido Schimmel > > The bridge's ageing time is offloaded to hardware when: > 1) A port joins a bridge > 2) The ageing time of the bridge is changed > > In the first case the ageing time is offloaded as jiffies, but in the

Re: [patch net] switchdev: bridge: Pass ageing time as clock_t instead of jiffies

2015-12-21 Thread Ido Schimmel
Mon, Dec 21, 2015 at 05:53:19PM IST, dsah...@gmail.com wrote: >On 12/21/15 3:56 AM, Jiri Pirko wrote: >> diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c >> index 5396ff08..12045de 100644 >> --- a/net/bridge/br_stp_if.c >> +++ b/net/bridge/br_stp_if.c >> @@ -39,7 +39,7 @@ void br_init_p

Re: [patch net] switchdev: bridge: Pass ageing time as clock_t instead of jiffies

2015-12-21 Thread David Ahern
On 12/21/15 3:56 AM, Jiri Pirko wrote: diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 5396ff08..12045de 100644 --- a/net/bridge/br_stp_if.c +++ b/net/bridge/br_stp_if.c @@ -39,7 +39,7 @@ void br_init_port(struct net_bridge_port *p) struct switchdev_attr attr = {

[patch net] switchdev: bridge: Pass ageing time as clock_t instead of jiffies

2015-12-21 Thread Jiri Pirko
From: Ido Schimmel The bridge's ageing time is offloaded to hardware when: 1) A port joins a bridge 2) The ageing time of the bridge is changed In the first case the ageing time is offloaded as jiffies, but in the second case it's offloaded as clock_t, which is what existing swit