commit | b11c3b4018e630dfcbdc2b9fe7aaffce5da8cfd7 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Apr 14 18:19:17 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 14 16:22:04 2016 -0400 |
tree | 5c9f46c9260690ba59779d354afcb531bc521808 | |
parent | 94266e3278ef862bb422575a31ceb166dab1b406 [diff] |
mlxsw: spectrum_buffers: Push out indexes and direction out of SB structs Structs are in arrays so use array index as pool/tc/prio index. With that, there is need to maintain separate arrays for ingress and egress. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>