diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-09-27 23:36:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-29 05:36:39 +0300 |
commit | 258e655c00734d2e4b5fd8ee2827f76cd0fe39c4 (patch) | |
tree | 3cf8613ee35503988ea4d0a207893db27336db80 /mm/swap_slots.c | |
parent | 3904d2afad4ccf9ec7dbe9b7096ee5f9acde3a00 (diff) | |
download | linux-258e655c00734d2e4b5fd8ee2827f76cd0fe39c4.tar.xz |
net/mlx5e: Make dma_info array dynamic in struct mlx5e_mpw_info
This commit moves the dma_info array to the end of struct mlx5e_mpw_info
to make it a flexible array. It also removes the intermediate struct
mlx5e_umr_dma_info, which used to contain only this array. The
flexibility of dma_info will allow to choose its size dynamically in a
following commit.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/swap_slots.c')
0 files changed, 0 insertions, 0 deletions