mlxsw: spectrum: qdiscs: Clean qdisc statistics structs
authorNogah Frankel <nogahf@mellanox.com>
Wed, 10 Jan 2018 14:00:00 +0000 (15:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 21:07:40 +0000 (16:07 -0500)
commit4d1a4b8473a18babd6b29efdc12b93d7bbd2a097
tree04943fe7125d1302ebc4a5542de6347904fd2fed
parentf8253df553537518e9f87fa2eb599d68a2df092b
mlxsw: spectrum: qdiscs: Clean qdisc statistics structs

Clean RED offloaded stats and make them more generic by breaking the
generic qdisc stats to a struct 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