Re: [PATCH net-next v3 05/13] octeontx2-af: npc: cn20k: Allocate default MCAM indexes
From: Ratheesh Kannoth <hidden>
Date: 2026-01-13 09:59:17
Also in:
lkml
From: Ratheesh Kannoth <hidden>
Date: 2026-01-13 09:59:17
Also in:
lkml
On 2026-01-11 at 04:22:23, Jakub Kicinski (kuba@kernel.org) wrote:
On Fri, 9 Jan 2026 11:18:20 +0530 Ratheesh Kannoth wrote:quoted
Reserving MCAM entries in the AF driver for installing default MCAM entries is not an efficient allocation method, as it results in significant wastage of entries. This patch allocates MCAM indexes for promiscuous, multicast, broadcast, and unicast traffic in descending order of indexes (from lower to higher priority) when the NIX LF is attached to the PF/VF.Warning: drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.h:115 Enum value 'NPC_DFT_RULE_MAX_ID' not described in enum 'npc_dft_rule_id' Warning: drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.h:115 Enum value 'NPC_DFT_RULE_MAX_ID' not described in enum 'npc_dft_rule_id'
ACK.
You can use the /* private: */
Thanks
comment/label to mark off "misc" enum entries that don't need a doc