[PATCH net-next v7 13/15] net: airoha: Introduce flowtable offload support

Jakub Kicinski kuba at kernel.org
Wed Feb 26 19:43:10 PST 2025


On Mon, 24 Feb 2025 12:25:33 +0100 Lorenzo Bianconi wrote:
> +	foe_size = PPE_NUM_ENTRIES * sizeof(struct airoha_foe_entry);
> +	ppe->foe = dmam_alloc_coherent(eth->dev, foe_size, &ppe->foe_dma,
> +				       GFP_KERNEL | __GFP_ZERO);

dmam_alloc_coherent() always zeros the memory, the GFP_ZERO is not necessary



More information about the linux-arm-kernel mailing list