Commit b53ff37f authored by Gal Pressman's avatar Gal Pressman Committed by Saeed Mahameed

net/mlx5: Remove unused structs

Remove structs which are no longer used in the driver:
  mlx5dr_cmd_qp_create_attr
  mlx5_fs_dr_ns
  mlx5_pas
Signed-off-by: default avatarGal Pressman <gal@nvidia.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 66af4fe3
...@@ -1294,20 +1294,6 @@ struct mlx5dr_cmd_gid_attr { ...@@ -1294,20 +1294,6 @@ struct mlx5dr_cmd_gid_attr {
u32 roce_ver; u32 roce_ver;
}; };
struct mlx5dr_cmd_qp_create_attr {
u32 page_id;
u32 pdn;
u32 cqn;
u32 pm_state;
u32 service_type;
u32 buff_umem_id;
u32 db_umem_id;
u32 sq_wqe_cnt;
u32 rq_wqe_cnt;
u32 rq_wqe_shift;
u8 isolate_vl_tc:1;
};
int mlx5dr_cmd_query_gid(struct mlx5_core_dev *mdev, u8 vhca_port_num, int mlx5dr_cmd_query_gid(struct mlx5_core_dev *mdev, u8 vhca_port_num,
u16 index, struct mlx5dr_cmd_gid_attr *attr); u16 index, struct mlx5dr_cmd_gid_attr *attr);
......
...@@ -14,10 +14,6 @@ struct mlx5_fs_dr_action { ...@@ -14,10 +14,6 @@ struct mlx5_fs_dr_action {
struct mlx5dr_action *dr_action; struct mlx5dr_action *dr_action;
}; };
struct mlx5_fs_dr_ns {
struct mlx5_dr_ns *dr_ns;
};
struct mlx5_fs_dr_rule { struct mlx5_fs_dr_rule {
struct mlx5dr_rule *dr_rule; struct mlx5dr_rule *dr_rule;
/* Only actions created by fs_dr */ /* Only actions created by fs_dr */
......
...@@ -857,11 +857,6 @@ struct mlx5_cmd_work_ent { ...@@ -857,11 +857,6 @@ struct mlx5_cmd_work_ent {
refcount_t refcnt; refcount_t refcnt;
}; };
struct mlx5_pas {
u64 pa;
u8 log_sz;
};
enum phy_port_state { enum phy_port_state {
MLX5_AAA_111 MLX5_AAA_111
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment