diff options
author | Martin Habets <habetsm.xilinx@gmail.com> | 2022-01-02 08:41:22 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-04 18:14:21 -0800 |
commit | 1d5a474240407c38ca8c7484a656ee39f585399c (patch) | |
tree | 6bb4163e23d6bc889744f3dbca70c8d86a421274 /tools/perf/scripts/python/sctop.py | |
parent | 6f89ecf10af1396ddc34c303ae1168a11f3f04a3 (diff) |
sfc: The RX page_ring is optional
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: 2768935a4660 ("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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions