summary refs log tree commit diff
path: root/ipc
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-04-22 12:08:42 +0000
committerDavid S. Miller <davem@davemloft.net>2019-04-22 22:09:32 -0700
commit93d3668c027d8f6dd55d0b904d88675726662d99 (patch)
tree923a0efb462cc8394cc9aeeb9a55c9d2250ce06b /ipc
parent8f6862065d8be320ba45a52c8a361b580722fc18 (diff)
downloadlinux-93d3668c027d8f6dd55d0b904d88675726662d99.tar.gz
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions