commit | 31c25b949813292e2f85b0e8708b767e55aba093 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon Jan 20 09:52:51 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 20 13:25:46 2020 +0100 |
tree | 3fa1b9248e8b6fab457c5152af6137e1bcc7e37b | |
parent | ac9cc4e25044b699eb8f0f4822ad58a2f5130abb [diff] |
mlxsw: spectrum_span: Put buffsize update code into helper function Avoid duplication of code that is doing buffsize update and put it into a separate helper function. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>