ibmveth: Add rx_copybreak
authorSantiago Leon <santil@linux.vnet.ibm.com>
Fri, 3 Sep 2010 18:28:25 +0000 (18:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:20:34 +0000 (18:20 -0700)
commit8d86c61ae41d9068fd5e5cc01a4abd53c4fe3ab5
treeac612e5ddbb624ebb6500334d16b648cc7545471
parentc08cc3ccebd46dce44d13a8ce81d249e687eeb8a
ibmveth: Add rx_copybreak

For small packets, create a new skb and copy the packet into it so we
avoid tearing down and creating a TCE entry.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ibmveth.c