Thread (18 messages) read the whole thread 18 messages, 2 authors, 2025-02-27

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

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-02-27 08:37:05
Also in: linux-devicetree, linux-mediatek, netdev

On Mon, 24 Feb 2025 12:25:33 +0100 Lorenzo Bianconi wrote:
quoted
+	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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help