Noa Osherovich 6b276190c5 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>
2016-10-29 12:00:39 -04:00
..
2016-08-06 09:20:13 -04:00
2016-08-15 11:57:55 -07:00
2016-09-19 01:25:22 -04:00
2016-08-31 14:33:09 -07:00
2016-10-20 14:32:22 -04:00
2016-09-20 22:55:23 -04:00
2016-08-30 22:27:18 -07:00
2016-10-20 14:32:22 -04:00