]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit930ece38b54f7f5357f056281bd3474e5cf7036d
tree04943fe7125d1302ebc4a5542de6347904fd2fed
parentf3f853741bc728beefbc2f6b9fd0eee34e2dac6b
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