]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net/mlx5: File renaming towards ptp core implementation
authorFeras Daoud <ferasda@mellanox.com>
Mon, 14 Aug 2017 08:23:27 +0000 (11:23 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 14 Oct 2017 18:22:05 +0000 (11:22 -0700)
en_clock.c renamed clock.c and moved to lib/ as first step
towards relocating code to core part of the driver to allow
sharing between Ethernet and Infiniband.

Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Eitan Rabin <rabin@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c [moved from drivers/net/ethernet/mellanox/mlx5/core/en_clock.c with 100% similarity]

index fdaef00465d77818bb1fe74786c404ef360686d7..25deaa5a534c72b38272dc9fefade1ddf74afa5f 100644 (file)
@@ -6,6 +6,7 @@ config MLX5_CORE
        tristate "Mellanox Technologies ConnectX-4 and Connect-IB core driver"
        depends on MAY_USE_DEVLINK
        depends on PCI
+       imply PTP_1588_CLOCK
        default n
        ---help---
          Core driver for low level functionality of the ConnectX-4 and
@@ -29,7 +30,6 @@ config MLX5_CORE_EN
        bool "Mellanox Technologies ConnectX-4 Ethernet support"
        depends on NETDEVICES && ETHERNET && INET && PCI && MLX5_CORE
        depends on IPV6=y || IPV6=n || MLX5_CORE=m
-       imply PTP_1588_CLOCK
        default n
        ---help---
          Ethernet support in Mellanox Technologies ConnectX-4 NIC.
index 87a3099808f3d4ebc5d684e847359d1827379e25..d9621b2152d3f792350a3e29d10466483f5530d4 100644 (file)
@@ -4,7 +4,7 @@ subdir-ccflags-y += -I$(src)
 mlx5_core-y := main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
                health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
                mad.o transobj.o vport.o sriov.o fs_cmd.o fs_core.o \
-               fs_counters.o rl.o lag.o dev.o wq.o lib/gid.o \
+               fs_counters.o rl.o lag.o dev.o wq.o lib/gid.o lib/clock.o \
                diag/fs_tracepoint.o
 
 mlx5_core-$(CONFIG_MLX5_ACCEL) += accel/ipsec.o
@@ -13,7 +13,7 @@ mlx5_core-$(CONFIG_MLX5_FPGA) += fpga/cmd.o fpga/core.o fpga/conn.o fpga/sdk.o \
                fpga/ipsec.o
 
 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en_main.o en_common.o en_fs.o en_ethtool.o \
-               en_tx.o en_rx.o en_rx_am.o en_txrx.o en_clock.o vxlan.o \
+               en_tx.o en_rx.o en_rx_am.o en_txrx.o vxlan.o \
                en_arfs.o en_fs_ethtool.o en_selftest.o
 
 mlx5_core-$(CONFIG_MLX5_MPFS) += lib/mpfs.o