diff options
| author | Noa Osherovich <noaos@mellanox.com> | 2016-10-25 18:36:35 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:25:54 +0200 |
| commit | 7955b3993b7e17dcf66b1a8d5ffabd898eccbb29 (patch) | |
| tree | 2d76ca39b5e20b1e13e70b281d4b4112772893b7 /tools/perf/scripts/python | |
| parent | 565993e288f0b2067d03640315a498baac11c5b1 (diff) | |
net/mlx5: Avoid passing dma address 0 to firmware
commit 6b276190c50a12511d889d9079ffb901ff94a822 upstream.
Currently the firmware can't work with a page with dma address 0.
Passing such an address to the firmware will cause the give_pages
command to fail.
To avoid this, in case we get a 0 dma address of a page from the
dma engine, we avoid passing it to FW by remapping to get an address
other than 0.
Fixes: bf0bf77f6519 ('mlx5: Support communicating arbitrary host...')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
