octeontx2-af: Fix issue with loading coalesced KPU profiles
authorHariprasad Kelam <hkelam@marvell.com>
Tue, 26 Mar 2024 12:21:49 +0000 (17:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2024 11:45:42 +0000 (11:45 +0000)
commit0ba80d96585662299d4ea4624043759ce9015421
tree1e44f9b0bad2dd026215e4343bc17d19e75a26be
parentad69a730c616b32a10d8f11523cd9124362bba56
octeontx2-af: Fix issue with loading coalesced KPU profiles

The current implementation for loading coalesced KPU profiles has
a limitation.  The "offset" field, which is used to locate profiles
within the profile is restricted to a u16.

This restricts the number of profiles that can be loaded. This patch
addresses this limitation by increasing the size of the "offset" field.

Fixes: 11c730bfbf5b ("octeontx2-af: support for coalescing KPU profiles")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c