]> git.ipfire.org Git - thirdparty/linux.git/commit
octeontx2-pf: Define common API for HW resources configuration
authorGeetha sowjanya <gakula@marvell.com>
Wed, 23 Oct 2024 16:18:40 +0000 (21:48 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:50:32 +0000 (17:50 -0700)
commitfbc704b3104b8110106dfca721450635bef27807
treee26c8dafb3e0443b4fb7536faaa579d6c13a2074
parentb4d0679b34e47873fff04bb91ba54d2bcc06df27
octeontx2-pf: Define common API for HW resources configuration

Define new API "otx2_init_rsrc" and move the HW blocks
NIX/NPA resources configuration code under this API. So, that
it can be used by the RVU representor driver that has similar
resources of RVU NIC.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241023161843.15543-2-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