linux_dsm_epyc7002/drivers/net/ethernet
Jakub Kicinski 23d9f5531c nfp: provide a better warning when ring allocation fails
NFP supports fairly enormous ring sizes (up to 256k descriptors).
In commit 4662717038 ("nfp: use kvcalloc() to allocate SW buffer
descriptor arrays") we have started using kvcalloc() functions to
make sure the allocation of software state arrays doesn't hit
the MAX_ORDER limit.  Unfortunately, we can't use virtual mappings
for the DMA region holding HW descriptors.  In case this allocation
fails instead of the generic (and fairly scary) warning/splat in
the logs print a helpful message explaining what happened and
suggesting how to fix it.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-19 23:07:41 -07:00
..
3com
8390 net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
adaptec net: adaptec: Replace mdelay() with msleep() in starfire_init_one() 2018-07-26 21:24:23 -07:00
aeroflex net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
agere net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
alacritech net: ethernet: slicoss: remove duplicated include from slic.h 2018-09-18 19:57:40 -07:00
allwinner net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
alteon alteon: acenic: mark expected switch fall-through 2018-08-07 17:54:19 -07:00
altera net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
amazon net: ethernet: remove redundant include 2018-09-18 20:07:27 -07:00
amd net: amd: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
apm net: ethernet: Add helper to determine if pause configuration is supported 2018-09-12 20:24:21 -07:00
apple net: ethernet: Use existing define with polynomial 2018-07-27 19:16:37 +08:00
aquantia net: aquantia: memory corruption on jumbo frames 2018-09-17 08:14:14 -07:00
arc
atheros net: ethernet: remove redundant include 2018-09-18 20:07:27 -07:00
aurora net: ethernet: Add helper for set_pauseparam for Asym Pause 2018-09-12 20:24:21 -07:00
broadcom net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
brocade
cadence Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:33:27 -07:00
calxeda
cavium net: cavium: fix return type of ndo_start_xmit function 2018-09-18 20:02:29 -07:00
chelsio net: ethernet: remove redundant include 2018-09-18 20:07:27 -07:00
cirrus
cisco net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
cortina net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
davicom
dec net: tulip: de4x5: mark expected switch fall-throughs 2018-08-07 17:54:19 -07:00
dlink
emulex be2net: Fix memory leak in be_cmd_get_profile_config() 2018-09-05 08:07:55 -07:00
ezchip
faraday net: ethernet: Add helper for set_pauseparam for Asym Pause 2018-09-12 20:24:21 -07:00
freescale gianfar: remove duplicated include from gianfar.c 2018-09-17 19:41:22 -07:00
fujitsu
hisilicon net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg() 2018-09-19 21:20:23 -07:00
hp net: hp100: fix always-true check for link up state 2018-09-17 07:55:19 -07:00
huawei net-next: hinic: fix a problem in free_tx_poll() 2018-08-08 09:46:08 -07:00
i825xx
ibm net: ibm: remove redundant local variables 'act_nr_of_entries' and 'act_pages' 2018-09-19 21:26:40 -07:00
intel intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
marvell net: marvell: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
mediatek net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
mellanox Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-09-12 22:22:42 -07:00
micrel Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
microchip Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:33:27 -07:00
moxa
mscc
myricom
natsemi
neterion net: neterion: vxge: Use linux/io-64-nonatomic-lo-hi.h 2018-09-18 20:06:23 -07:00
netronome nfp: provide a better warning when ring allocation fails 2018-09-19 23:07:41 -07:00
ni net: nixge: Fix Kconfig warning with OF_MDIO 2018-09-02 16:10:15 -07:00
nuvoton
nvidia net: nvidia: forcedeth: Replace GFP_ATOMIC with GFP_KERNEL in nv_probe() 2018-07-27 13:45:14 -07:00
nxp net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
oki-semi
packetengines
pasemi
qlogic net: qede: Use FIELD_SIZEOF directly instead of reimplementing its function 2018-09-19 20:58:05 -07:00
qualcomm net: qca_spi: Fix race condition in spi transfers 2018-09-05 08:09:35 -07:00
rdc net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
realtek r8169: remove duplicated RTL8169s PHY initialization steps 2018-09-19 23:06:30 -07:00
renesas ravb: remove tx buffer addr 4byte alilgnment restriction for R-Car Gen3 2018-09-19 21:08:20 -07:00
rocker
samsung net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
seeq
sfc net: sfc: falcon: mark expected switch fall-through 2018-08-07 17:54:21 -07:00
sgi
silan
sis
smsc net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
socionext net: socionext: Fix two sleep-in-atomic-context bugs in ave_rxfifo_reset() 2018-09-17 19:02:44 -07:00
stmicro Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:33:27 -07:00
sun net: sun: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
synopsys net: ethernet: Use existing define with polynomial 2018-07-27 19:16:37 +08:00
tehuti
ti net: ti: Use FIELD_SIZEOF directly instead of reimplementing its function 2018-09-19 20:58:05 -07:00
toshiba net: toshiba: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
tundra
via
wiznet
xilinx net: xilinx: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
xircom
xscale
dnet.c net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
dnet.h
ec_bhf.c
ethoc.c net: ethernet: Use phy_set_max_speed() to limit advertised speed 2018-09-12 20:24:20 -07:00
fealnx.c
jme.c net: jme: Replace mdelay() with msleep() and usleep_range() in jme_wait_link() 2018-07-27 13:45:14 -07:00
jme.h
Kconfig net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver 2018-09-13 08:14:33 -07:00
korina.c
lantiq_etop.c MIPS: lantiq: Do not enable IRQs in dma open 2018-09-13 08:14:33 -07:00
lantiq_xrx200.c net: lantiq: lantiq_xrx200: Move clock prepare to probe function 2018-09-17 08:12:11 -07:00
Makefile net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver 2018-09-13 08:14:33 -07:00
netx-eth.c