commit | 9a37a59f715256cea75cbdbcacd21e9e9dd4b72f | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Wed Jan 10 15:00:05 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 10 16:07:41 2018 -0500 |
tree | c6bc614179789c6971525709f09c7d13c13ac559 | |
parent | 562ffbc4b3eb2fa8cd8eac1f22bc264dbbeb9a16 [diff] |
mlxsw: spectrum: qdiscs: Create a generic destroy function Add a destroy function to the qdiscs ops struct. Create a generic qdisc destroy function, that clears the qdisc metadata as well as calling the specific qdisc destroy function. 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>