OrangePi_CM5/drivers/net/ethernet/sfc/falcon
Martin Habets f7edb6b943 sfc: The RX page_ring is optional
commit 1d5a474240407c38ca8c7484a656ee39f585399c upstream.

The RX page_ring is an optional feature that improves
performance. When allocation fails the driver can still
function, but possibly with a lower bandwidth.
Guard against dereferencing a NULL page_ring.

Fixes: 2768935a46 ("sfc: reuse pages to avoid DMA mapping/unmapping costs")
Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Reported-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/164111288276.5798.10330502993729113868.stgit@palantir17.mph.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-11 15:24:59 +01:00
..
Kconfig
…
Makefile
…
bitfield.h
…
efx.c
…
efx.h
…
enum.h
…
ethtool.c
…
falcon.c
…
falcon_boards.c
…
farch.c
…
farch_regs.h
…
filter.h
…
io.h
…
mdio_10g.c
…
mdio_10g.h
…
mtd.c
…
net_driver.h
…
nic.c
…
nic.h
…
phy.h
…
qt202x_phy.c
…
rx.c
…
selftest.c
…
selftest.h
…
tenxpress.c
…
tx.c
…
tx.h
…
txc43128_phy.c
…
workarounds.h
…