Skip to content

Commit d29d58e

Browse files
gal-pressmanjgunthorpe
authored andcommitted
RDMA/mlx5: Remove FMR leftovers
Remove a few leftovers from FMR functionality which are no longer used. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Max Gurtovoy <[email protected]> Acked-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 4e373d5 commit d29d58e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/infiniband/hw/mlx5/mlx5_ib.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -675,12 +675,6 @@ struct umr_common {
675675
struct semaphore sem;
676676
};
677677

678-
enum {
679-
MLX5_FMR_INVALID,
680-
MLX5_FMR_VALID,
681-
MLX5_FMR_BUSY,
682-
};
683-
684678
struct mlx5_cache_ent {
685679
struct list_head head;
686680
/* sync access to the cahce entry
@@ -1253,8 +1247,6 @@ int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u8 port,
12531247
struct ib_port_attr *props);
12541248
int mlx5_ib_query_port(struct ib_device *ibdev, u8 port,
12551249
struct ib_port_attr *props);
1256-
int mlx5_ib_init_fmr(struct mlx5_ib_dev *dev);
1257-
void mlx5_ib_cleanup_fmr(struct mlx5_ib_dev *dev);
12581250
void mlx5_ib_cont_pages(struct ib_umem *umem, u64 addr,
12591251
unsigned long max_page_shift,
12601252
int *count, int *shift,

0 commit comments

Comments
 (0)