]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-af: use dynamic interrupt vectors for CN10K
authorSrujana Challa <schalla@marvell.com>
Thu, 29 Aug 2024 08:09:33 +0000 (13:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2024 17:17:33 +0000 (18:17 +0100)
commit4ebe78e15b95e8baaf7c3686694b59319b215f38
treee38e4f7f4f04d10e240f0ca7c227fe175c7ec789
parent43d0035b2c6a0e309f6023aaf569c9ec0e4b55e3
octeontx2-af: use dynamic interrupt vectors for CN10K

This patch updates the driver to use a dynamic number of vectors instead
of a hard-coded value. This change accommodates the CN10KB, which has 2
vectors, unlike the previously supported chips that have 3 vectors.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h