Re: multipath IB/srp fail-over testing lands up in dump stack in swiotlb_alloc_coherent()

Bart Van Assche
2016-06-13T06:32:53Z

On 06/12/2016 03:40 PM, Laurence Oberman wrote:
> Jun 8 10:12:52 jumpclient kernel: mlx5_core 0000:08:00.1: swiotlb buffer is full (sz: 266240 bytes)
> Jun 8 10:12:52 jumpclient kernel: swiotlb: coherent allocation failed for device 0000:08:00.1 size=266240

Hello,

I think the above means that the coherent memory allocation succeeded
but that the test dev_addr + size - 1 <= DMA_BIT_MASK(32) failed. Can
someone from Mellanox tell us whether or not it would be safe to set
coherent_dma_mask to DMA_BIT_MASK(64) for the mlx4 and mlx5 drivers?

Thanks,

Bart.