diff options
author | Roi Dayan <roid@nvidia.com> | 2021-01-26 12:51:04 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-17 02:48:41 +0300 |
commit | c276aae8c19d65e21a43c2690c7c7dafea0e97fa (patch) | |
tree | 856a88e2ff502eee48718eff0d9eb608e5935c93 /include/linux/mlx5/driver.h | |
parent | 5a65d85dc7f4532755750aab645c46a47219fd1a (diff) | |
download | linux-c276aae8c19d65e21a43c2690c7c7dafea0e97fa.tar.xz |
net/mlx5: Move mlx5e hw resources into a sub object
This is to separate between resources attributes and other
attributes we will want to use.
Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 53b89631a1d9..9887181dea5f 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -644,10 +644,12 @@ struct mlx5_td { }; struct mlx5e_resources { - u32 pdn; - struct mlx5_td td; - struct mlx5_core_mkey mkey; - struct mlx5_sq_bfreg bfreg; + struct mlx5e_hw_objs { + u32 pdn; + struct mlx5_td td; + struct mlx5_core_mkey mkey; + struct mlx5_sq_bfreg bfreg; + } hw_objs; }; enum mlx5_sw_icm_type { |