linux_dsm_epyc7002/drivers/net/ethernet
Claudiu Manoil a9b97286fe gianfar: Maximize Rx buffer size
Until now the size of a Rx buffer was artificially limited
to 1536B (which happens to be the default, after reset, hardware
value for a Rx buffer). This approach however leaves unused
memory space for Rx packets, since the driver uses a paged
allocation scheme that reserves half a page for each Rx skb.
There's also the inconvenience that frames around 1536 bytes
can get scattered if the limit is slightly exceeded. This limit
can be exceeded even for standard MTU of 1500B traffic, for common
cases like stacked VLANs, or DSA tags.
To address these issues, let's just compute the buffer size
starting from the upper limit of 2KB (half a page) and
subtract the skb overhead and alignment restrictions.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-06 10:25:20 -08:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
amazon
amd
apm
apple
aquantia net: aquantia: fix error handling in aq_ptp_poll 2019-10-29 16:42:17 -07:00
arc net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
atheros net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
aurora net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
broadcom cnic: Set fp_hsi_ver as part of CLIENT_SETUP ramrod 2019-11-05 18:25:14 -08:00
brocade
cadence net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
calxeda
cavium cavium: thunder: Fix use true/false for bool type 2019-10-29 17:51:06 -07:00
chelsio cxgb4: Add pci reset handler 2019-11-05 18:28:44 -08:00
cirrus
cisco
cortina
davicom
dec
dlink
emulex
ezchip
faraday net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
freescale gianfar: Maximize Rx buffer size 2019-11-06 10:25:20 -08:00
fujitsu
google gve: Fixes DMA synchronization. 2019-11-01 15:00:05 -07:00
hisilicon net: hns3: remove unused macros 2019-11-05 18:01:48 -08:00
huawei
i825xx
ibm ehea: replace with page_shift() in ehea_is_hugepage() 2019-11-06 10:23:35 -08:00
intel Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 2019-11-05 13:40:12 -08:00
marvell net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
mediatek net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
mellanox mlx5-updates-2019-11-01 2019-11-03 19:23:49 -08:00
micrel
microchip
moxa
mscc net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
myricom
natsemi
neterion
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-02 13:54:56 -07:00
ni net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
nvidia net: forcedeth: add xmit_more support 2019-11-06 10:22:31 -08:00
nxp
oki-semi
packetengines
pasemi
pensando Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-02 13:54:56 -07:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-02 13:54:56 -07:00
qualcomm
rdc
realtek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-02 13:54:56 -07:00
renesas net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
rocker
samsung net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
seeq
sfc sfc: add XDP counters to ethtool stats 2019-10-31 14:14:53 -07:00
sgi net: sgi: ioc3-eth: ensure tx ring is 16k aligned. 2019-11-04 11:30:14 -08:00
silan
sis
smsc
socionext net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
stmicro net: ethernet: stmmac: drop unused variable in stm32mp1_set_mode() 2019-11-04 11:31:21 -08:00
sun
synopsys
tehuti
ti net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
toshiba
tundra
via
wiznet
xilinx net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig hp100: Move 100BaseVG AnyLAN driver to staging 2019-10-31 14:49:52 -07:00
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile hp100: Move 100BaseVG AnyLAN driver to staging 2019-10-31 14:49:52 -07:00