Files
linux/drivers/net
Suman Ghosh 315d966df2 octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
[ Upstream commit 4ebb1f95e0c3c3e0eec5bb21aa43097580c4b6e4 ]

As of today, the last MCAM entry was not getting allocated because of
a <= check with the max_bmap count. This patch modifies that and if the
requested entry is greater than the available entries then set it to the
max value.

Signed-off-by: Suman Ghosh <sumang@marvell.com>
Link: https://lore.kernel.org/r/20240101145042.419697-1-sumang@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:54:46 +01:00
..
2021-08-03 13:05:26 +01:00
2024-02-23 08:54:30 +01:00
2023-11-28 16:56:23 +00:00
2023-12-03 07:31:21 +01:00
2021-07-27 20:11:43 +01:00
2022-08-25 11:40:15 +02:00
2023-11-20 11:08:16 +01:00
2023-08-03 10:22:34 +02:00
2021-07-27 20:11:44 +01:00
2021-08-03 13:05:26 +01:00
2023-10-25 11:58:57 +02:00