mlxsw: spectrum_qdisc: Extract two helpers for handling future FIFOs
authorPetr Machata <petrm@nvidia.com>
Tue, 19 Oct 2021 08:07:06 +0000 (11:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 11:24:51 +0000 (12:24 +0100)
commit91796f507afccf1c5aa3d7365df0f23c0eedd8c6
tree0d2af2f247512d5d84fd1d8c31a318e4c329c2e6
parent76ff72a7204f3a4e47345872895118149ddd57a8
mlxsw: spectrum_qdisc: Extract two helpers for handling future FIFOs

Extract from __mlxsw_sp_qdisc_ets_replace() two helpers for handling of one
future FIFO resp. reinitializing the array of future FIFOs.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c