Files
linux/drivers
Hariprasad Kelam eeaf264cd4 octeontx2-af: Fix mapping for NIX block from CGX connection
[ Upstream commit 2e7bc57b97 ]

Firmware configures NIX block mapping for all MAC blocks.
The current implementation reads the configuration and
creates the mapping between RVU PF  and NIX blocks. But
this configuration is only valid for silicons that support
multiple blocks. For all other silicons, all MAC blocks
map to NIX0.

This patch corrects the mapping by adding a check for the same.

Fixes: c5a73b632b ("octeontx2-af: Map NIX block from CGX connection")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:47:29 +02:00
..
2023-06-14 11:13:08 +02:00
2023-07-23 13:47:25 +02:00
2023-07-23 13:46:46 +02:00
2023-04-05 11:24:55 +02:00
2023-03-10 09:40:13 +01:00
2022-08-25 11:40:33 +02:00
2023-07-23 13:47:20 +02:00
2021-12-22 09:32:39 +01:00