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

Lorenzo Bianconi lorenzo at kernel.org
Thu Feb 27 00:37:02 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

ack, I will fix it.

Regards,
Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250227/206ce687/attachment.sig>


More information about the linux-arm-kernel mailing list