net: mana: Define data structures for protection domain and memory registration
authorAjay Sharma <sharmaajay@microsoft.com>
Thu, 3 Nov 2022 19:16:29 +0000 (12:16 -0700)
committerLeon Romanovsky <leonro@nvidia.com>
Thu, 10 Nov 2022 05:57:27 +0000 (07:57 +0200)
commit28c66cfa45388af1126985d1114e0ed762eb2abd
tree9092ab25d0f457ee5dac39e7fbb6c8bd884786c0
parentf72ececfc197e9b0bbb5595294908a950cf444fa
net: mana: Define data structures for protection domain and memory registration

The MANA hardware support protection domain and memory registration for use
in RDMA environment. Add those definitions and expose them for use by the
RDMA driver.

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