A linux-friendly network adapter with FPGA