commit | d56c89550bd0da43bfe9f91ade469ab3f233c62b | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Wed Jan 10 15:00:02 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 10 16:07:40 2018 -0500 |
tree | bfdaa3c8e861d6732023f6537c53c5bfc358d8a4 | |
parent | c2ed6db76519902b39598ee5cde2f2f6d855e528 [diff] |
mlxsw: spectrum: qdiscs: Add tclass number to the mlxsw_sp_qdisc Tclass number is needed for most of the operations related to the qdisc in the driver. Create a field for it in the mlxsw_sp_qdisc instead of passing it to every function as parameter. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Yuval Mintz <yuvalm@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>