octeontx2-af: replace cpt slot with lf id on reg write

[ Upstream commit bc35e28af7 ]

Replace slot id with global CPT lf id on reg read/write as
CPTPF/VF driver would send slot number instead of global
lf id in the reg offset. And also update the mailbox response
with the global lf's register offset.

Fixes: ae454086e3 ("octeontx2-af: add mailbox interface for CPT")
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Nithin Dabilpuram 2024-07-10 13:21:23 +05:30 • committed by Greg Kroah-Hartman
commit e4dc9e89f4