mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 17:51:57 +09:00
ionic: rebuild debugfs on qcq swap
With a reconfigure of each queue is needed a rebuild of the matching debugfs information. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
89e572e736
commit
55eda6bbe0
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user