Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / net / ethernet / mellanox / mlx5 / core / Makefile
blobc805769d92a9e8f26663b0c0c4f2623ebcc1208e
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_MLX5_CORE) += mlx5_core.o
3 subdir-ccflags-y += -I$(src)
5 mlx5_core-y := main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
6 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
7 mad.o transobj.o vport.o sriov.o fs_cmd.o fs_core.o \
8 fs_counters.o rl.o lag.o dev.o wq.o lib/gid.o lib/clock.o \
9 diag/fs_tracepoint.o
11 mlx5_core-$(CONFIG_MLX5_ACCEL) += accel/ipsec.o
13 mlx5_core-$(CONFIG_MLX5_FPGA) += fpga/cmd.o fpga/core.o fpga/conn.o fpga/sdk.o \
14 fpga/ipsec.o
16 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en_main.o en_common.o en_fs.o en_ethtool.o \
17 en_tx.o en_rx.o en_dim.o en_txrx.o en_stats.o vxlan.o \
18 en_arfs.o en_fs_ethtool.o en_selftest.o
20 mlx5_core-$(CONFIG_MLX5_MPFS) += lib/mpfs.o
22 mlx5_core-$(CONFIG_MLX5_ESWITCH) += eswitch.o eswitch_offloads.o en_rep.o en_tc.o
24 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) += en_dcbnl.o
26 mlx5_core-$(CONFIG_MLX5_CORE_IPOIB) += ipoib/ipoib.o ipoib/ethtool.o ipoib/ipoib_vlan.o
28 mlx5_core-$(CONFIG_MLX5_EN_IPSEC) += en_accel/ipsec.o en_accel/ipsec_rxtx.o \
29 en_accel/ipsec_stats.o
31 CFLAGS_tracepoint.o := -I$(src)