mlxsw: spectrum: Fix ageing time value
The value passed through switchdev attr set is not in jiffies, but in clock_t, so fix the convert. Reported-by: NSagi Rotem <sagir@mellanox.com> Fixes: 56ade8fe ("mlxsw: spectrum: Add initial support for Spectrum ASIC") Signed-off-by: NJiri Pirko <jiri@mellanox.com> Signed-off-by: NIdo Schimmel <idosch@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录