ibmveth: Add tx_copybreak
Subsystems (2)
Quoted 15 lines · Anton Blanchard
Use the existing bounce buffer if we send a buffer under a certain size. This saves the overhead of a TCE map/unmap.
I can't see any reason for the
wmb()in the bounce buffer case, if we need a barrier it will be before we callh_send_logical_lanbut we have nothing in the common case. Remove it.Signed-off-by Anton Blanchard <[email protected]>---
Index:
powerpc.git/drivers/net/ibmveth.c
===================================================================
drivers/net/ibmveth.c MODULE_DESCRIPTION("IBM i/pSeries Virtua · line 120
Quoted 4 lines
drivers/net/ibmveth.c +1
-0@@ -117,6 +117,11 @@ MODULE_DESCRIPTION("IBM i/pSeries VirtuaMODULE_LICENSE ("GPL" );MODULE_VERSION (ibmveth_driver_version); +static unsigned int tx_copybreak__read_mostly =128 ;
Where did the 128 come from? I thought I heard the 2k value discussed in the past.
Thanks,
Brian
Signature · 3 lines
Brian King Linux on Power Virtualization IBM Linux Technology Center