clean up dma api of ethernet driver