On Fri, Jul 29, 2016 at 10:03 PM, Greg KH <greg@xxxxxxxxx> wrote: > On Fri, Jul 29, 2016 at 09:47:40PM +0300, Ran Shalit wrote: >> Hello, >> >> Can we write Ethernet driver without using dma ? > > Sure, we have USB network drivers that don't use DMA. > >> But still using sk_buff APIs like done in most drivers ? > > Yup. > > What type of hardware are you wanting to write an Ethernet driver for? OMAP4, (omap4460), which connect to mac controller implemented in FPGA. There is no template for ethernet driver, but I see that netx-eth has quite simple implementation, which looks as a good starting template: https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/netx-eth.c > > thanks, > > greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies