commit | 8912862f067276b480c4fed9da74c9c5601130a6 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Aug 19 14:43:48 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 18:01:56 2016 -0700 |
tree | ef9ebe420e2c838945aa5d282650ce403ba8c22e | |
parent | 56cff471d0c62b721a298f806e7637501debb513 [diff] |
mlxsw: spectrum_buffers: Fix pool value handling in mlxsw_sp_sb_tc_pool_bind_set Pool index has to be converted by get_pool helper to work correctly for egress pool. In mlxsw the egress pool index starts from 0. Fixes: 0f433fa0ecc ("mlxsw: spectrum_buffers: Implement shared buffer configuration") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>