diff options
| author | Maher Sanalla <msanalla@nvidia.com> | 2023-06-11 19:55:02 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-07 10:53:51 -0700 |
| commit | e3e56775e91398df95c610bfc9bf4025db7dcf66 (patch) | |
| tree | 58d884703bc2f0c6b5f331e2912f36646bd6ae7d /drivers/fpga/fpga-bridge.c | |
| parent | 273c697fdedc65f8b423a652fb248860a3dbf36d (diff) | |
net/mlx5: Implement single completion EQ create/destroy methods
Currently, create_comp_eqs() function handles the creation of all
completion EQs for all the vectors on driver load. While on driver
unload, destroy_comp_eqs() performs the equivalent job.
In preparation for dynamic EQ creation, replace create_comp_eqs() /
destroy_comp_eqs() with create_comp_eq() / destroy_comp_eq() functions
which will receive a vector index and allocate/destroy an EQ for that
specific vector. Thus, allowing more flexibility in the management
of completion EQs.
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
