genodelabs / genode-imx

i.MX SoC family support for the Genode OS framework
Other
8 stars 11 forks source link

nic/stmmac: implement page_frag_alloc_align #12

Open trimpim opened 1 month ago

trimpim commented 1 month ago

This method gets called when transferring data with scp.

trimpim commented 1 month ago

I did take the implementation from nic/fec. maybe this could even be added to the global lx_emul

chelmuth commented 1 month ago

You're right, we should consolidate the page_frag implementation. But in my opinion, we shall go for porting the original implementation from mm/page_alloc.c. It's only 3 C functions.