linux_dsm_epyc7002/drivers/net/ethernet/marvell
willy tarreau 8ec2cd48fe net: mvneta: convert to build_skb()
Make use of build_skb() to allocate frags on the RX path. When frag size
is lower than a page size, we can use netdev_alloc_frag(), and we fall back
to kmalloc() for larger sizes. The frag size is stored into the mvneta_port
struct. The alloc/free functions check the frag size to decide what alloc/
free method to use. MTU changes are safe because the MTU change function
stops the device and clears the queues before applying the change.

With this patch, I observed a reproducible 2% performance improvement on
HTTP-based benchmarks, and 5% on small packet RX rate.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 15:15:43 -08:00
..
Kconfig net,marvell: Add dependency on HAS_IOMEM 2014-01-15 14:51:22 -08:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: properly start/stop phy device 2013-12-17 14:42:43 -05:00
mvmdio.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mvneta.c net: mvneta: convert to build_skb() 2014-01-16 15:15:43 -08:00
pxa168_eth.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
skge.c net: skge: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
skge.h
sky2.c net: sky2 calls skb_set_hash 2013-12-18 15:00:52 -05:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00