Commit 55eda6bb authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller
Browse files

ionic: rebuild debugfs on qcq swap



With a reconfigure of each queue is needed a rebuild of
the matching debugfs information.

Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89e572e7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2204,6 +2204,9 @@ static void ionic_swap_queues(struct ionic_qcq *a, struct ionic_qcq *b)
	swap(a->cq_base,      b->cq_base);
	swap(a->cq_base_pa,   b->cq_base_pa);
	swap(a->cq_size,      b->cq_size);

	ionic_debugfs_del_qcq(a);
	ionic_debugfs_add_qcq(a->q.lif, a);
}

int ionic_reconfigure_queues(struct ionic_lif *lif,