1# SPDX-License-Identifier: GPL-2.0-only
2obj-$(CONFIG_MLX5_INFINIBAND) += mlx5_ib.o
3
4mlx5_ib-y := ah.o \
5	     cmd.o \
6	     cong.o \
7	     counters.o \
8	     cq.o \
9	     data_direct.o \
10	     dm.o \
11	     doorbell.o \
12	     gsi.o \
13	     ib_virt.o \
14	     mad.o \
15	     main.o \
16	     mem.o \
17	     mr.o \
18	     qp.o \
19	     qpc.o \
20	     restrack.o \
21	     srq.o \
22	     srq_cmd.o \
23	     umr.o \
24	     wr.o
25
26mlx5_ib-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += odp.o
27mlx5_ib-$(CONFIG_MLX5_ESWITCH) += ib_rep.o
28mlx5_ib-$(CONFIG_INFINIBAND_USER_ACCESS) += devx.o \
29					    fs.o \
30					    qos.o \
31					    std_types.o
32mlx5_ib-$(CONFIG_MLX5_MACSEC) += macsec.o
33