]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mlxsw: spectrum: qdiscs: Make the clean stats function to be for RED only
authorNogah Frankel <nogahf@mellanox.com>
Wed, 10 Jan 2018 14:00:01 +0000 (15:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 21:07:40 +0000 (16:07 -0500)
commitc2ed6db76519902b39598ee5cde2f2f6d855e528
treef30df97682c2d1c59def7ae7b4d3689cc26c025d
parent4d1a4b8473a18babd6b29efdc12b93d7bbd2a097
mlxsw: spectrum: qdiscs: Make the clean stats function to be for RED only

Improve readability by changing the clean stats function to handle only
RED. Qdiscs that will be offloaded in the future will have a clean stats
function of their own.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c