]> www.infradead.org Git - users/hch/xfs.git/commit
octeontx2-af: replace cpt slot with lf id on reg write
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 10 Jul 2024 07:51:23 +0000 (13:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2024 12:42:00 +0000 (13:42 +0100)
commitbc35e28af7890085dcbe5cc32373647dfb4d9af9
tree1f32c3a637dd0fdb0ca8d3c8d2882a90f1cf4142
parent8b9b59e27aa88ba133fbac85def3f8be67f2d5a8
octeontx2-af: replace cpt slot with lf id on reg write

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: ae454086e3c2 ("octeontx2-af: add mailbox interface for CPT")
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c