Skip to content

Commit 614d509

Browse files
amitcohen1davem330
authored andcommitted
mlxsw: Move ethtool_ops to spectrum_ethtool.c
Add spectrum_ethtool.c file for ethtool code. Move ethtool_ops and the relevant code from spectrum.c to spectrum_ethtool.c. Signed-off-by: Amit Cohen <amitc@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a2af44b commit 614d509

File tree

4 files changed

+892
-875
lines changed

4 files changed

+892
-875
lines changed

drivers/net/ethernet/mellanox/mlxsw/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ mlxsw_spectrum-objs := spectrum.o spectrum_buffers.o \
3030
spectrum_mr_tcam.o spectrum_mr.o \
3131
spectrum_qdisc.o spectrum_span.o \
3232
spectrum_nve.o spectrum_nve_vxlan.o \
33-
spectrum_dpipe.o spectrum_trap.o
33+
spectrum_dpipe.o spectrum_trap.o \
34+
spectrum_ethtool.o
3435
mlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB) += spectrum_dcb.o
3536
mlxsw_spectrum-$(CONFIG_PTP_1588_CLOCK) += spectrum_ptp.o
3637
obj-$(CONFIG_MLXSW_MINIMAL) += mlxsw_minimal.o

0 commit comments

Comments
 (0)