commit | 93d3668c027d8f6dd55d0b904d88675726662d99 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Apr 22 12:08:42 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 22 22:09:32 2019 -0700 |
tree | 923a0efb462cc8394cc9aeeb9a55c9d2250ce06b | |
parent | 8f6862065d8be320ba45a52c8a361b580722fc18 [diff] |
mlxsw: spectrum_buffers: Use defines for pool indices The pool indices are currently hard coded throughout the code, which makes the code hard to follow and extend. Overcome this by using defines for the pool indices. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>