octeontx2-pf: Move shared APIs to header file
authorGeetha sowjanya <gakula@marvell.com>
Wed, 23 Oct 2024 16:18:43 +0000 (21:48 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:50:32 +0000 (17:50 -0700)
commit78bd5d81241ebb921d51cc4c7f8bf26bd4b8de3f
treec84fcb5c242f206c6f84221672488459b940a176
parentdec6f5ebd724731091a81e452eff78de341c9e6a
octeontx2-pf: Move shared APIs to header file

Move mbox, hw resources and interrupt configuration functions to common
header file. So, that they can be used later by the RVU representor driver.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241023161843.15543-5-gakula@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c