x86/speculation: Fix redundant MDS mitigation message
[linux-2.6-block.git] / drivers / net / ethernet / mellanox / mlx5 / core / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for Mellanox 5th generation network adapters
4 # (ConnectX series) core & netdev driver
5 #
6
7 subdir-ccflags-y += -I$(src)
8
9 obj-$(CONFIG_MLX5_CORE) += mlx5_core.o
10
11 #
12 # mlx5 core basic
13 #
14 mlx5_core-y :=  main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
15                 health.o mcg.o cq.o alloc.o qp.o port.o mr.o pd.o \
16                 transobj.o vport.o sriov.o fs_cmd.o fs_core.o pci_irq.o \
17                 fs_counters.o rl.o lag.o dev.o events.o wq.o lib/gid.o \
18                 lib/devcom.o lib/pci_vsc.o lib/dm.o diag/fs_tracepoint.o \
19                 diag/fw_tracer.o diag/crdump.o devlink.o
20
21 #
22 # Netdev basic
23 #
24 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en_main.o en_common.o en_fs.o en_ethtool.o \
25                 en_tx.o en_rx.o en_dim.o en_txrx.o en/xdp.o en_stats.o \
26                 en_selftest.o en/port.o en/monitor_stats.o en/health.o \
27                 en/reporter_tx.o en/reporter_rx.o en/params.o en/xsk/umem.o \
28                 en/xsk/setup.o en/xsk/rx.o en/xsk/tx.o
29
30 #
31 # Netdev extra
32 #
33 mlx5_core-$(CONFIG_MLX5_EN_ARFS)     += en_arfs.o
34 mlx5_core-$(CONFIG_MLX5_EN_RXNFC)    += en_fs_ethtool.o
35 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) += en_dcbnl.o en/port_buffer.o
36 mlx5_core-$(CONFIG_MLX5_ESWITCH)     += en_rep.o en_tc.o en/tc_tun.o lib/port_tun.o lag_mp.o \
37                                         lib/geneve.o en/tc_tun_vxlan.o en/tc_tun_gre.o \
38                                         en/tc_tun_geneve.o diag/en_tc_tracepoint.o
39 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += en/hv_vhca_stats.o
40
41 #
42 # Core extra
43 #
44 mlx5_core-$(CONFIG_MLX5_ESWITCH)   += eswitch.o eswitch_offloads.o eswitch_offloads_termtbl.o \
45                                       ecpf.o rdma.o
46 mlx5_core-$(CONFIG_MLX5_MPFS)      += lib/mpfs.o
47 mlx5_core-$(CONFIG_VXLAN)          += lib/vxlan.o
48 mlx5_core-$(CONFIG_PTP_1588_CLOCK) += lib/clock.o
49 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += lib/hv.o lib/hv_vhca.o
50
51 #
52 # Ipoib netdev
53 #
54 mlx5_core-$(CONFIG_MLX5_CORE_IPOIB) += ipoib/ipoib.o ipoib/ethtool.o ipoib/ipoib_vlan.o
55
56 #
57 # Accelerations & FPGA
58 #
59 mlx5_core-$(CONFIG_MLX5_FPGA_IPSEC) += fpga/ipsec.o
60 mlx5_core-$(CONFIG_MLX5_FPGA_TLS)   += fpga/tls.o
61 mlx5_core-$(CONFIG_MLX5_ACCEL)      += lib/crypto.o accel/tls.o accel/ipsec.o
62
63 mlx5_core-$(CONFIG_MLX5_FPGA) += fpga/cmd.o fpga/core.o fpga/conn.o fpga/sdk.o
64
65 mlx5_core-$(CONFIG_MLX5_EN_IPSEC) += en_accel/ipsec.o en_accel/ipsec_rxtx.o \
66                                      en_accel/ipsec_stats.o
67
68 mlx5_core-$(CONFIG_MLX5_EN_TLS) += en_accel/tls.o en_accel/tls_rxtx.o en_accel/tls_stats.o \
69                                    en_accel/ktls.o en_accel/ktls_tx.o
70
71 mlx5_core-$(CONFIG_MLX5_SW_STEERING) += steering/dr_domain.o steering/dr_table.o \
72                                         steering/dr_matcher.o steering/dr_rule.o \
73                                         steering/dr_icm_pool.o steering/dr_crc32.o \
74                                         steering/dr_ste.o steering/dr_send.o \
75                                         steering/dr_cmd.o steering/dr_fw.o \
76                                         steering/dr_action.o steering/fs_dr.o