summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/faraday/Kconfig
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-06 11:02:49 +1000
committerDavid S. Miller <davem@davemloft.net>2017-04-06 15:39:45 -0700
commit7b49cd1c9eca4acd4dc36b6c2c532cad3576171d (patch)
tree0c0904d4272c2994507394fe75298c22092f6c00 /drivers/net/ethernet/faraday/Kconfig
parent01dd70b52a43f033798e3ce53e576b0c882d5f26 (diff)
downloadlinux-7b49cd1c9eca4acd4dc36b6c2c532cad3576171d.tar.bz2
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>
Diffstat (limited to 'drivers/net/ethernet/faraday/Kconfig')
0 files changed, 0 insertions, 0 deletions