OpenCloudOS-Kernel/drivers/net/ethernet/marvell/mvpp2
Matteo Croce a0c78337dd mvpp2: prefetch frame header
When receiving traffic, eth_type_trans() is high up on the perf top list,
because it's the first function which access the packet data.

Move the DMA unmap a bit higher, and put a prefetch just after it, so we
have more time to load the data into the cache.

The packet rate increase is about 14% with a tc drop test: 1620 => 1853 kpps

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-28 13:44:26 -07:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2.h mvpp2: percpu buffers 2019-09-02 12:07:46 -07:00
mvpp2_cls.c net: mvpp2: cls: Add support for ETHER_FLOW 2019-07-08 15:50:06 -07:00
mvpp2_cls.h net: mvpp2: cls: Add steering based on vlan Id and priority. 2019-06-18 22:26:05 -04:00
mvpp2_debugfs.c mvpp2: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
mvpp2_main.c mvpp2: prefetch frame header 2019-10-28 13:44:26 -07:00
mvpp2_prs.c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift 2019-06-28 14:44:03 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00