commit | a03bb56e67c357980dae886683733dab5583dc14 | [log] [tgz] |
---|---|---|
author | Govindarajulu Varadarajan <_govind@gmx.com> | Wed Sep 03 03:17:19 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 05 12:12:20 2014 -0700 |
tree | 787611409812bc85e37ebdbd09a86aa309b61f7b | |
parent | e020836d953eb1ce5b9221b32f4613646a4d5772 [diff] |
enic: implement rx_copybreak Calling dma_map_single()/dma_unmap_single() is quite expensive compared to copying a small packet. So let's copy short frames and keep the buffers mapped. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>