octeontx2-pf: QOS: Perform cache sync on send queue teardown
authorHariprasad Kelam <hkelam@marvell.com>
Thu, 22 May 2025 09:47:41 +0000 (15:17 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 28 May 2025 06:41:16 +0000 (08:41 +0200)
commit479c58016099d19686e36f6c50f912360839a7fa
treec690ec9aefafc2c231d83617a5a069bbcead75b8
parent846992645b25ec4253167e3f931e4597eb84af56
octeontx2-pf: QOS: Perform cache sync on send queue teardown

QOS is designed to create a new send queue whenever  a class
is created, ensuring proper shaping and scheduling. However,
when multiple send queues are created and deleted in a loop,
SMMU errors are observed.

This patch addresses the issue by performing an data cache sync
during the teardown of QOS send queues.

Fixes: ab6dddd2a669 ("octeontx2-pf: qos send queues management")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250522094742.1498295-1-hkelam@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c