diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2019-06-30 19:23:23 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2019-07-03 20:55:45 +0300 |
commit | b9a7ba5562074855e8a3f92ea7e1174b61a3e87d (patch) | |
tree | 3d2f3e4af99d2d31565ead07481717908a22fcd2 /include/linux/mlx5/driver.h | |
parent | net/mlx5: Fix mlx5_core_destroy_cq() error flow (diff) | |
download | linux-dev-b9a7ba5562074855e8a3f92ea7e1174b61a3e87d.tar.xz linux-dev-b9a7ba5562074855e8a3f92ea7e1174b61a3e87d.zip |
net/mlx5: Use event mask based on device capabilities
Use the reported device capabilities for the supported user events (i.e.
affiliated and un-affiliated) to set the EQ mask.
As the event mask can be up to 256 defined by 4 entries of u64 change
the applicable code to work accordingly.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
0 files changed, 0 insertions, 0 deletions