linux_dsm_epyc7002/drivers/net/ethernet/ibm/ehea
Anton Blanchard 945db2d4f4 ehea: Allocate large enough skbs to avoid partial cacheline DMA writes
The ehea adapter has a mode where it will avoid partial cacheline DMA
writes on receive by always padding packets to fall on a cacheline
boundary.

Unfortunately we currently aren't allocating enough space for a full
ethernet MTU packet to be rounded up, so this optimisation doesn't hit.

It's unfortunate that the next largest packet size exposed by the
hypervisor interface is 2kB, meaning our skb allocation comes out of a
4kB SLAB. However the performance increase due to this optimisation is
quite large and my TCP stream numbers increase from 900MB to 1000MB/sec.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-17 19:00:54 -04:00
..
ehea_ethtool.c ehea: Update multiqueue support 2011-10-17 19:00:54 -04:00
ehea_hw.h ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
ehea_main.c ehea: Add vlan_features 2011-10-17 19:00:54 -04:00
ehea_phyp.c ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
ehea_phyp.h ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
ehea_qmr.c ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
ehea_qmr.h ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
ehea.h ehea: Allocate large enough skbs to avoid partial cacheline DMA writes 2011-10-17 19:00:54 -04:00
Makefile ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00