mlxsw: spectrum_qdisc: Add handle parameter to ..._ops.replace
authorPetr Machata <petrm@mellanox.com>
Thu, 5 Mar 2020 07:16:42 +0000 (09:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2020 22:03:31 +0000 (14:03 -0800)
commitc4e372e2ac7c9752ded23f24d718cad4a8234077
tree13243689cba23fcddc68876a349bc4c94cb6f853
parentee88450d2509f11fc5cb3fc8b4430b4186981886
mlxsw: spectrum_qdisc: Add handle parameter to ..._ops.replace

PRIO and ETS will need to check the value of qdisc handle in their
handlers. Add it to the callback and propagate through.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c