OSDN Git Service

mlxsw: spectrum: qdiscs: Move qdisc's declarations to its designated file
authorNogah Frankel <nogahf@mellanox.com>
Wed, 10 Jan 2018 13:59:57 +0000 (14:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 21:07:40 +0000 (16:07 -0500)
commit371b437a325172fb009c1919a84d0af38f9b4fce
tree55c2fe5d356db0993685e7d58341e4b142d6fcc2
parentd016e13d80949b1b5c72463c9808dee0bd39881c
mlxsw: spectrum: qdiscs: Move qdisc's declarations to its designated file

Move all the qdisc related data from the spectrum.h to spectrum_qdisc.c.
Create an init and fini functions for the qdiscs.

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