linux/drivers/net/ethernet/faraday
Benjamin Herrenschmidt 7b49cd1c9e ftgmac100: Directly receive into sk_buffs
The current driver receive path allocates pages and stashes
them into SKB fragments. This is not particularly useful as
we don't support jumbo frames (which wouldn't be great with
the small FIFOs on all the known implementations) anyway.

It also makes us flush the caches and allocate more memory
for RX than necessary.

So set our RX buf to our max packet size instead (which we
bump to 1536 bytes to account for packets with vlan tags
etc...) like most other ethernet drivers.

Then allocate skbs when populating the receive ring and DMA
directly into them.

This simplifies the RX path further.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-06 15:39:45 -07:00
..
ftgmac100.c ftgmac100: Directly receive into sk_buffs 2017-04-06 15:39:45 -07:00
ftgmac100.h ftgmac100: Rework NAPI & interrupts handling 2017-04-06 12:38:04 -07:00
ftmac100.c drivers: net: ethernet: remove incorrect __exit markups 2017-03-02 14:33:49 -08:00
ftmac100.h
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile