diff options
| author | 2021-01-26 11:51:04 +0200 | |
|---|---|---|
| committer | 2021-03-16 16:48:41 -0700 | |
| commit | c276aae8c19d65e21a43c2690c7c7dafea0e97fa (patch) | |
| tree | 856a88e2ff502eee48718eff0d9eb608e5935c93 /include/linux | |
| parent | net/mlx5e: Register nic devlink port with switch id (diff) | |
| download | linux-dev-c276aae8c19d65e21a43c2690c7c7dafea0e97fa.tar.xz linux-dev-c276aae8c19d65e21a43c2690c7c7dafea0e97fa.zip | |
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')
| -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 { |
