diff options
author | Noa Osherovich <noaos@mellanox.com> | 2016-10-25 18:36:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 12:00:39 -0400 |
commit | 6b276190c50a12511d889d9079ffb901ff94a822 (patch) | |
tree | 2fbd8a81031683406fa5fbd8a50f310aea4be4fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04c0c1ab38e95105d950db5b84e727637e149ce7 (diff) |
net/mlx5: Avoid passing dma address 0 to firmware
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions