summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoi Dayan <roid@nvidia.com>2021-01-26 11:51:04 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-16 16:48:41 -0700
commitc276aae8c19d65e21a43c2690c7c7dafea0e97fa (patch)
tree856a88e2ff502eee48718eff0d9eb608e5935c93 /include
parent5a65d85dc7f4532755750aab645c46a47219fd1a (diff)
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')
-rw-r--r--include/linux/mlx5/driver.h10
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 {