diff options
author | Martin Habets <[email protected]> | 2022-01-02 08:41:22 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-01-04 18:14:21 -0800 |
commit | 1d5a474240407c38ca8c7484a656ee39f585399c (patch) | |
tree | 6bb4163e23d6bc889744f3dbca70c8d86a421274 /tools/perf/scripts/python/export-to-sqlite.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 <[email protected]>
Reported-by: Jiasheng Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions