Ethernet frame processing in RISC-V+QEMU environment

Hello All,
I would like to run FreeRTOS on RISC-V+QEMU to process ethernet frames.
Do you have any libraries or sample programs for ethernet frame processing?
Is there any other way than porting NetworkInterface.c in FreeRTOS-Plus-TCP for RISC-V?

Appreciate any helps.

If you just need to process Ethernet buffer, you can try to extract that code from FreeRTOS+TCP - FreeRTOS-Plus-TCP/source/FreeRTOS_IP.c at main · FreeRTOS/FreeRTOS-Plus-TCP · GitHub

On the other hand, if you need a complete TCP stack, you can port FreeRTOS+TCP as you said.