net: mana: Set the DMA device max segment size
authorAjay Sharma <sharmaajay@microsoft.com>
Thu, 3 Nov 2022 19:16:22 +0000 (12:16 -0700)
committerLeon Romanovsky <leonro@nvidia.com>
Thu, 10 Nov 2022 05:57:26 +0000 (07:57 +0200)
commit6fe254160bd033a1e62dbad9b734183b31144678
tree60588adc67c6370f61933d6a12274cd7d1a36b7e
parentb5c1c9855be3b5b978fde975a63df3cabc273faa
net: mana: Set the DMA device max segment size

MANA hardware doesn't have any restrictions on the DMA segment size, set it
to the max allowed value.

Signed-off-by: Ajay Sharma <sharmaajay@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1667502990-2559-5-git-send-email-longli@linuxonhyperv.com
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/microsoft/mana/gdma_main.c