diff options
author | Noa Osherovich <[email protected]> | 2016-10-25 18:36:35 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-29 12:00:39 -0400 |
commit | 6b276190c50a12511d889d9079ffb901ff94a822 (patch) | |
tree | 2fbd8a81031683406fa5fbd8a50f310aea4be4fc /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions