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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux