]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-af: avoid RXC register access for CN10KB
authorSrujana Challa <schalla@marvell.com>
Thu, 29 Aug 2024 08:09:34 +0000 (13:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2024 17:17:33 +0000 (18:17 +0100)
commit1652623291c50a9ec4db3c416b7d01701b4012ff
treeeeb5e850c2fbb9206f90ecd3f2b844d68bac852f
parent4ebe78e15b95e8baaf7c3686694b59319b215f38
octeontx2-af: avoid RXC register access for CN10KB

This patch modifies the driver to prevent access to RXC hardware
registers on the CN10KB, as RXC is not available on this chip.

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/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c