diff options
author | 2024-01-01 20:20:42 +0530 | |
---|---|---|
committer | 2024-01-03 17:52:51 -0800 | |
commit | 4ebb1f95e0c3c3e0eec5bb21aa43097580c4b6e4 (patch) | |
tree | 93a69b65c33ce6f383b5e08dd222e5ecf9663cbc /net/core/dev.c | |
parent | selftests/net: change shebang to bash to support "source" (diff) | |
download | linux-rng-4ebb1f95e0c3c3e0eec5bb21aa43097580c4b6e4.tar.xz linux-rng-4ebb1f95e0c3c3e0eec5bb21aa43097580c4b6e4.zip |
octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
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>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions