aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-11-19 10:52:40 -0800
committerLeon Romanovsky <leonro@mellanox.com>2018-11-20 20:07:05 +0200
commit7701707cb94ed4d1e63ae4fa5ef62a2345ef9db7 (patch)
tree8e97e9bfb7b7e2bca454d1170a733b515c33b095 /include/acpi
parentnet/mlx5: EQ, Different EQ types (diff)
downloadlinux-dev-7701707cb94ed4d1e63ae4fa5ef62a2345ef9db7.tar.xz
linux-dev-7701707cb94ed4d1e63ae4fa5ef62a2345ef9db7.zip
net/mlx5: EQ, Generic EQ
Add mlx5_eq_{create/destroy}_generic APIs and EQE access methods, for mlx5 core consumers generic EQs. This API will be used in downstream patch to move page fault (RDMA ODP) EQ logic into mlx5_ib rdma driver, hence it will use a generic EQ. Current mlx5 EQ allocation scheme: On load mlx5 allocates 4 (for async) + #cores (for data completions) MSIX vectors, mlx5 core will assign 3 MSIX vectors for internal async EQs and will use all of the #cores MSIX vectors for completion EQs, (One vector is going to be reserved for a generic EQ). After this patch an external user (e.g mlx5_ib) of mlx5_core can use this new API to create new generic EQs with the reserved msix vector index for that eq. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions