Thread (3 messages) 3 messages, 2 authors, 2016-07-29

Ethernet driver - without DMA ?

From: Ran Shalit <hidden>
Date: 2016-07-29 21:40:12

On Fri, Jul 29, 2016 at 10:03 PM, Greg KH [off-list ref] wrote:
On Fri, Jul 29, 2016 at 09:47:40PM +0300, Ran Shalit wrote:
quoted
 Hello,

Can we write Ethernet driver without using dma ?
Sure, we have USB network drivers that don't use DMA.
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help