Re: [PATCH net-next v3 05/13] octeontx2-af: npc: cn20k: Allocate default MCAM indexes
From: Jakub Kicinski
Date: Sat Jan 10 2026 - 17:52:24 EST
On Fri, 9 Jan 2026 11:18:20 +0530 Ratheesh Kannoth wrote:
> 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'
You can use the
/* private: */
comment/label to mark off "misc" enum entries that don't need a doc